extra/gst-plugins-bad to 1.18.2-2

This commit is contained in:
Kevin Mihelich 2021-01-05 18:16:12 +00:00
parent 27455025f5
commit 82f8b65449

View file

@ -6,9 +6,9 @@
# - meson with -D svthevcenc=disabled
pkgbase=gst-plugins-bad
pkgname=(gst-plugins-bad-libs gst-plugins-bad gst-plugin-opencv)
pkgname=(gst-plugins-bad-libs gst-plugins-bad gst-plugin-opencv gst-plugin-wpe)
pkgver=1.18.2
pkgrel=1
pkgrel=2
pkgdesc="Multimedia graph framework - bad plugins"
url="https://gstreamer.freedesktop.org/"
arch=(x86_64)
@ -24,7 +24,7 @@ makedepends=(mjpegtools curl chromaprint libmms faad2 libdca libdvdnav
librsvg fluidsynth lilv lv2 gst-plugins-good python git
gobject-introspection vulkan-headers vulkan-validation-layers
wayland-protocols gtk3 meson shaderc libavtp libmicrodns
zxing-cpp opencv libva)
zxing-cpp opencv libva wpewebkit)
checkdepends=(xorg-server-xvfb)
options=(!emptydirs)
_commit=b375ee4cdbcb98687c226d6564f8678a809cf02a # tags/1.18.2^0
@ -61,7 +61,6 @@ build() {
-D voamrwbenc=disabled \
-D wasapi2=disabled \
-D wasapi=disabled \
-D wpe=disabled \
-D gobject-cast-checks=disabled \
-D package-name="GStreamer Bad Plugins (Arch Linux)" \
-D package-origin="https://www.archlinux.org/"
@ -102,7 +101,7 @@ package_gst-plugins-bad-libs() {
mv -t opencv/include/gstreamer-1.0/gst \
"$pkgdir"/usr/include/gstreamer-1.0/gst/opencv
for _x in opencv; do
for _x in opencv wpe; do
mkdir -p "$_x/lib/gstreamer-1.0"
_f="lib/gstreamer-1.0/libgst${_x}.so"
mv "$pkgdir/usr/$_f" "$_x/$_f"
@ -130,3 +129,10 @@ package_gst-plugin-opencv() {
mv opencv "$pkgdir/usr"
}
package_gst-plugin-wpe() {
pkgdesc="${pkgdesc%-*}- wpe plugin"
depends=(gst-plugins-base-libs wpewebkit)
mv wpe "$pkgdir/usr"
}