|
|
|
# Maintainer: Calvin Morrison <MutantTurkey@gmail.com>
|
|
|
|
pkgname=trinity-qt3
|
|
|
|
pkgver=20110918
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="The Qt3 gui toolkit - with Trinity upstream"
|
|
|
|
_prefix="/opt/qt"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('GPL')
|
|
|
|
url="http://trinitydesktop.org"
|
|
|
|
# install=qt.install
|
|
|
|
groups=('trinity')
|
|
|
|
depends=('libjpeg-turbo' 'libmng' 'libmysqlclient' 'libpng' 'libxmu' 'libxcursor' 'libxinerama' 'libxft' 'libxrandr' 'mesa' 'postgresql-libs' 'unixodbc')
|
|
|
|
makedepends=('cups' 'libxi' 'mysql' 'postgresql' 'unixodbc' 'sqlite3')
|
|
|
|
optdepends=()
|
|
|
|
# optdepends=('libmysqlclient' 'postgresql-libs' 'unixodbc')
|
|
|
|
provides=('trinity-qt3' 'qt3')
|
|
|
|
conflicts=('qt3' 'qt3-enhanced')
|
|
|
|
replaces=('trinity-qt3')
|
|
|
|
_prefix="opt/qt3"
|
|
|
|
source=()
|
|
|
|
options=(!libtool)
|
|
|
|
|
|
|
|
|
|
|
|
_gitroot="http://scm.trinitydesktop.org/scm/git/tde"
|
|
|
|
_gitname="tde/main/dependencies/qt3"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir"
|
|
|
|
msg "Connecting to GIT server...."
|
|
|
|
|
|
|
|
if [ -d $_gitname ] ; then
|
|
|
|
cd $_gitname && git pull origin
|
|
|
|
msg "The local files are updated."
|
|
|
|
else
|
|
|
|
git clone $_gitroot
|
|
|
|
fi
|
|
|
|
|
|
|
|
msg "GIT checkout done or server timeout"
|
|
|
|
msg "Starting make..."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cd "$srcdir/$_gitname"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rm -rf mkspecs/{*aix*,*bsd*,cygwin*,dgux*,darwin*,hpux*,hurd*,irix*,lynxos*,macx*,qnx*,reliant*,sco*,solaris*,tru64*,unixware*,win32*}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
msg "Starting configure..."
|
|
|
|
#make -C qmake || return 1
|
|
|
|
./configure -thread -fast
|
|
|
|
make
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
echo $PWD
|
|
|
|
echo $pkgdir
|
|
|
|
mkdir "$pkgdir/lib"
|
|
|
|
cd "$srcdir/$_gitname"
|
|
|
|
make INSTALL_ROOT="$pkgdir/lib/" install
|
|
|
|
|
|
|
|
}
|