diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-06-09 01:10:53 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:55 +0000 |
commit | 2f0ca70bcc09c5d3d25b05adbcbbd29cda97d719 (patch) | |
tree | 41e7147701baf6c6142f9a66701aa9d5e92e5946 /user/kwayland-server | |
parent | 92a0109f4f0432996458a097fe526ceb245a7989 (diff) | |
download | packages-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/kwayland-server')
-rw-r--r-- | user/kwayland-server/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/user/kwayland-server/APKBUILD b/user/kwayland-server/APKBUILD new file mode 100644 index 000000000..1d847972c --- /dev/null +++ b/user/kwayland-server/APKBUILD @@ -0,0 +1,43 @@ +# Maintainer: A. Wilcox <awilfox-kde@adelielinux.org> +pkgname=kwayland-server +pkgver=5.24.5 +pkgrel=0 +pkgdesc="KDE Wayland server component" +url="https://www.kde.org/" +arch="all" +options="!check" # Requires D-Bus. +license="LGPL-2.1+ AND LGPL-2.1-only AND LGPL-3.0-only AND BSD-3-Clause AND MIT AND MIT-CMU" +depends="plasma-wayland-protocols" +docdepends="kwayland-doc" +makedepends="cmake extra-cmake-modules kwayland-dev mesa-dev qt5-qtbase-dev + qt5-qtwayland-dev qt5-qtwayland-tools wayland-dev wayland-protocols + $docdepends" +subpackages="$pkgname-dev $pkgname-doc" +source="https://download.kde.org/stable/plasma/$pkgver/kwayland-server-$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" \ + -DBUILD_QCH:BOOL=ON \ + ${CMAKE_CROSSOPTS} \ + . + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="72159618a22233b9b49cab8ee1a804f629763e903a2e711c8c23f990544d79b5d27e768c33f8d844c916e41a6d3a2af5ddcab69d0448569adc247e0f737975f5 kwayland-server-5.24.5.tar.xz" |