mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 00:34:26 +02:00
77 lines
1.9 KiB
Text
77 lines
1.9 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-applications
|
|
maintainer="team/kde <bribbers@disroot.org>"
|
|
pkgname=ktorrent
|
|
pkgver=25.04.0
|
|
pkgrel=1
|
|
# armhf, s390x, ppc64le, riscv64 and loongarch64 blocked by qt6-qtwebengine
|
|
arch="all !armhf !ppc64le !s390x !riscv64 !loongarch64"
|
|
url="https://kde.org/applications/internet/org.kde.ktorrent"
|
|
pkgdesc="A powerful BitTorrent client for KDE"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="
|
|
boost-dev
|
|
extra-cmake-modules
|
|
karchive-dev
|
|
kcmutils-dev
|
|
kcompletion-dev
|
|
kconfig-dev
|
|
kconfigwidgets-dev
|
|
kcoreaddons-dev
|
|
kcrash-dev
|
|
kdbusaddons-dev
|
|
kdnssd-dev
|
|
kdoctools-dev
|
|
ki18n-dev
|
|
kiconthemes-dev
|
|
kio-dev
|
|
kitemviews-dev
|
|
knotifications-dev
|
|
knotifyconfig-dev
|
|
kparts-dev
|
|
kplotting-dev
|
|
ktextwidgets-dev
|
|
kwidgetsaddons-dev
|
|
kwindowsystem-dev
|
|
kxmlgui-dev
|
|
libktorrent-dev
|
|
phonon-dev
|
|
plasma-workspace-dev
|
|
qt6-qtbase-dev
|
|
qt6-qtwebengine-dev
|
|
qt6-qtdeclarative-dev
|
|
samurai
|
|
solid-dev
|
|
syndication-dev
|
|
taglib-dev
|
|
"
|
|
checkdepends="xvfb-run"
|
|
_repo_url="https://invent.kde.org/network/ktorrent.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/ktorrent-$pkgver.tar.xz"
|
|
subpackages="$pkgname-lang"
|
|
|
|
build() {
|
|
# The infowidget plugin is disabled due to an incompatibility with musl
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DQT_MAJOR_VERSION=6 \
|
|
-DENABLE_INFOWIDGET_PLUGIN=FALSE
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
# ipblocklisttest requires itself installed
|
|
xvfb-run -a ctest --test-dir build -E "ipblocklisttest"
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
57fcd6b79bafa810869917e20cbbff6becad2565d4ada06f6d1e31bf1df003e0f4d0b7bd4f05b81066b0fd02c22445563bebdae8d8c4af93581238b0bf4fe9c3 ktorrent-25.04.0.tar.xz
|
|
"
|