index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-11-25 06:10:03 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-11-25 06:10:03 +0100 |
commit | 9712ccfecd6f0947564e94e50960c6636057aded (patch) | |
tree | 7e2e2999a3c5c9b2dcba962dd10c1ec4888eaf21 /extra/gobject-introspection | |
parent | ee728b8282ae76010b03053e259cdcf6df4d72a8 (diff) |
-rw-r--r-- | extra/gobject-introspection/PKGBUILD | 15 |
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 + |