void-packages/srcpkgs/libktorrent/template

29 lines
1.0 KiB
Bash

# Template file for 'libktorrent'
pkgname=libktorrent
version=24.08.0
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=7f5e8662642f85d6d76afe00e1c37df030fc2a4f33d945d6c6e27d2401afb3d1
libktorrent-devel_package() {
depends="${sourcepkg}>=${version}_${revision} gmp-devel boost-devel"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}