aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-09-14 19:33:59 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-09-14 20:46:19 +0000
commit869ee656cb41b4532a2521201568c6e4b93b7fe9 (patch)
treee14f76f8b153e7f78cb849099ba0f978f49e59b9
parent5a170e2e0f6d02ebfcca8baa6f620f48233bea8c (diff)
downloadaports-869ee656cb41b4532a2521201568c6e4b93b7fe9.tar.gz
aports-869ee656cb41b4532a2521201568c6e4b93b7fe9.tar.bz2
aports-869ee656cb41b4532a2521201568c6e4b93b7fe9.tar.xz
testing/xrdesktop: new aport
-rw-r--r--testing/xrdesktop/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/xrdesktop/APKBUILD b/testing/xrdesktop/APKBUILD
new file mode 100644
index 0000000000..98b6fed686
--- /dev/null
+++ b/testing/xrdesktop/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=xrdesktop
+pkgver=0.15.1
+pkgrel=0
+pkgdesc="A library for XR interaction with traditional desktop compositors"
+url="https://gitlab.freedesktop.org/xrdesktop/xrdesktop"
+arch="all"
+license="MIT AND CC-BY-SA-4.0"
+depends="python3"
+depends_dev="py3-gobject3-dev"
+makedepends="$depends_dev
+ cmd:glslangValidator
+ cmd:gtkdoc-scan
+ gxr-dev
+ meson
+ python3-dev
+ "
+source="https://gitlab.freedesktop.org/xrdesktop/xrdesktop/-/archive/$pkgver/xrdesktop-$pkgver.tar.gz"
+subpackages="$pkgname-dev"
+
+build() {
+ abuild-meson \
+ -Dapi_doc=true \
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
+}
+
+check() {
+ # The XR tests require a working VR setup
+ meson test --no-rebuild -v -C output --no-suite xr --no-suite post-install
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
+}
+
+sha512sums="f431bc3d4f726b17e479cc3501626f489e96af7147135d92b0bacbc074abeb10c8869bfb2c43001836db60777d6a4eba33f001e94f496669982e6037e733e628 xrdesktop-0.15.1.tar.gz"