[arch-commits] Commit in ktorrent/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Wed Oct 28 09:42:55 UTC 2009
Date: Wednesday, October 28, 2009 @ 05:42:54
Author: andrea
Revision: 56835
undo
Modified:
ktorrent/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-10-28 09:41:29 UTC (rev 56834)
+++ PKGBUILD 2009-10-28 09:42:54 UTC (rev 56835)
@@ -4,30 +4,34 @@
# Contributor: Georg Grabler <ggrabler at gmail.com>
pkgname=ktorrent
-pkgver=3.2.5
+pkgver=3.2.4
pkgrel=1
pkgdesc="A BitTorrent program for KDE"
arch=('i686' 'x86_64')
url="http://ktorrent.org"
license=('GPL2')
-depends=('kdelibs>4' 'gmp' 'qca' 'libxft' 'kdebase-runtime' 'taglib')
+depends=('kdelibs>4' 'gmp' 'qca' 'libxft' 'kdebase-runtime' 'taglib' 'hicolor-icon-theme')
# 'kdebase-runtime' is needed for some of the icons in the interface to show
makedepends=('autoconf' 'perl' 'automoc4' 'cmake' 'kdepimlibs' 'kdebase-workspace')
# 'kdebase-workspace' is needed to enable plasmoid building
-source=(http://ktorrent.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
+source=(http://ktorrent.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.bz2 \
+ httpserver.patch)
install=ktorrent.install
options=('libtool')
-md5sums=('0b0c3ebd2e0125ef65dbf67a584d1295')
+md5sums=('e3c595c9ac667985764058902a1489ea'
+ '1f25b94615b0bbfa0457c99fb20de3e6')
build() {
- cd ${srcdir}
- mkdir build
- cd build
- cmake ../${pkgname}-${pkgver} -DCMAKE_BUILD_TYPE=Release \
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ # build time patch
+ patch -Np0 -i ${srcdir}/httpserver.patch || return 1
+
+ cmake . -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
-DENABLE_MEDIAPLAYER_PLUGIN=false
make || return 1
- make DESTDIR=${pkgdir} install
+ make DESTDIR=${pkgdir} install
}
More information about the arch-commits
mailing list