From a67aba6eaccfa8cc8e12fcae951e0dc296a1de2a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 2 May 2021 15:42:17 +0200 Subject: extra/cogl: remved gles2 patching (FS#63363), libglvnd patching and wayland missing patch on i486 --- extra/cogl/PKGBUILD | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'extra') diff --git a/extra/cogl/PKGBUILD b/extra/cogl/PKGBUILD index 296eb7d5..ba6e0dfc 100644 --- a/extra/cogl/PKGBUILD +++ b/extra/cogl/PKGBUILD @@ -1,8 +1,15 @@ -# FS#63363: disable GLES1 for now (or forever?), mesa dropped support for it +# libglvnd missing on i486 +if [ "$CARCH" = 'i486' ]; then + makedepends+=(libglvnd) +fi -eval "$( - declare -f build | \ - sed ' - s/--enable-gles{1,2}/--enable-gles2/ - ' -)" +# no wayland on i486 +if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/--enable-{kms,wayland}-egl-platform/--enable-kms/ + s/--enable-wayland-egl-server// + ' + )" +fi -- cgit v1.2.3-70-g09d2