void-packages/srcpkgs/libktorrent/template

24 lines
789 B
Bash

# Template file for 'libktorrent'
pkgname=libktorrent
version=2.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="A BitTorrent protocol implementation"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://ktorrent.pwsp.net"
distfiles="http://mirror.netcologne.de/gentoo/distfiles/${pkgname}-${version}.tar.xz"
checksum=3eefdcceec73410c558e82d7be22eb2ed18679e9ab64f34cc100b54e186fe26f
nocross="fails to detect qca-qt5"
libktorrent-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}