void-packages/srcpkgs/libktorrent/template

29 lines
1.0 KiB
Bash

# Template file for 'libktorrent'
pkgname=libktorrent
version=24.02.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules gettext qt6-base qt6-tools pkg-config doxygen
kf6-kconfig kf6-kcoreaddons"
makedepends="qt6-base-devel karchive-devel kf6-solid-devel kf6-kio-devel kf6-ki18n-devel
kf6-kcrash-devel gmp-devel qca-qt6-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=0116e0fffe3caad94faf20e740cab2581452158c2e842a0414cacc65a34e7861
libktorrent-devel_package() {
depends="${sourcepkg}>=${version}_${revision} gmp-devel boost-devel"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}