summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD
diff options
context:
space:
mode:
authorPawel 'l0ner' Soltys <[email protected]>2012-01-24 17:44:23 +0100
committerPawel 'l0ner' Soltys <[email protected]>2012-01-24 17:44:23 +0100
commit28ef316f8509f9bb39d0ed3856735dc7afc6a027 (patch)
tree31313f70b4bd4c54aa917275a5765dafb73fe0ec /arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD
parent393c008732b3ce6e0b1c228017efc9c193fdb0e5 (diff)
downloadtde-packaging-28ef316f8509f9bb39d0ed3856735dc7afc6a027.tar.gz
tde-packaging-28ef316f8509f9bb39d0ed3856735dc7afc6a027.zip
kdenetwork: fixed FTBFS on missing tqname.{h,cc}, removed useless stuff, changed maintainer
Diffstat (limited to 'arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD')
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD21
1 files changed, 10 insertions, 11 deletions
diff --git a/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD
index d7265d8d9..82d8bebab 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD
@@ -1,5 +1,5 @@
-# Maintainer: Calvin Morrison <[email protected]>
-# PKGBUILD by Pawel "l0ner" Soltys <[email protected]>
+# Maintainer: Pawel 'l0ner' Soltys <[email protected]>
+# Contributor: Calvin Morrison <[email protected]>
pkgname=trinity-kdenetwork
pkgver=3513
@@ -11,7 +11,7 @@ groups=('trinity-extras')
pkgdesc="Trinity network utilities"
depends=('trinity-kdebase'
'trinity-arts'
- 'speex'
+ 'speex' 'wireless_tools'
'gsmlib-git'
'libgadu'
'meanwhile'
@@ -21,11 +21,8 @@ depends=('trinity-kdebase'
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdenetwork-3.5.13.tar.gz' 'kdenetwork.patch')
-source=('http://anduin.linuxfromscratch.org/sources/trinity/kdenetwork-3.5.13.tar.gz' 'kdenetwork.patch')
md5sums=('349f197c9af4bf0d9b8773f26829415e'
- '8abe1847df7b7449027719238a27e359')
-
-_svnmod=kdenetwork
+ 'ee468902b7c40ac1cc86cbaababa35dc')
build() {
msg "Setting PATH, CMAKE and Trinity Environment variables"
@@ -34,9 +31,11 @@ build() {
export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
- trinity_prefix="/opt/trinity"
+ _prefix="/opt/trinity"
- patch -N -d ${srcdir} -p0 < kdenetwork.patch
+ patch -p0 -i ${srcdir}/kdenetwork.patch
+ mv ${srcdir}/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/qname.cc ${srcdir}/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/tqname.cc
+ mv ${srcdir}/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/qname.h ${srcdir}/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/tqname.h
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
@@ -44,8 +43,8 @@ build() {
cd build
msg "Starting cmake..."
- cmake ${srcdir}/${_svnmod} \
- -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
+ cmake ${srcdir}/kdenetwork \
+ -DCMAKE_INSTALL_PREFIX=${_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_JINGLE=ON \
-DWITH_SPEEX=ON \