mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
76 lines
1.7 KiB
Plaintext
76 lines
1.7 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=ktorrent
|
|
pkgver=23.04.0
|
|
pkgrel=0
|
|
# armhf blocked by extra-cmake-modules
|
|
# ppc64le, s390x and riscv64 blocked by qt5-qtwebengine
|
|
arch="all !armhf !ppc64le !s390x !riscv64"
|
|
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
|
|
kross-dev
|
|
ktextwidgets-dev
|
|
kwidgetsaddons-dev
|
|
kwindowsystem-dev
|
|
kxmlgui-dev
|
|
libktorrent-dev
|
|
phonon-dev
|
|
plasma-workspace-dev
|
|
qt5-qtbase-dev
|
|
qt5-qtwebengine-dev
|
|
samurai
|
|
solid-dev
|
|
syndication-dev
|
|
taglib-dev
|
|
"
|
|
checkdepends="xvfb-run"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/ktorrent-$pkgver.tar.xz"
|
|
subpackages="$pkgname-doc $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 \
|
|
-DENABLE_INFOWIDGET_PLUGIN=FALSE
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
|
|
# ipblocklisttest requires itself installed
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "ipblocklisttest"
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
f761d3de70397c588da05069062c2dab7286267726cc134780740d087dfe890b76c78aa94e296b6b66a4299eb2a27400b4689df5a6d60108781c317c42e123a5 ktorrent-23.04.0.tar.xz
|
|
"
|