ports/contrib (3.6): [notify] egl-wayland: -> 1.1.9; name changed to reflect proper upstream name
commit f26ff6a52d057c4b1e9b2b5eee51c1603cdf3f2b Author: Tim Biermann <tbier@posteo.de> Date: Sun Oct 31 17:18:56 2021 +0100 [notify] egl-wayland: -> 1.1.9; name changed to reflect proper upstream name diff --git a/egl-wayland/.footprint b/egl-wayland/.footprint new file mode 100644 index 000000000..e2ef51cf9 --- /dev/null +++ b/egl-wayland/.footprint @@ -0,0 +1,14 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libnvidia-egl-wayland.so -> libnvidia-egl-wayland.so.1 +lrwxrwxrwx root/root usr/lib/libnvidia-egl-wayland.so.1 -> libnvidia-egl-wayland.so.1.1.9 +-rwxr-xr-x root/root usr/lib/libnvidia-egl-wayland.so.1.1.9 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/wayland-eglstream.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/pkgconfig/ +-rw-r--r-- root/root usr/share/pkgconfig/wayland-eglstream-protocols.pc +drwxr-xr-x root/root usr/share/wayland-eglstream/ +-rw-r--r-- root/root usr/share/wayland-eglstream/wayland-drm.xml +-rw-r--r-- root/root usr/share/wayland-eglstream/wayland-eglstream-controller.xml +-rw-r--r-- root/root usr/share/wayland-eglstream/wayland-eglstream.xml diff --git a/egl-wayland/.signature b/egl-wayland/.signature new file mode 100644 index 000000000..18ee26913 --- /dev/null +++ b/egl-wayland/.signature @@ -0,0 +1,6 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF30L0YJlLyKaT4GS+ZEB9eOhL3KOtj74GidvaZ8J/I8E7Zm8WYvbQsJhhp0LUHp+Zzc2h5QX99y2/3cP70UET1w8= +SHA256 (Pkgfile) = b773983589c0aa0a01ad7935c896df2000dd21ac39c56b003e6840fa78b010d3 +SHA256 (.footprint) = ac22e99b3db70ea48b41e39eb20f85f087cb8669b0fef46cfef6b70ac58bdd1f +SHA256 (egl-wayland-1.1.9.tar.gz) = 1317b06beaa5f990894adc31e958fc4575f81b9a7cf0fb907645020915b4da07 +SHA256 (glvnd.diff) = e6d965551829448ffc2ea0fdf97d7d44c3d35be0b56fc025e6cc343f29f7b9d6 diff --git a/egl-wayland/Pkgfile b/egl-wayland/Pkgfile new file mode 100644 index 000000000..7c0727d06 --- /dev/null +++ b/egl-wayland/Pkgfile @@ -0,0 +1,23 @@ +# Description: The EGLStream-based Wayland external platform +# URL: https://github.com/NVIDIA/egl-wayland/ +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: eglexternalplatform mesa wayland-protocols + +name=egl-wayland +version=1.1.9 +release=1 +source=(https://github.com/NVIDIA/egl-wayland/archive/$version/$name-$version.tar.gz + glvnd.diff) + +build() { + patch -Np1 -d $name-$version -i $SRC/glvnd.diff + + meson setup $name-$version build \ + --prefix=/usr \ + --buildtype=plain \ + --wrap-mode nodownload \ + -D b_lto=true \ + -D b_pie=true + meson compile -C build + DESTDIR=$PKG meson install -C build +} diff --git a/egl-wayland/glvnd.diff b/egl-wayland/glvnd.diff new file mode 100644 index 000000000..6182b0981 --- /dev/null +++ b/egl-wayland/glvnd.diff @@ -0,0 +1,108 @@ +diff --git i/include/wayland-egldevice.h w/include/wayland-egldevice.h +index 2b436aa..d32cce6 100644 +--- i/include/wayland-egldevice.h ++++ w/include/wayland-egldevice.h +@@ -25,6 +25,7 @@ + + #include <EGL/egl.h> + #include <EGL/eglext.h> ++#include <EGL/eglmesaext.h> + #include <wayland-client.h> + #include "wayland-external-exports.h" + #include "wayland-eglhandle.h" +diff --git i/include/wayland-egldisplay.h w/include/wayland-egldisplay.h +index ac42e7b..fe11f74 100644 +--- i/include/wayland-egldisplay.h ++++ w/include/wayland-egldisplay.h +@@ -25,6 +25,7 @@ + + #include <EGL/egl.h> + #include <EGL/eglext.h> ++#include <EGL/eglmesaext.h> + #include <wayland-client.h> + #include "wayland-external-exports.h" + #include "wayland-eglhandle.h" +diff --git i/include/wayland-eglhandle.h w/include/wayland-eglhandle.h +index 2697206..01bf11b 100644 +--- i/include/wayland-eglhandle.h ++++ w/include/wayland-eglhandle.h +@@ -25,6 +25,7 @@ + + #include <EGL/egl.h> + #include <EGL/eglext.h> ++#include <EGL/eglmesaext.h> + #include "wayland-external-exports.h" + #include "wayland-egl-ext.h" + #include <pthread.h> +diff --git i/include/wayland-eglstream-server.h w/include/wayland-eglstream-server.h +index 27ab863..359926e 100644 +--- i/include/wayland-eglstream-server.h ++++ w/include/wayland-eglstream-server.h +@@ -26,6 +26,7 @@ + #include <wayland-server-protocol.h> + #include <EGL/egl.h> + #include <EGL/eglext.h> ++#include <EGL/eglmesaext.h> + #include "wayland-eglhandle.h" + + #ifdef __cplusplus +diff --git i/include/wayland-eglstream.h w/include/wayland-eglstream.h +index e8486be..57b5e04 100644 +--- i/include/wayland-eglstream.h ++++ w/include/wayland-eglstream.h +@@ -25,6 +25,7 @@ + + #include <EGL/egl.h> + #include <EGL/eglext.h> ++#include <EGL/eglmesaext.h> + + #ifdef __cplusplus + extern "C" { +diff --git i/include/wayland-eglsurface.h w/include/wayland-eglsurface.h +index 38fcd85..f292812 100644 +--- i/include/wayland-eglsurface.h ++++ w/include/wayland-eglsurface.h +@@ -25,6 +25,7 @@ + + #include <EGL/egl.h> + #include <EGL/eglext.h> ++#include <EGL/eglmesaext.h> + #include <pthread.h> + #include <wayland-client.h> + #include "wayland-egldisplay.h" +diff --git i/include/wayland-eglswap.h w/include/wayland-eglswap.h +index 594f3ce..783ecbe 100644 +--- i/include/wayland-eglswap.h ++++ w/include/wayland-eglswap.h +@@ -25,6 +25,7 @@ + + #include <EGL/egl.h> + #include <EGL/eglext.h> ++#include <EGL/eglmesaext.h> + #include "wayland-eglhandle.h" + #include "wayland-eglsurface.h" + +diff --git i/include/wayland-eglutils.h w/include/wayland-eglutils.h +index ae54fcb..797bee7 100644 +--- i/include/wayland-eglutils.h ++++ w/include/wayland-eglutils.h +@@ -25,6 +25,7 @@ + + #include <EGL/egl.h> + #include <EGL/eglext.h> ++#include <EGL/eglmesaext.h> + #include "wayland-external-exports.h" + #include "wayland-eglhandle.h" + +diff --git i/src/wayland-eglstream-server.c w/src/wayland-eglstream-server.c +index c37f8e6..ef4bcb5 100644 +--- i/src/wayland-eglstream-server.c ++++ w/src/wayland-eglstream-server.c +@@ -34,6 +34,7 @@ + #include <wayland-server.h> + #include <EGL/egl.h> + #include <EGL/eglext.h> ++#include <EGL/eglmesaext.h> + + #include "wayland-eglstream-server.h" + #include "wayland-eglstream-server-protocol.h"
participants (1)
-
crux@crux.nu