|
|
@ -1,6 +1,6 @@
|
|
|
|
# Maintainer: Calvin Morrison <MutantTurkey@gmail.com>
|
|
|
|
# Maintainer: Calvin Morrison <MutantTurkey@gmail.com>
|
|
|
|
pkgname=trinity-qt3
|
|
|
|
pkgname=trinity-qt3
|
|
|
|
pkgver=20110907
|
|
|
|
pkgver=20110918
|
|
|
|
pkgrel=1
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="The Qt3 gui toolkit - with Trinity upstream"
|
|
|
|
pkgdesc="The Qt3 gui toolkit - with Trinity upstream"
|
|
|
|
_prefix="/opt/qt"
|
|
|
|
_prefix="/opt/qt"
|
|
|
@ -44,47 +44,22 @@ build() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# remove unwanted mkspecs
|
|
|
|
|
|
|
|
rm -rf mkspecs/{*aix*,*bsd*,cygwin*,dgux*,darwin*,hpux*,hurd*,irix*,lynxos*,macx*,qnx*,reliant*,sco*,solaris*,tru64*,unixware*,win32*}
|
|
|
|
rm -rf mkspecs/{*aix*,*bsd*,cygwin*,dgux*,darwin*,hpux*,hurd*,irix*,lynxos*,macx*,qnx*,reliant*,sco*,solaris*,tru64*,unixware*,win32*}
|
|
|
|
|
|
|
|
|
|
|
|
# set arch if x86_64 build
|
|
|
|
|
|
|
|
if [ "$CARCH" = "x86_64" ]; then
|
|
|
|
|
|
|
|
export ARCH="-64"
|
|
|
|
|
|
|
|
else unset ARCH
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ./configure -prefix /opt/qt -platform linux-g++$ARCH \
|
|
|
|
|
|
|
|
# -system-zlib -qt-gif -release -shared -sm -nis -thread -stl \
|
|
|
|
|
|
|
|
# -system-lib{png,jpeg,mng} \
|
|
|
|
|
|
|
|
# -no-g++-exceptions -plugin-sql-{mysql,psql,sqlite,odbc}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
msg "Starting configure..."
|
|
|
|
msg "Starting configure..."
|
|
|
|
./configure -prefix ${_prefix} \
|
|
|
|
#make -C qmake || return 1
|
|
|
|
-sysconfdir /etc/qt \
|
|
|
|
./configure -thread -fast
|
|
|
|
-qt-gif \
|
|
|
|
|
|
|
|
-system-zlib \
|
|
|
|
|
|
|
|
-system-libjpeg \
|
|
|
|
|
|
|
|
-plugin-imgfmt-jpeg \
|
|
|
|
|
|
|
|
-system-libmng \
|
|
|
|
|
|
|
|
-plugin-imgfmt-mng \
|
|
|
|
|
|
|
|
-system-libpng \
|
|
|
|
|
|
|
|
-plugin-imgfmt-png \
|
|
|
|
|
|
|
|
-plugin-sql-mysql \
|
|
|
|
|
|
|
|
-plugin-sql-psql \
|
|
|
|
|
|
|
|
-plugin-sql-sqlite \
|
|
|
|
|
|
|
|
-no-exceptions \
|
|
|
|
|
|
|
|
-thread \
|
|
|
|
|
|
|
|
-no-tablet
|
|
|
|
|
|
|
|
#-platform linux-g++
|
|
|
|
|
|
|
|
make -C qmake || return 1
|
|
|
|
|
|
|
|
make
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
package() {
|
|
|
|
|
|
|
|
|
|
|
|
echo $PWD
|
|
|
|
echo $PWD
|
|
|
|
echo "woooot!"
|
|
|
|
echo $pkgdir
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
mkdir "$pkgdir/lib"
|
|
|
|
|
|
|
|
cd "$srcdir/$_gitname"
|
|
|
|
|
|
|
|
make INSTALL_ROOT="$pkgdir/lib/" install
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|