git » ktorrent.git » commit 6be0d4a

Use system geoip (FS#62851)

author Antonio Rojas
2019-06-09 12:27:34 UTC
committer Antonio Rojas
2019-06-09 12:27:34 UTC
parent 0d734e841ab6ff2a3df287dcb2b8e5daa0279577

Use system geoip (FS#62851)

PKGBUILD +5 -4

diff --git a/PKGBUILD b/PKGBUILD
index 80328e0..b509bc5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,14 +4,14 @@
 
 pkgname=ktorrent
 pkgver=5.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A powerful BitTorrent client for KDE"
 arch=(x86_64)
 url='https://www.kde.org/applications/internet/ktorrent/'
 license=(GPL2)
 depends=(libktorrent kcmutils knotifyconfig kross)
-makedepends=(extra-cmake-modules kdoctools boost plasma-workspace kdnssd taglib syndication kplotting kdewebkit)
-optdepends=('plasma-workspace: shutdown plugin' 'kdnssd: zeroconf plugin' 'taglib: mediaplayer plugin'
+makedepends=(extra-cmake-modules kdoctools boost plasma-workspace kdnssd taglib syndication kplotting kdewebkit geoip)
+optdepends=('plasma-workspace: shutdown plugin' 'kdnssd: zeroconf plugin' 'taglib: mediaplayer plugin' 'geoip: info widget plugin'
             'syndication: syndication plugin' 'kdewebkit: search plugin, syndication plugin' 'kplotting: statistics plugin')
 source=("https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
 sha256sums=('b54149cf1dd3ed59cb7be54c326469a64e152f39f2d7db01de9fdd6b2ce3562a'
@@ -26,7 +26,8 @@ build() {
   cd build
   cmake ../$pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DWITH_SYSTEM_GEOIP=ON
   make
 }