diff --git a/srcpkgs/libktorrent/template b/srcpkgs/libktorrent/template index 7fe6fcccc7a..42878247ecd 100644 --- a/srcpkgs/libktorrent/template +++ b/srcpkgs/libktorrent/template @@ -1,16 +1,21 @@ # Template file for 'libktorrent' pkgname=libktorrent -version=2.1 -revision=3 +version=2.1.1 +revision=1 build_style=cmake hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake python doxygen" -makedepends="qt5-devel karchive-devel ksolid-devel kio-devel ki18n-devel kcrash-devel gmp-devel qca-qt5-devel" -short_desc="A BitTorrent protocol implementation" +makedepends="qt5-devel karchive-devel ksolid-devel kio-devel ki18n-devel + kcrash-devel gmp-devel qca-qt5-devel" +short_desc="BitTorrent protocol implementation" maintainer="Orphaned " license="GPL-2.0-or-later" homepage="http://ktorrent.pwsp.net" -distfiles="${KDE_SITE}/ktorrent/5.1/${pkgname}-${version}.tar.xz" -checksum=3eefdcceec73410c558e82d7be22eb2ed18679e9ab64f34cc100b54e186fe26f +distfiles="https://github.com/KDE/libktorrent/archive/v${version}.tar.gz" +checksum=897d970d8e06c82dfb43757b23e3079731dbb74bca259c559e25b7d574dfece4 + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" kcoreaddons" +fi libktorrent-devel_package() { depends="${sourcepkg}-${version}_${revision} gmp-devel"