Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-11-25 06:10:03 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2019-11-25 06:10:03 +0100
commit9712ccfecd6f0947564e94e50960c6636057aded (patch)
tree7e2e2999a3c5c9b2dcba962dd10c1ec4888eaf21
parentee728b8282ae76010b03053e259cdcf6df4d72a8 (diff)
extra/gobject-introspection: no cairo on i486
-rw-r--r--extra/gobject-introspection/PKGBUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/gobject-introspection/PKGBUILD b/extra/gobject-introspection/PKGBUILD
new file mode 100644
index 00000000..863d82d1
--- /dev/null
+++ b/extra/gobject-introspection/PKGBUILD
@@ -0,0 +1,15 @@
+# no cairo on i486
+makedepends=(${makedepends[@]//cairo/})
+makedepends_i686+=(cairo)
+makedepends_pentium4=("${makedepends_i686[@]}")
+
+if [ "${CARCH}" = "i486" ]; then
+ # no cairo
+ eval "$(
+ declare -f build | \
+ sed '
+ s/-D cairo=true/-D cairo=false/
+ '
+ )"
+fi
+