index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-10 22:02:05 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-10 22:02:05 +0200 |
commit | e2efd58dac72adc3983c5da17afe77eaa9b01c2c (patch) | |
tree | 4574bcd8adbe85130630aba89d8b2cce5c37d9ab /extra/libcanberra | |
parent | 8c3ed553143976f5fc49bd4e944949067e45c901 (diff) |
-rw-r--r-- | extra/libcanberra/PKGBUILD | 26 |
diff --git a/extra/libcanberra/PKGBUILD b/extra/libcanberra/PKGBUILD new file mode 100644 index 00000000..2c8417d7 --- /dev/null +++ b/extra/libcanberra/PKGBUILD @@ -0,0 +1,26 @@ +# breaking cycle with gtk2, gtk3 and gstreamer on i486 +if [ "$CARCH" = 'i486' ]; then + makedepends=(${makedepends[@]//gtk2/}) + makedepends=(${makedepends[@]//gtk3/}) + makedepends=(${makedepends[@]//gstreamer/}) + eval "$( + declare -f build | \ + sed ' + s/--enable-gstreamer/--disable-gstreamer/ + ' + )" + eval "$( + declare -f package_libcanberra | \ + sed ' + /rm.*la/d + /for/ s/gstreamer// + ' + )" + eval "$( + declare -f package_libcanberra-gstreamer | \ + sed ' + /rm.*la/d + /mv.*gstreamer/d + ' + )" +fi |