changed tqtinterface prefix from /opt/trinity to /usr like adviced in the wiki

this shoud enable compilation of trinity components yet not ported to cmake.
pull/3/head
Pawel "l0ner" Soltys 13 years ago
parent 44aba28c09
commit 2d01b49e35

@ -28,7 +28,7 @@ source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/tq
md5sums=('d54cc9fd0b35555298efd17c32471a2b') md5sums=('d54cc9fd0b35555298efd17c32471a2b')
_qtdir=/opt/qt _qtdir=/opt/qt
_prefix=/opt/trinity _prefix=/usr
build() { build() {

@ -1,5 +1,5 @@
# $Id$ # $Id$
# Maintainer: David C. Rankin <drankinatty@gmail.com> # Maintainer: Calvin Morrison <mutantturkey@gmail.com>
# #
# All modifications and uses of this file are licensed under # All modifications and uses of this file are licensed under
# the software for which this file was made for, should the software # the software for which this file was made for, should the software
@ -12,12 +12,12 @@ pkgname=trinity-konversation
pkgver=3513 pkgver=3513
pkgrel=1 pkgrel=1
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url='http://www.kde.org' url='http://www.trinitydesktop.org'
license=('GPL') license=('GPL')
groups=('trinity') groups=('trinity')
pkgdesc="Trinity - Konversation IRC client" pkgdesc="Trinity - Konversation IRC client"
depends=('trinity-kdebase') depends=('trinity-kdelibs' 'trinity-qt3' 'trinity-tqtinterface')
makedepends=('pkgconfig' 'cmake' 'imake') makedepends=('pkgconfig' 'autoconf' 'automake')
options=('libtool' '!strip') options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/konversation-3.5.13.tar.gz) source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/konversation-3.5.13.tar.gz)
md5sums=('0f0e0415dad4c19bc885c9addadf4026') md5sums=('0f0e0415dad4c19bc885c9addadf4026')
@ -30,6 +30,9 @@ build() {
export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=:/opt/trinity/lib/pkgconfig:/opt/qt/lib/pkgconfig export PKG_CONFIG_PATH=:/opt/trinity/lib/pkgconfig:/opt/qt/lib/pkgconfig
export CFLAGS=-I/opt/triniy/include/tqt
export CXXFLAGS=-I/opt/trinity/include/tqt
trinity_prefix="/opt/trinity" trinity_prefix="/opt/trinity"
msg "Starting cmake..." msg "Starting cmake..."

@ -23,9 +23,15 @@ build() {
export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include
export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
export CFLAGS=-I/opt/trinity/include/tqt
export CXXFLAGS=-I/opt/trinity/include/tqt
trinity_prefix="/opt/trinity" trinity_prefix="/opt/trinity"
cd $srcdir/${_svnmod}
make -f admin/Makefile.common
cd $srcdir cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build" msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p build mkdir -p build

Loading…
Cancel
Save