index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/gstreamer/PKGBUILD | 46 |
diff --git a/extra/gstreamer/PKGBUILD b/extra/gstreamer/PKGBUILD new file mode 100644 index 00000000..a28b9fea --- /dev/null +++ b/extra/gstreamer/PKGBUILD @@ -0,0 +1,46 @@ +# svt-hevc is blacklisted +makedepends=(${makedepends[@]//svt-hevc/}) + +eval "$( + declare -f build | \ + sed ' + s/arch-meson/arch-meson -D svthevcenc=disabled /g + ' +)" + +eval "$( + declare -f package_gst-plugins-bad-libs | \ + sed ' + s/svthevcenc//g + ' +)" + +eval "$( + declare -f package_gst-plugins-bad | \ + sed ' + s/svt-hevc//g + ' +)" + +# no opencv on i486 for now +if [ "$CARCH" = 'i486' ]; then + makedepends=(${makedepends[@]//opencv/}) + eval "$( + declare -f build | \ + sed ' + s@arch-meson @arch-meson -D opencv=disabled @ + ' + declare -f package_gst-plugins-bad-libs | \ + sed ' + /mkdir.*opencv/d + /mv.*opencv/d + /gst\/opencv/d + s/in opencv wpe/in wpe/ + ' + declare -f package_gst-plugin-opencv | \ + sed ' + 3 i if false; then + $ i fi + ' + )" +fi |