28 lines
831 B
Bash
28 lines
831 B
Bash
# Template file for 'libktorrent'
|
|
pkgname=libktorrent
|
|
version=2.1.1
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake python doxygen"
|
|
makedepends="qt5-devel karchive-devel ksolid-devel kio-devel ki18n-devel
|
|
kcrash-devel gmp-devel qca-qt5-devel"
|
|
short_desc="BitTorrent protocol implementation"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://ktorrent.pwsp.net"
|
|
distfiles="https://github.com/KDE/libktorrent/archive/v${version}.tar.gz"
|
|
checksum=897d970d8e06c82dfb43757b23e3079731dbb74bca259c559e25b7d574dfece4
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" kcoreaddons"
|
|
fi
|
|
|
|
libktorrent-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision} gmp-devel"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|