libktorrent: update to 20.12.1.

This commit is contained in:
mobinmob 2021-01-22 22:31:33 +02:00 committed by Piotr
parent 2c812ece5e
commit 3bd8f6ae80
1 changed files with 9 additions and 5 deletions

View File

@ -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 <orphan@voidlinux.org>"
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() {