[arch-commits] Commit in ktorrent/trunk (PKGBUILD)

Ronald van Haren ronald at archlinux.org
Sun Aug 16 20:03:50 UTC 2009


    Date: Sunday, August 16, 2009 @ 16:03:50
  Author: ronald
Revision: 49892

upgpkg: ktorrent 3.2.3-1
    update to latest version, disable mediaplayer plugin

Modified:
  ktorrent/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-08-16 20:03:47 UTC (rev 49891)
+++ PKGBUILD	2009-08-16 20:03:50 UTC (rev 49892)
@@ -4,7 +4,7 @@
 # Contributor: Georg Grabler <ggrabler at gmail.com>
 
 pkgname=ktorrent
-pkgver=3.2.2.1
+pkgver=3.2.3
 pkgrel=1
 pkgdesc="A BitTorrent program for KDE"
 arch=('i686' 'x86_64')
@@ -14,15 +14,15 @@
 # '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/3.2.2/${pkgname}-3.2.2-1.tar.bz2 \
+source=(http://ktorrent.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.bz2 \
 	httpserver.patch)
-install=${pkgname}.install
+install=ktorrent.install
 options=('libtool')
-md5sums=('03750ee39d602c5093af6e0cc8ded819'
+md5sums=('5c65b9e30107b922f025650887e4dee7'
          '1f25b94615b0bbfa0457c99fb20de3e6')
 
 build() {
-	cd ${srcdir}/${pkgname}-3.2.2
+	cd ${srcdir}/${pkgname}-${pkgver}
 
 	# build time patch
 	patch -Np0 -i ${srcdir}/httpserver.patch || return 1
@@ -30,7 +30,8 @@
 	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'
+		-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
+		-DENABLE_MEDIAPLAYER_PLUGIN=false
 	make || return 1
 	make DESTDIR=${pkgdir} install 
 }




More information about the arch-commits mailing list