From 9712ccfecd6f0947564e94e50960c6636057aded Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 25 Nov 2019 06:10:03 +0100 Subject: extra/gobject-introspection: no cairo on i486 --- extra/gobject-introspection/PKGBUILD | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 extra/gobject-introspection/PKGBUILD (limited to 'extra') 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 + -- cgit v1.2.3-70-g09d2