summaryrefslogtreecommitdiff
path: root/user/layer-shell-qt
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-06-09 01:10:53 -0500
committerZach van Rijn <me@zv.io>2022-06-12 23:51:55 +0000
commit2f0ca70bcc09c5d3d25b05adbcbbd29cda97d719 (patch)
tree41e7147701baf6c6142f9a66701aa9d5e92e5946 /user/layer-shell-qt
parent92a0109f4f0432996458a097fe526ceb245a7989 (diff)
downloadpackages-2f0ca70bcc09c5d3d25b05adbcbbd29cda97d719.tar.gz
packages-2f0ca70bcc09c5d3d25b05adbcbbd29cda97d719.tar.bz2
packages-2f0ca70bcc09c5d3d25b05adbcbbd29cda97d719.tar.xz
packages-2f0ca70bcc09c5d3d25b05adbcbbd29cda97d719.zip
user/[KDE Plasma]: Update to 5.24.5
Diffstat (limited to 'user/layer-shell-qt')
-rw-r--r--user/layer-shell-qt/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/layer-shell-qt/APKBUILD b/user/layer-shell-qt/APKBUILD
new file mode 100644
index 000000000..073be8d83
--- /dev/null
+++ b/user/layer-shell-qt/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: A. Wilcox <awilfox-kde@adelielinux.org>
+pkgname=layer-shell-qt
+pkgver=5.24.5
+pkgrel=0
+pkgdesc="Qt library to consume Wayland wl-layer-shell protocol"
+url="https://www.kde.org/"
+arch="all"
+license="LGPL-3.0+ AND MIT AND BSD-3-Clause AND CC0-1.0"
+depends=""
+makedepends="cmake extra-cmake-modules libxkbcommon-dev qt5-qtbase-dev
+ qt5-qtdeclarative-dev qt5-qtwayland-dev qt5-qtwayland-tools wayland-dev
+ wayland-protocols"
+subpackages="$pkgname-dev"
+source="https://download.kde.org/stable/plasma/$pkgver/layer-shell-qt-$pkgver.tar.xz"
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS} \
+ .
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e9aeb94d7200543eef03950f6e3ccf3a60faf66bcf048760ea35d27c621bbced712411501f9d48fdaf98a36708a1a202c0531bbc94df0ccf99278ffd106b7abc layer-shell-qt-5.24.5.tar.xz"