mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 23:24:44 +02:00
46 lines
1.2 KiB
Text
46 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=layer-shell-qt
|
|
pkgver=6.3.5
|
|
pkgrel=0
|
|
pkgdesc="Qt component to allow applications to make use of the Wayland wl-layer-shell protocol"
|
|
# armhf blocked by qt6-qtdeclarative
|
|
arch="all !armhf"
|
|
url="https://kde.org/plasma-desktop/"
|
|
license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only)"
|
|
depends_dev="
|
|
qt6-qtdeclarative-dev
|
|
qt6-qtwayland-dev
|
|
"
|
|
makedepends="$depends_dev
|
|
extra-cmake-modules
|
|
samurai
|
|
wayland-protocols
|
|
"
|
|
subpackages="$pkgname-dev"
|
|
|
|
case "$pkgver" in
|
|
*.*.9*) _rel=unstable;;
|
|
*) _rel=stable;;
|
|
esac
|
|
|
|
_repo_url="https://invent.kde.org/plasma/layer-shell-qt.git"
|
|
source="https://download.kde.org/$_rel/plasma/$pkgver/layer-shell-qt-$pkgver.tar.xz"
|
|
options="!check" # No tests
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
849920eeb79c0a9a03bbda4a5f5a0238f7931f3e781baf14a3a978fd9f2bb0833cefb63a77224b7d34a71cfaed212d92f96b42a3c6ad937b292f52c631beebbc layer-shell-qt-6.3.5.tar.xz
|
|
"
|