mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-21 05:21:36 +01:00
61 lines
1.5 KiB
Plaintext
61 lines
1.5 KiB
Plaintext
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-plasma
|
|
maintainer="team/kde <bribbers@disroot.org>"
|
|
pkgname=kde-cli-tools
|
|
pkgver=6.3.2
|
|
pkgrel=0
|
|
pkgdesc="Tools based on KDE Frameworks 5 to better interact with the system"
|
|
# armhf blocked by qt6-qtdeclarative -> ki18n
|
|
arch="all !armhf"
|
|
url="https://invent.kde.org/plasma/kde-cli-tools"
|
|
license="(GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-or-later AND GPL-2.0-only AND LGPL-2.1-only"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
kcmutils-dev
|
|
kconfig-dev
|
|
kdeclarative-dev
|
|
kdesu-dev
|
|
kdoctools-dev
|
|
ki18n-dev
|
|
kiconthemes-dev
|
|
kio-dev
|
|
kparts-dev
|
|
kservice-dev
|
|
kwindowsystem-dev
|
|
plasma-activities-dev
|
|
qt6-qtbase-dev
|
|
qt6-qtsvg-dev
|
|
samurai
|
|
"
|
|
checkdepends="xwayland-run"
|
|
|
|
case "$pkgver" in
|
|
*.*.9*) _rel=unstable;;
|
|
*) _rel=stable;;
|
|
esac
|
|
|
|
subpackages="$pkgname-doc $pkgname-lang $pkgname-zsh-completion"
|
|
_repo_url="https://invent.kde.org/plasma/kde-cli-tools.git"
|
|
source="https://download.kde.org/$_rel/plasma/$pkgver/kde-cli-tools-$pkgver.tar.xz"
|
|
# Broken
|
|
options="!check"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
wlheadless-run -- ctest --test-dir build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
sha512sums="
|
|
6618d4f9f4c69c9dbfb07c4bd5940739c2f51299aecec2305707d251c56ef1105e29ca8e00bdffbcc889ef7ada4ff1a7f3729176a4f5a9d6aa06418332e29330 kde-cli-tools-6.3.2.tar.xz
|
|
"
|