index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2022-02-10 10:51:47 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-02-10 10:51:47 +0100 |
commit | 99dd8a5f79eb5468bdffe8c14559cd163068192d (patch) | |
tree | f27a201fee4c4d1634ff44db0e01258cac4b6d2f /extra/gstreamer | |
parent | 6e8ae806ef3917689d9de0e82973fdf057800c3d (diff) |
-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 |