summaryrefslogtreecommitdiff
path: root/user/plasma-wayland-protocols
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-09-17 02:28:41 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-09-17 02:28:41 +0000
commit610258d55eca607926245c20e84be27ad51ef11f (patch)
treed81ab2ce2a2977e4171b1552a6e7e5aaadff9822 /user/plasma-wayland-protocols
parentdafa0ff58975f1b8eacda058b838205164afec4c (diff)
downloadpackages-610258d55eca607926245c20e84be27ad51ef11f.tar.gz
packages-610258d55eca607926245c20e84be27ad51ef11f.tar.bz2
packages-610258d55eca607926245c20e84be27ad51ef11f.tar.xz
packages-610258d55eca607926245c20e84be27ad51ef11f.zip
user/[KDE Frameworks]: Update to 5.74.0
Diffstat (limited to 'user/plasma-wayland-protocols')
-rw-r--r--user/plasma-wayland-protocols/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/plasma-wayland-protocols/APKBUILD b/user/plasma-wayland-protocols/APKBUILD
new file mode 100644
index 000000000..7cbf24267
--- /dev/null
+++ b/user/plasma-wayland-protocols/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=plasma-wayland-protocols
+pkgver=1.1.1
+pkgrel=0
+pkgdesc="KDE accessories for X12"
+url="https://www.kde.org/"
+arch="noarch"
+license="LGPL-2.1+"
+depends=""
+makedepends="cmake extra-cmake-modules"
+subpackages=""
+source="https://download.kde.org/stable/plasma-wayland-protocols/$pkgver/plasma-wayland-protocols-$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="82244fd9a6c25d8faa8aa64f57cb64ac8e589908cc3b0665ca9c8ce98bd42a8e9cae0f40484bacf3a05107c9e14613d1c9be80b363ba690d36c676ca62da8b9c plasma-wayland-protocols-1.1.1.tar.xz"