Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-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