diff options
author | Pawel "l0ner" Soltys <pwslts@gmail.com> | 2012-01-30 16:24:53 +0100 |
---|---|---|
committer | Pawel "l0ner" Soltys <pwslts@gmail.com> | 2012-01-30 16:24:53 +0100 |
commit | 6764ed9d5c4d9d4be8943d73638616f3f7e18c68 (patch) | |
tree | 1bc6734cc637386037af52ef0b7eec8ea9529af9 /arch | |
parent | c3b92ee9eff9a40545e3f1917432b6206297e9f0 (diff) | |
download | tde-packaging-6764ed9d5c4d9d4be8943d73638616f3f7e18c68.tar.gz tde-packaging-6764ed9d5c4d9d4be8943d73638616f3f7e18c68.zip |
kdelibs: minor fixups, added libutempter support, dropped _prefix in favor to TDEDIR
Diffstat (limited to 'arch')
-rw-r--r-- | arch/3.5.13/trinity-base/trinity-kdelibs/PKGBUILD | 37 |
1 files changed, 11 insertions, 26 deletions
diff --git a/arch/3.5.13/trinity-base/trinity-kdelibs/PKGBUILD b/arch/3.5.13/trinity-base/trinity-kdelibs/PKGBUILD index 605e4ac7e..aa3ba2e80 100644 --- a/arch/3.5.13/trinity-base/trinity-kdelibs/PKGBUILD +++ b/arch/3.5.13/trinity-base/trinity-kdelibs/PKGBUILD @@ -11,15 +11,9 @@ groups=('trinity-base') pkgdesc="Trinity DE core libraries" depends=('trinity-arts' 'libxslt' 'libidn' 'libart-lgpl' 'jasper' - 'libxcomposite' 'libcups' + 'libxcomposite' 'libcups' 'libutempter' 'openexr' 'aspell' 'hspell') - # taglib - # libical - # pam-krb5 - # libltdl - # avahi - # libtiff - # openssl + # taglib openssl libtiff avahi libltdl pam-krb5 libical # libutempter - needs to be installed from aur makedepends=('pkgconfig' 'cmake') provides=('kdelibs3') @@ -32,18 +26,17 @@ md5sums=('f62eefb63b4ba2141b4c576f859806dd' install='trinity-kdelibs.install' -_prefix="/opt/trinity" - build() { msg "Setting PATH, CMAKE and Trinity Environment variables" - . /etc/profile.d/qt3.sh - . /etc/profile.d/trinity.sh + # Source the QT and TDE profile + [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh + [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh # compiles without exporting this, since we have profiles - #export CMAKE_PREFIX_PATH=${QTDIR}:${_prefix} - #export PATH=$PATH:${_prefix}/bin - #export CMAKE_INCLUDE_PATH=/usr/include/dbus-1.0:${_prefix}/bin - #export LD_LIBRARY_PATH=${_prefix}/lib:${QTDIR}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH + #export CMAKE_PREFIX_PATH=${QTDIR}:${TDEDIR} + #export PATH=$PATH:${TDEDIR}/bin + #export CMAKE_INCLUDE_PATH=/usr/include/dbus-1.0:${TDEDIR}/bin + #export LD_LIBRARY_PATH=${TDEDIR}/lib:${QTDIR}/lib:${TDEDIR}/lib/trinity:$LD_LIBRARY_PATH msg "Patching..." patch -N -d ${srcdir} -p0 < ${srcdir}/docpath.patch @@ -55,7 +48,7 @@ build() { msg "Starting cmake..." cmake ${srcdir}/kdelibs \ - -DCMAKE_INSTALL_PREFIX=${_prefix} \ + -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ -DCMAKE_VERBOSE_MAKEFILE=OFF \ -DWITH_ARTS=ON \ -DWITH_ALSA=ON \ @@ -67,7 +60,7 @@ build() { -DWITH_TIFF=ON \ -DWITH_JASPER=ON \ -DWITH_OPENEXR=ON \ - -DWITH_UTEMPTER=OFF \ + -DWITH_UTEMPTER=ON \ -DWITH_AVAHI=ON \ -DWITH_ASPELL=ON \ -DWITH_HSPELL=ON @@ -81,12 +74,4 @@ package() { cd ${srcdir}/build make DESTDIR="$pkgdir" install - - # we do this in arts package - #install -d -m755 ${pkgdir}/etc/ld.so.conf.d/ - #echo "${_prefix}/lib" > ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf - - #install -d -m755 ${pkgdir}/etc/profile.d/ - #install -m644 ${srcdir}/trinity.sh ${pkgdir}/etc/profile.d/ - } |