summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-02 15:42:17 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-02 15:42:17 +0200
commita67aba6eaccfa8cc8e12fcae951e0dc296a1de2a (patch)
tree52fc3eb35eee86823dd33adc2ad4be44f8379969
parentb7a344dd6c2e1dc2333886065a6cc1c0a30567ac (diff)
downloadpackages-a67aba6eaccfa8cc8e12fcae951e0dc296a1de2a.tar.xz
extra/cogl: remved gles2 patching (FS#63363), libglvnd patching and wayland missing patch on i486
-rw-r--r--extra/cogl/PKGBUILD21
1 files changed, 14 insertions, 7 deletions
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