summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2019-02-21 21:16:27 (GMT)
committerBritney Fransen <brfransen@gmail.com>2019-02-21 21:16:27 (GMT)
commit2b324a804ef5a7d9ad60c2b8f1a8d6946c0552eb (patch)
tree1ea78af037188130614e1896f42dafd9c6c450cf /abs/extra
parent159ec56555c1150f510fd4742ed328cca781bf29 (diff)
downloadlinhes_pkgbuild-2b324a804ef5a7d9ad60c2b8f1a8d6946c0552eb.zip
linhes_pkgbuild-2b324a804ef5a7d9ad60c2b8f1a8d6946c0552eb.tar.gz
linhes_pkgbuild-2b324a804ef5a7d9ad60c2b8f1a8d6946c0552eb.tar.bz2
egl-wayland: dep of nvidia-utils
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/egl-wayland/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/abs/extra/egl-wayland/PKGBUILD b/abs/extra/egl-wayland/PKGBUILD
new file mode 100644
index 0000000..89eb37b
--- /dev/null
+++ b/abs/extra/egl-wayland/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+
+pkgname=egl-wayland
+pkgver=1.1.2
+pkgrel=1
+pkgdesc="EGLStream-based Wayland external platform"
+arch=(x86_64)
+url=https://github.com/NVIDIA/egl-wayland
+license=(MIT)
+depends=(wayland eglexternalplatform)
+makedepends=(meson git)
+_commit=c81f849fc08e36fc5b94031b6edc361ab5027fce # master
+source=("git+$url#commit=$_commit"
+ 10_nvidia_wayland.json)
+sha256sums=('SKIP'
+ '5cccf1905a266e8e34d5ad4aad4be85390e60b1a0850a29dd9d64adc641de412')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ git tag -f 1.1.2 c81f849fc08e36fc5b94031b6edc361ab5027fce # Fixup missing tag
+}
+
+build() {
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
+ cd build
+ meson test
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+ install -Dt "$pkgdir/usr/share/egl/egl_external_platform.d" -m644 10_nvidia_wayland.json
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING
+}
+
+# vim:set sw=2 et: