1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
4 pkgver=1.1.9+r3+g582b2d3
7 pkgdesc="EGLStream-based Wayland external platform"
9 url=https://github.com/NVIDIA/egl-wayland
11 depends=(wayland eglexternalplatform)
12 makedepends=(meson git wayland-protocols 'libglvnd>=1.3.4')
13 provides=(libnvidia-egl-wayland.so)
14 _commit=582b2d345abaa0e313cf16c902e602084ea59551 # master
15 source=("git+$url#commit=$_commit"
16 10_nvidia_wayland.json)
18 '5cccf1905a266e8e34d5ad4aad4be85390e60b1a0850a29dd9d64adc641de412')
22 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
30 arch-meson $pkgname build
31 meson compile -C build
35 meson test -C build --print-errorlogs
39 meson install -C build --destdir "$pkgdir"
40 install -Dt "$pkgdir/usr/share/egl/egl_external_platform.d" -m644 10_nvidia_wayland.json
41 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING