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

Antonio Rojas arojas at archlinux.org
Sat Oct 17 18:30:53 UTC 2020


    Date: Saturday, October 17, 2020 @ 18:30:53
  Author: arojas
Revision: 398535

Fix build (FS#68303)

Modified:
  ktorrent/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-17 18:17:16 UTC (rev 398534)
+++ PKGBUILD	2020-10-17 18:30:53 UTC (rev 398535)
@@ -13,11 +13,17 @@
 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/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig}
+         ktorrent-taglib-link.patch::"https://invent.kde.org/network/ktorrent/-/commit/f4c1c91d.patch")
 sha256sums=('d1031d745c1ace02d11b59c426610aee779d208e3d1ae81f8559c265173732ff'
-            'SKIP')
+            'SKIP'
+            '0a894fe4b7c929451c7947d00e767560a99e3d53f5d7d0ac20e5ae8347ee69ee')
 validpgpkeys=(1EE5A3205904BAA2B88C0A9D24FD31940095C0E1) # Andrius Štikonas <andrius at stikonas.eu>
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 -i ../ktorrent-taglib-link.patch # Fix linking to taglib
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DWITH_SYSTEM_GEOIP=ON



More information about the arch-commits mailing list