summaryrefslogtreecommitdiff
path: root/extra/freetype2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/freetype2/PKGBUILD')
-rw-r--r--extra/freetype2/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/extra/freetype2/PKGBUILD b/extra/freetype2/PKGBUILD
new file mode 100644
index 00000000..f8de7498
--- /dev/null
+++ b/extra/freetype2/PKGBUILD
@@ -0,0 +1,8 @@
+# no Rust and librsvg on i486 (for now), use (a slugishly patched) librsvg-og instead
+# (modern SVG renderning with new API will now work and result in errors in the terminal)
+if [ "$CARCH" == 'i486' ]; then
+ makedepends=(${makedepends[@]//librsvg/})
+ makedepends+=(librsvg-og)
+fi
+
+