void-packages/srcpkgs/libktorrent/template

29 lines
1.0 KiB
Bash

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