diff --git a/srcpkgs/libktorrent/template b/srcpkgs/libktorrent/template index 4bfa0e7a673..b72b5b90a6f 100644 --- a/srcpkgs/libktorrent/template +++ b/srcpkgs/libktorrent/template @@ -1,22 +1,26 @@ # Template file for 'libktorrent' pkgname=libktorrent -version=2.2.0 +version=20.12.1 revision=1 build_style=cmake -hostmakedepends="extra-cmake-modules gettext qt5-host-tools qt5-qmake python doxygen" +hostmakedepends="extra-cmake-modules gettext qt5-host-tools qt5-qmake python3 doxygen" 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="https://github.com/KDE/libktorrent/archive/v${version}.tar.gz" -checksum=c6f684611f1af6805b7e8caf022288cf6751df6da05ba261013435846b5de006 +homepage="https://apps.kde.org/en/ktorrent" +distfiles="${KDE_SITE}/release-service/${version}/src/libktorrent-${version}.tar.xz" +checksum=bbaa68598993cf83e21d036b53b901efa190ea5e49b394ccc23f3e62c0caaca2 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" kcoreaddons" fi +pre_check() { + export QT_QPA_PLATFORM=offscreen +} + libktorrent-devel_package() { depends="${sourcepkg}-${version}_${revision} gmp-devel" pkg_install() {