[arch-commits] Commit in gst-plugins-bad/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Jan 5 16:00:35 UTC 2021


    Date: Tuesday, January 5, 2021 @ 16:00:35
  Author: heftig
Revision: 405327

1.18.2-2: add wpe

Modified:
  gst-plugins-bad/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-05 15:53:41 UTC (rev 405326)
+++ PKGBUILD	2021-01-05 16:00:35 UTC (rev 405327)
@@ -2,9 +2,9 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 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)
@@ -20,7 +20,7 @@
              librsvg fluidsynth lilv lv2 gst-plugins-good python git
              gobject-introspection vulkan-headers vulkan-validation-layers
              wayland-protocols gtk3 meson shaderc libavtp svt-hevc libmicrodns
-             zxing-cpp opencv libva)
+             zxing-cpp opencv libva wpewebkit)
 checkdepends=(xorg-server-xvfb)
 options=(!emptydirs)
 _commit=b375ee4cdbcb98687c226d6564f8678a809cf02a  # tags/1.18.2^0
@@ -56,7 +56,6 @@
     -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/"
@@ -97,7 +96,7 @@
   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"
@@ -125,3 +124,10 @@
 
   mv opencv "$pkgdir/usr"
 }
+
+package_gst-plugin-wpe() {
+  pkgdesc="${pkgdesc%-*}- wpe plugin"
+  depends=(gst-plugins-base-libs wpewebkit)
+
+  mv wpe "$pkgdir/usr"
+}



More information about the arch-commits mailing list