mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 21:35:15 +02:00
50 lines
1.2 KiB
Text
50 lines
1.2 KiB
Text
# 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=kdecoration
|
|
pkgver=6.3.5
|
|
pkgrel=0
|
|
pkgdesc="Plugin based library to create window decorations"
|
|
# armhf blocked by qt6-qtdeclarative -> ki18n
|
|
arch="all !armhf"
|
|
url="https://kde.org/plasma-desktop/"
|
|
license="LGPL-2.1-only OR LGPL-3.0-only"
|
|
depends_dev="
|
|
kcoreaddons-dev
|
|
ki18n-dev
|
|
qt6-qtbase-dev
|
|
"
|
|
makedepends="$depends_dev
|
|
extra-cmake-modules
|
|
samurai
|
|
"
|
|
checkdepends="xwayland-run"
|
|
|
|
case "$pkgver" in
|
|
*.*.9*) _rel=unstable;;
|
|
*) _rel=stable;;
|
|
esac
|
|
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
_repo_url="https://invent.kde.org/plasma/kdecoration.git"
|
|
source="https://download.kde.org/$_rel/plasma/$pkgver/kdecoration-$pkgver.tar.xz"
|
|
|
|
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="
|
|
dd7f4b8a1e9fd31a7f6f11d4be936da7ef0bbc1f7ff2f1cf18a1a91db143ad75b134f76403e265598efad464f715693098ea62f161d4f952add845f68cb6fcbc kdecoration-6.3.5.tar.xz
|
|
"
|