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