void-packages/srcpkgs/ktorrent/template

23 lines
1002 B
Bash

# Template file for 'ktorrent'
pkgname=ktorrent
version=5.1.1
revision=2
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake"
makedepends="qt5-devel qt5-script-devel ki18n-devel kio-devel kxmlgui-devel
knotifications-devel ksolid-devel kconfig-devel kcoreaddons-devel kdoctools-devel
kross-devel kcmutils-devel sonnet-devel kdbusaddons-devel kcrash-devel
karchive-devel knotifyconfig-devel libktorrent-devel kplotting-devel
gmp-devel taglib-devel kdnssd-devel kdewebkit-devel"
short_desc="BitTorrent client based on the KDE platform"
maintainer="Norbert Vegh <vegh@norvegh.com>"
license="GPL-2.0-or-later"
homepage="https://www.kde.org/applications/internet/ktorrent"
distfiles="${KDE_SITE}/ktorrent/${version}/src/ktorrent-${version}.tar.xz"
checksum=b54149cf1dd3ed59cb7be54c326469a64e152f39f2d7db01de9fdd6b2ce3562a
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
hostmakedepends+=" kdoctools kconfig kcoreaddons"
fi