diff options
author | Pawel "l0ner" Soltys <pwslts@gmail.com> | 2012-01-29 12:21:08 +0100 |
---|---|---|
committer | Pawel "l0ner" Soltys <pwslts@gmail.com> | 2012-01-29 12:21:08 +0100 |
commit | 6895aaef8c871c1601b03ffebd7e20ae633d3b58 (patch) | |
tree | c5b04509d32a9f1f84053b7ef8c55143ccda1448 /arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD | |
parent | 28d54e82148c41c09fe4bf367f736f192e741a78 (diff) | |
download | tde-packaging-6895aaef8c871c1601b03ffebd7e20ae633d3b58.tar.gz tde-packaging-6895aaef8c871c1601b03ffebd7e20ae633d3b58.zip |
tqtinterface: changed installation prefix
- cleaned up
- added patch for tqt.pc installation location
(needed later for compiling things with autotools)
- changed $QTDIR to $QT3DIR
Diffstat (limited to 'arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD')
-rw-r--r-- | arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD | 39 |
1 files changed, 15 insertions, 24 deletions
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} } |