void-packages/srcpkgs/ktorrent/template

35 lines
1.5 KiB
Bash

# Template file for 'ktorrent'
pkgname=ktorrent
version=24.02.2
revision=1
build_style=cmake
configure_args="-DWITH_SYSTEM_GEOIP=ON -DBUILD_TESTING=OFF
-DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules pkg-config qt6-base qt6-tools gettext
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"
maintainer="Norbert Vegh <vegh@norvegh.com>"
license="GPL-2.0-or-later"
homepage="https://apps.kde.org/ktorrent"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#ktorrent"
distfiles="${KDE_SITE}/release-service/${version}/src/ktorrent-${version}.tar.xz"
checksum=0183c633e350386f31c2e763b0948cd8662c9102c8717dd2de6c4fa0042cdfd9
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" = "64$XBPS_TARGET_WORDSIZE" ]; then
makedepends+=" qt6-webengine-devel"
fi
post_install() {
vdoc "${FILESDIR}/README.voidlinux"
}