From 99dd8a5f79eb5468bdffe8c14559cd163068192d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 10 Feb 2022 10:51:47 +0100 Subject: gst-plugins-bad is now a split of gstreamer - move the PKGBUILD (content probably wrong, now) --- extra/gst-plugins-bad/PKGBUILD | 46 ------------------------------------------ extra/gstreamer/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 46 deletions(-) delete mode 100644 extra/gst-plugins-bad/PKGBUILD create mode 100644 extra/gstreamer/PKGBUILD (limited to 'extra') diff --git a/extra/gst-plugins-bad/PKGBUILD b/extra/gst-plugins-bad/PKGBUILD deleted file mode 100644 index a28b9fea..00000000 --- a/extra/gst-plugins-bad/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# 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 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 -- cgit v1.2.3-70-g09d2