mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
ktorrent: update to 20.12.1.
This commit is contained in:
parent
3bd8f6ae80
commit
d6b9b7400e
2 changed files with 15 additions and 4 deletions
2
srcpkgs/ktorrent/files/README.voidlinux
Normal file
2
srcpkgs/ktorrent/files/README.voidlinux
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
ktorrent needs geoip data in the legacy format to show some information.
|
||||||
|
The data can be fetched with the geoipupdate utility.
|
|
@ -1,20 +1,21 @@
|
||||||
# Template file for 'ktorrent'
|
# Template file for 'ktorrent'
|
||||||
pkgname=ktorrent
|
pkgname=ktorrent
|
||||||
version=5.2.0
|
version=20.12.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
configure_args="-DWITH_SYSTEM_GEOIP=ON"
|
||||||
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake gettext"
|
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake gettext"
|
||||||
makedepends="qt5-devel qt5-script-devel ki18n-devel kio-devel kxmlgui-devel
|
makedepends="qt5-devel qt5-script-devel ki18n-devel kio-devel kxmlgui-devel
|
||||||
knotifications-devel ksolid-devel kconfig-devel kcoreaddons-devel kdoctools-devel
|
knotifications-devel ksolid-devel kconfig-devel kcoreaddons-devel kdoctools-devel
|
||||||
kross-devel kcmutils-devel sonnet-devel kdbusaddons-devel kcrash-devel
|
kross-devel kcmutils-devel sonnet-devel kdbusaddons-devel kcrash-devel
|
||||||
karchive-devel knotifyconfig-devel libktorrent-devel kplotting-devel
|
karchive-devel knotifyconfig-devel libktorrent-devel kplotting-devel
|
||||||
gmp-devel taglib-devel kdnssd-devel kdewebkit-devel"
|
gmp-devel taglib-devel kdnssd-devel kdewebkit-devel geoip-devel syndication-devel"
|
||||||
short_desc="BitTorrent client based on the KDE platform"
|
short_desc="BitTorrent client based on the KDE platform"
|
||||||
maintainer="Norbert Vegh <vegh@norvegh.com>"
|
maintainer="Norbert Vegh <vegh@norvegh.com>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://www.kde.org/applications/internet/ktorrent"
|
homepage="https://www.kde.org/applications/internet/ktorrent"
|
||||||
distfiles="${KDE_SITE}/ktorrent/${version}/ktorrent-${version}.tar.xz"
|
distfiles="${KDE_SITE}/release-service/${version}/src/ktorrent-${version}.tar.xz"
|
||||||
checksum=d1031d745c1ace02d11b59c426610aee779d208e3d1ae81f8559c265173732ff
|
checksum=8c5f52d9b4597c117c0ed189c2ada3b9716bc0d5ceb53fde66f6a009bee68354
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
||||||
|
@ -25,3 +26,11 @@ pre_configure() {
|
||||||
# The ECM FindTaglib.cmake gives different variable names
|
# The ECM FindTaglib.cmake gives different variable names
|
||||||
grep -rl TAGLIB_ | xargs -n1 sed -i -e "s;TAGLIB_;Taglib_;g"
|
grep -rl TAGLIB_ | xargs -n1 sed -i -e "s;TAGLIB_;Taglib_;g"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre_check() {
|
||||||
|
export QT_QPA_PLATFORM=offscreen
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vdoc "${FILESDIR}/README.voidlinux"
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue