Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/gstreamer/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-02-10 10:51:47 +0100
committerErich Eckner <git@eckner.net>2022-02-10 10:51:47 +0100
commit99dd8a5f79eb5468bdffe8c14559cd163068192d (patch)
treef27a201fee4c4d1634ff44db0e01258cac4b6d2f /extra/gstreamer/PKGBUILD
parent6e8ae806ef3917689d9de0e82973fdf057800c3d (diff)
gst-plugins-bad is now a split of gstreamer - move the PKGBUILD (content probably wrong, now)
Diffstat (limited to 'extra/gstreamer/PKGBUILD')
-rw-r--r--extra/gstreamer/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
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