diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/gobject-introspection/PKGBUILD | 15 |
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 + |