From 2b324a804ef5a7d9ad60c2b8f1a8d6946c0552eb Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 21 Feb 2019 21:16:27 +0000 Subject: egl-wayland: dep of nvidia-utils --- abs/extra/egl-wayland/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 abs/extra/egl-wayland/PKGBUILD 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) + +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: -- cgit v0.12