mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=layer-shell-qt
|
|
pkgver=5.24.4
|
|
pkgrel=0
|
|
pkgdesc="Qt component to allow applications to make use of the Wayland wl-layer-shell protocol"
|
|
# armhf blocked by extra-cmake-modules
|
|
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="
|
|
qt5-qtdeclarative-dev
|
|
qt5-qtwayland-dev
|
|
"
|
|
makedepends="$depends_dev
|
|
extra-cmake-modules
|
|
wayland-protocols
|
|
"
|
|
|
|
case "$pkgver" in
|
|
*.90*) _rel=unstable;;
|
|
*) _rel=stable;;
|
|
esac
|
|
source="https://download.kde.org/$_rel/plasma/$pkgver/layer-shell-qt-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev"
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DENABLE_TESTING=ON
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
6ed294219947d27cbf71777f4f1df7a2a2b0f67369b1e7bb018d2a0c3d464aecf6f62cba3fe8dc45c090a441a503648950198ae6eb681b200ab416274578ff9d layer-shell-qt-5.24.4.tar.xz
|
|
"
|