28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
# Template file for 'ktorrent'
|
|
pkgname=ktorrent
|
|
version=5.2.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake gettext"
|
|
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}/ktorrent-${version}.tar.xz"
|
|
checksum=d1031d745c1ace02d11b59c426610aee779d208e3d1ae81f8559c265173732ff
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
|
hostmakedepends+=" kdoctools kconfig kcoreaddons"
|
|
fi
|
|
|
|
pre_configure() {
|
|
# The ECM FindTaglib.cmake gives different variable names
|
|
grep -rl TAGLIB_ | xargs -n1 sed -i -e "s;TAGLIB_;Taglib_;g"
|
|
}
|