28 lines
886 B
Bash
28 lines
886 B
Bash
# Template file for 'libktorrent'
|
|
pkgname=libktorrent
|
|
version=23.04.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules gettext qt5-host-tools qt5-qmake python3 doxygen"
|
|
makedepends="qt5-devel karchive-devel ksolid-devel kio-devel ki18n-devel
|
|
kcrash-devel gmp-devel qca-qt5-devel boost-devel"
|
|
short_desc="BitTorrent protocol implementation"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://apps.kde.org/en/ktorrent"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/libktorrent-${version}.tar.xz"
|
|
checksum=92428a9c24fd562fa722a345850afd0b2b3f94a32a0b7d743cd4df5e392f7a9a
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" kcoreaddons"
|
|
fi
|
|
|
|
libktorrent-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} gmp-devel boost-devel"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|