From 6895aaef8c871c1601b03ffebd7e20ae633d3b58 Mon Sep 17 00:00:00 2001 From: "Pawel \"l0ner\" Soltys" Date: Sun, 29 Jan 2012 12:21:08 +0100 Subject: tqtinterface: changed installation prefix - cleaned up - added patch for tqt.pc installation location (needed later for compiling things with autotools) - changed $QTDIR to $QT3DIR --- .../trinity-base/trinity-tqtinterface/PKGBUILD | 39 +++++++++------------- 1 file changed, 15 insertions(+), 24 deletions(-) (limited to 'arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD') diff --git a/arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD b/arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD index 2785c567e..5f11fd233 100644 --- a/arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD +++ b/arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD @@ -10,21 +10,15 @@ license=('GPL2') groups=('trinity-base') pkgdesc="Trinity - TQt interface" depends=('trinity-qt3') - # python2-sip - # trinity-pyqt3 makedepends=('pkgconfig' 'cmake') - # libxi - # libxft - # libxrandr - # libxcursor - # libxinerama - # mesa conflicts=('kdemod3-tqtinterface') makeopts=('libtool' '!emptydirs') -source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/dependencies/tqtinterface-3.5.13.tar.gz) -md5sums=('d54cc9fd0b35555298efd17c32471a2b') +source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/dependencies/tqtinterface-3.5.13.tar.gz' + 'tqtpc-location.patch') +md5sums=('d54cc9fd0b35555298efd17c32471a2b' + 'c15745c944d98cb7c4cb553f0ca421d4') -_prefix=/usr +_prefix=/opt/qt build() { msg "Setting PATH, CMAKE and Trinity Environment variables" @@ -38,28 +32,25 @@ build() { msg "Starting cmake..." cmake "../dependencies/tqtinterface" \ -DCMAKE_INSTALL_PREFIX=${_prefix} \ - -DQT_PREFIX_DIR=${QTDIR} \ - -DQT_INCLUDE_DIR=${QTDIR}/include \ + -DQT_PREFIX_DIR=${QT3DIR} \ + -DQT_INCLUDE_DIR=${QT3DIR}/include \ -DQT_VERSION=3 \ - -DMOC_EXECUTABLE=${QTDIR}/bin/moc || return 1 - # -DQT_INCLUDE_DIR=${_prefix}/include/tqt/Qt - # -DQT_LIBRARY_DIRS=/opt/qt/lib \ - # -DWITH_QT3=ON \ - # -DQT_LIBRARY_DIRS=/opt/qt/lib \ - # -DCMAKE_SKIP_RPATH=ON || return 1 + -DMOC_EXECUTABLE=${QT3DIR}/bin/moc +# -DQT_INCLUDE_DIR=${_prefix}/include/tqt/Qt +# -DQT_LIBRARY_DIRS=/opt/qt/lib \ +# -DQT_LIBRARY_DIRS=/opt/qt/lib \ +# -DCMAKE_SKIP_RPATH=ON || return 1 make } package() { msg "Packaging - $pkgname-$pkgver" - # cd ${_svnmod} cd ${srcdir}/build make DESTDIR="${pkgdir}" install # include uic-tqt in package - # cd ${srcdir} - # mkdir -p ${pkgdir}/usr/bin - # cp -Rp ${srcdir}/${_svnmod}/qtinterface/uic-tqt ${pkgdir}/usr/bin +# cd ${srcdir} +# mkdir -p ${pkgdir}/usr/bin +# cp -Rp ${srcdir}/${_svnmod}/qtinterface/uic-tqt ${pkgdir}/usr/bin - # rm -r ${srcdir}/${_svnmod} } -- cgit v1.2.1