diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-05-22 00:49:30 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-28 17:14:48 +0000 |
commit | 8f26e984f2c9dc4885a88d8410a2ecf302decb2f (patch) | |
tree | f626293d60840b1ec3ceabec66f64bda395d2ebd | |
parent | 70f7ae85cec5b4b53ca43a601c117d85265cce90 (diff) | |
download | aports-8f26e984f2c9dc4885a88d8410a2ecf302decb2f.tar.bz2 aports-8f26e984f2c9dc4885a88d8410a2ecf302decb2f.tar.xz |
testing/kwayland: new aport
Closes GH-7992
-rw-r--r-- | testing/kwayland/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/kwayland/APKBUILD b/testing/kwayland/APKBUILD new file mode 100644 index 0000000000..7eb55d4ef8 --- /dev/null +++ b/testing/kwayland/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kwayland +pkgver=5.58.0 +pkgrel=0 +pkgdesc="Qt-style Client and Server library wrapper for the Wayland libraries" +arch="all" +url="https://www.kde.org" +license="LGPL-2.1-only OR LGPL-3.0-only" +depends_dev="qt5-qtbase-dev wayland-dev" +makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc" +options="!check" # Fails due to requiring running Wayland compositor + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="5512621e69f354efccc52af1f571c6660ff72581ad00bc4766c4cc42d731baf1358107325af6a3b5685372c84f5c9f4b583d1bcf44ef81dbc252e15d6cede53a kwayland-5.58.0.tar.xz" |