Date: Saturday, November 23, 2019 @ 17:45:10 Author: heftig Revision: 369653
1.1.4-2: fix build Added: egl-wayland/trunk/glvnd.diff Modified: egl-wayland/trunk/PKGBUILD ------------+ PKGBUILD | 10 +++-- glvnd.diff | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-11-23 17:41:14 UTC (rev 369652) +++ PKGBUILD 2019-11-23 17:45:10 UTC (rev 369653) @@ -2,7 +2,7 @@ pkgname=egl-wayland pkgver=1.1.4 -pkgrel=1 +pkgrel=2 pkgdesc="EGLStream-based Wayland external platform" arch=(x86_64) url=https://github.com/NVIDIA/egl-wayland @@ -11,8 +11,10 @@ makedepends=(meson git) _commit=47d96a84b04d21cd0a2f23b59a4936c829a65364 # tags/1.1.4 source=("git+$url#commit=$_commit" + glvnd.diff 10_nvidia_wayland.json) sha256sums=('SKIP' + 'e6d965551829448ffc2ea0fdf97d7d44c3d35be0b56fc025e6cc343f29f7b9d6' '5cccf1905a266e8e34d5ad4aad4be85390e60b1a0850a29dd9d64adc641de412') pkgver() { @@ -22,6 +24,9 @@ prepare() { cd $pkgname + + # Fix build with headers from libglvnd + git apply -3 ../glvnd.diff } build() { @@ -30,8 +35,7 @@ } check() { - cd build - meson test + meson test -C build --print-errorlogs } package() { Added: glvnd.diff =================================================================== --- glvnd.diff (rev 0) +++ glvnd.diff 2019-11-23 17:45:10 UTC (rev 369653) @@ -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"