diff options
-rw-r--r-- | extra/libcanberra/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
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 |