Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-05-03 10:24:04 +0200
committerErich Eckner <git@eckner.net>2020-05-03 10:24:04 +0200
commit66fe1829b98a7e6930195005003965de2145f3a7 (patch)
tree363acfad07e72ec3d275b3ec7e19fb848ca07fb9
parent2023e11d86fef917c0f0704b009c308b738b7de2 (diff)
extra/harfbuzz: remove cairo dependency on i486
-rw-r--r--extra/harfbuzz/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/harfbuzz/PKGBUILD b/extra/harfbuzz/PKGBUILD
new file mode 100644
index 00000000..f456061e
--- /dev/null
+++ b/extra/harfbuzz/PKGBUILD
@@ -0,0 +1,12 @@
+# no cairo on i486 (yet)
+makedepends=(${makedepends[@]//cairo/})
+makedepends_i686+=(cairo)
+makedepends_pentium4+=(cairo)
+if [ "${CARCH}" = 'i486' ]; then
+ eval "$(
+ declare -f build \
+ | sed '
+ s/ --with-cairo / /
+ '
+ )"
+fi