ktorrent: update to 24.02.2.

This commit is contained in:
Đoàn Trần Công Danh 2024-05-19 09:33:16 +07:00 committed by Đoàn Trần Công Danh
parent e3b78dd441
commit 37741645e1
1 changed files with 18 additions and 17 deletions

View File

@ -1,33 +1,34 @@
# Template file for 'ktorrent' # Template file for 'ktorrent'
pkgname=ktorrent pkgname=ktorrent
version=23.08.5 version=24.02.2
revision=1 revision=1
build_style=cmake build_style=cmake
configure_args="-DWITH_SYSTEM_GEOIP=ON" configure_args="-DWITH_SYSTEM_GEOIP=ON -DBUILD_TESTING=OFF
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake gettext" -DKF6_HOST_TOOLING=/usr/lib/cmake
makedepends="qt5-devel qt5-script-devel ki18n-devel kio-devel kxmlgui-devel -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
knotifications-devel ksolid-devel kconfig-devel kcoreaddons-devel kdoctools-devel -DKDE_INSTALL_QMLDIR=lib/qt6/qml
kross-devel kcmutils-devel sonnet-devel kdbusaddons-devel kcrash-devel -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
karchive-devel knotifyconfig-devel libktorrent-devel kplotting-devel hostmakedepends="extra-cmake-modules pkg-config qt6-base qt6-tools gettext
gmp-devel taglib-devel kdnssd-devel kdewebkit-devel geoip-devel syndication-devel" kf6-kdoctools kf6-kconfig kf6-kcoreaddons kf6-kcmutils"
makedepends="qt6-base-devel kf6-ki18n-devel kf6-kio-devel kf6-kxmlgui-devel
kf6-knotifications-devel kf6-solid-devel kf6-kconfig-devel kf6-kwidgetsaddons-devel
kf6-kcoreaddons-devel kf6-kdoctools-devel kf6-kcmutils-devel kf6-karchive-devel
kf6-kdbusaddons-devel kf6-kcrash-devel kf6-knotifyconfig-devel kf6-kparts-devel
kf6-kplotting-devel kf6-kdnssd-devel kf6-syndication-devel kf6-kwindowsystem-devel
kf6-kstatusnotifieritem-devel qt6-qt5compat-devel geoip-devel gmp-devel taglib-devel
kf6-ktextwidgets-devel libktorrent-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://apps.kde.org/ktorrent" homepage="https://apps.kde.org/ktorrent"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#ktorrent" changelog="https://kde.org/announcements/changelogs/gear/${version}/#ktorrent"
distfiles="${KDE_SITE}/release-service/${version}/src/ktorrent-${version}.tar.xz" distfiles="${KDE_SITE}/release-service/${version}/src/ktorrent-${version}.tar.xz"
checksum=16b8ad2d9bac0680d5203a5cda139aafecd81d824e80d065bf7fc5864588d782 checksum=0183c633e350386f31c2e763b0948cd8662c9102c8717dd2de6c4fa0042cdfd9
if [ "$CROSS_BUILD" ]; then if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" = "64$XBPS_TARGET_WORDSIZE" ]; then
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson" makedepends+=" qt6-webengine-devel"
hostmakedepends+=" kdoctools kconfig kcoreaddons"
fi fi
pre_configure() {
# The ECM FindTaglib.cmake gives different variable names
grep -rl TAGLIB_ | xargs -n1 sed -i -e "s;TAGLIB_;Taglib_;g"
}
post_install() { post_install() {
vdoc "${FILESDIR}/README.voidlinux" vdoc "${FILESDIR}/README.voidlinux"
} }