[gnome-build-meta/abderrahim/filter-gstreamer: 3/3] sdk/gst*: replace with filter elements that use the freedesktop-sdk ones



commit dbea78318b95446ff6afc13a861f2f6bf297776a
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Sun Feb 10 22:58:42 2019 +0100

    sdk/gst*: replace with filter elements that use the freedesktop-sdk ones
    
    Fixes #119

 elements/sdk/gst-libav.bst                         | 42 +++-------
 elements/sdk/gst-plugins-bad.bst                   | 67 +++++++---------
 elements/sdk/gst-plugins-base.bst                  | 61 ++++++---------
 elements/sdk/gst-plugins-good.bst                  | 47 ++++++-----
 ...v-avmux-Place-pva-case-after-generic-case.patch | 63 ---------------
 .../gst-libav-decoders-fix-draining.patch          | 90 ----------------------
 files/gst-libav/gst-libav-disable-1.15-api.patch   | 20 -----
 .../gst-libav/gst-libav-drop-1.15-dependency.patch | 15 ----
 .../gst-libav/gst-libav-stop-caching-codecs.patch  | 46 -----------
 9 files changed, 82 insertions(+), 369 deletions(-)
---
diff --git a/elements/sdk/gst-libav.bst b/elements/sdk/gst-libav.bst
index 34342834..49fb989a 100644
--- a/elements/sdk/gst-libav.bst
+++ b/elements/sdk/gst-libav.bst
@@ -1,38 +1,16 @@
-kind: autotools
-sources:
-- kind: tar
-  # Snapshot used by debian so we can use their patches
-  url: 
https://deb.debian.org/debian/pool/main/g/gst-libav1.0/gst-libav1.0_1.15.0.1+git20180723+db823502.orig.tar.xz
-- kind: patch
-  path: files/gst-libav/gst-libav-stop-caching-codecs.patch
-- kind: patch
-  path: files/gst-libav/gst-libav-disable-1.15-api.patch
-- kind: patch
-  path: files/gst-libav/gst-libav-drop-1.15-dependency.patch
-- kind: patch
-  path: files/gst-libav/gst-libav-avmux-Place-pva-case-after-generic-case.patch
-- kind: patch
-  path: files/gst-libav/gst-libav-decoders-fix-draining.patch
+kind: filter
 depends:
-- sdk/gst-plugins-base.bst
-- filename: desktop/orc.bst
-  junction: freedesktop-sdk.bst
-- filename: desktop/gstreamer.bst
-  junction: freedesktop-sdk.bst
-- filename: desktop/ffmpeg.bst
+- filename: desktop/gstreamer-libav.bst
   junction: freedesktop-sdk.bst
   type: build
-- filename: base/nasm.bst
+- filename: bootstrap-import.bst
   junction: freedesktop-sdk.bst
-  type: build
-- filename: base/buildsystem-autotools.bst
+  type: runtime
+- filename: desktop/orc.bst
   junction: freedesktop-sdk.bst
-  type: build
-- filename: base-platform.bst
+  type: runtime
+- filename: desktop/gstreamer.bst
   junction: freedesktop-sdk.bst
-variables:
-  conf-local: |
-    --with-system-libav
-  autogen: NOCONFIGURE=1 ./autogen.sh
-environment:
-  GST_CFLAGS: -DTRIPLET=\"%{gcc_triplet}\"
+  type: runtime
+- filename: sdk/gst-plugins-base.bst
+  type: runtime
diff --git a/elements/sdk/gst-plugins-bad.bst b/elements/sdk/gst-plugins-bad.bst
index 310776c2..b4292249 100644
--- a/elements/sdk/gst-plugins-bad.bst
+++ b/elements/sdk/gst-plugins-bad.bst
@@ -1,63 +1,50 @@
-kind: autotools
-sources:
-- kind: tar
-  url: gstreamer:gst-plugins-bad/gst-plugins-bad-1.14.4.tar.xz
-depends:
-- filename: sdk/gobject-introspection.bst
+kind: filter
+- filename: desktop/gstreamer-plugins-bad.bst
+  junction: freedesktop-sdk.bst
   type: build
-- sdk/gst-plugins-base.bst
-- sdk/librsvg.bst
+- filename: bootstrap-import.bst
+  junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/orc.bst
   junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/gstreamer.bst
   junction: freedesktop-sdk.bst
+  type: runtime
+- filename: sdk/gst-plugins-base.bst
+  type: runtime
 - filename: desktop/libdrm.bst
   junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/libfdk-aac.bst
   junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/libglvnd.bst
   junction: freedesktop-sdk.bst
+  type: runtime
+- filename: sdk/librsvg.bst
+  type: runtime
 - filename: desktop/libvdpau.bst
   junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/mesa.bst
   junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/openal.bst
   junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/vulkan.bst
   junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/wayland.bst
   junction: freedesktop-sdk.bst
-- filename: desktop/wayland-protocols.bst
+  type: runtime
+- filename: base/curl.bst
   junction: freedesktop-sdk.bst
-  type: build
-- filename: base/buildsystem-autotools.bst
+  type: runtime
+- filename: base/libwebp.bst
   junction: freedesktop-sdk.bst
-  type: build
-- filename: base-platform.bst
-  junction: freedesktop-sdk.bst
-variables:
-  conf-local: |
-    --enable-experimental \
-    --enable-introspection \
-    --enable-orc \
-    --enable-wayland
-public:
-  bst:
-    split-rules:
-      devel:
-        (>):
-        - '%{libdir}/libgstbadallocators-1.0.so'
-        - '%{libdir}/libgstbadbase-1.0.so'
-        - '%{libdir}/libgstcodecparsers-1.0.so'
-        - '%{libdir}/libgstplayer-1.0.so'
-        - '%{libdir}/libgstbadvideo-1.0.so'
-        - '%{libdir}/libgstbadaudio-1.0.so'
-        - '%{libdir}/libgstmpegts-1.0.so'
-        - '%{libdir}/libgstadaptivedemux-1.0.so'
-        - '%{libdir}/libgstinsertbin-1.0.so'
-        - '%{libdir}/libgsturidownloader-1.0.so'
-        - '%{libdir}/libgstbasecamerabinsrc-1.0.so'
-        - '%{libdir}/libgstphotography-1.0.so'
-        - '%{libdir}/libgstisoff-1.0.so'
-        - '%{libdir}/libgstwebrtc-1.0.so'
-        - '%{libdir}/libgstwayland-1.0.so'
+  type: runtime
+- filename: base/sndfile.bst
+  junction: freedesktop-sdk.bst
+  type: runtime
diff --git a/elements/sdk/gst-plugins-base.bst b/elements/sdk/gst-plugins-base.bst
index 0f69d425..6766e092 100644
--- a/elements/sdk/gst-plugins-base.bst
+++ b/elements/sdk/gst-plugins-base.bst
@@ -1,51 +1,34 @@
-kind: autotools
-sources:
-- kind: tar
-  url: gstreamer:gst-plugins-base/gst-plugins-base-1.14.4.tar.xz
+kind: filter
 depends:
-- filename: sdk/gobject-introspection.bst
+- filename: desktop/gstreamer-plugins-base.bst
+  junction: freedesktop-sdk.bst
   type: build
-- sdk/pango.bst
+- filename: bootstrap-import.bst
+  junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/orc.bst
   junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/gstreamer.bst
   junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/mesa.bst
   junction: freedesktop-sdk.bst
+  type: runtime
+- filename: sdk/pango.bst
+  type: runtime
 - filename: desktop/xorg-lib-xv.bst
   junction: freedesktop-sdk.bst
-- filename: base/buildsystem-autotools.bst
+  type: runtime
+- filename: base/libogg.bst
   junction: freedesktop-sdk.bst
-  type: build
-- filename: base/gettext.bst
+  type: runtime
+- filename: base/libtheora.bst
   junction: freedesktop-sdk.bst
-  type: build
-- filename: base-platform.bst
-  junction: freedesktop-sdk.bst
-variables:
-  conf-local: |
-    --enable-experimental \
-    --enable-introspection \
-    --enable-ogg \
-    --enable-opus \
-    --enable-orc \
-    --enable-pango \
-    --enable-theora \
-    --enable-vorbis
-public:
-  bst:
-    split-rules:
-      devel:
-        (>):
-        - '%{libdir}/libgstfft-1.0.so'
-        - '%{libdir}/libgstrtp-1.0.so'
-        - '%{libdir}/libgstsdp-1.0.so'
-        - '%{libdir}/libgstvideo-1.0.so'
-        - '%{libdir}/libgstapp-1.0.so'
-        - '%{libdir}/libgstriff-1.0.so'
-        - '%{libdir}/libgstrtsp-1.0.so'
-        - '%{libdir}/libgstallocators-1.0.so'
-        - '%{libdir}/libgsttag-1.0.so'
-        - '%{libdir}/libgstaudio-1.0.so'
-        - '%{libdir}/libgstpbutils-1.0.so'
-        - '%{libdir}/libgstgl-1.0.so'
+  type: runtime
+- filename: base/libvorbis.bst
+  junction: freedesktop-sdk.bst
+  type: runtime
+- filename: base/opus.bst
+  junction: freedesktop-sdk.bst
+  type: runtime
diff --git a/elements/sdk/gst-plugins-good.bst b/elements/sdk/gst-plugins-good.bst
index 34f47751..09622c11 100644
--- a/elements/sdk/gst-plugins-good.bst
+++ b/elements/sdk/gst-plugins-good.bst
@@ -1,41 +1,40 @@
-kind: autotools
-sources:
-- kind: tar
-  url: gstreamer:gst-plugins-good/gst-plugins-good-1.14.4.tar.xz
+kind: filter
 depends:
-- filename: sdk/gobject-introspection.bst
+- filename: desktop/gstreamer-plugins-good.bst
+  junction: freedesktop-sdk.bst
   type: build
-- sdk/gdk-pixbuf.bst
-- sdk/gst-plugins-base.bst
-- sdk/gtk+-3.bst
-- sdk/libsoup.bst
+- filename: bootstrap-import.bst
+  junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/cairo.bst
   junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/orc.bst
   junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/lame.bst
   junction: freedesktop-sdk.bst
+  type: runtime
 - filename: desktop/libpulse.bst
   junction: freedesktop-sdk.bst
+  type: runtime
+- filename: sdk/libsoup.bst
+  type: runtime
 - filename: desktop/mpg123.bst
   junction: freedesktop-sdk.bst
+  type: runtime
+- filename: sdk/gtk+-3.bst
+  type: runtime
+- filename: sdk/gdk-pixbuf.bst
+  type: runtime
 - filename: desktop/gstreamer.bst
   junction: freedesktop-sdk.bst
-- filename: base/buildsystem-autotools.bst
+  type: runtime
+- filename: sdk/gst-plugins-base.bst
+  type: runtime
+- filename: base/libflac.bst
   junction: freedesktop-sdk.bst
-  type: build
-# should be in base-platform
+  type: runtime
 - filename: base/wavpack.bst
   junction: freedesktop-sdk.bst
-- filename: base-platform.bst
-  junction: freedesktop-sdk.bst
-variables:
-  conf-local: |
-    --enable-cairo \
-    --enable-experimental \
-    --enable-introspection \
-    --enable-lame \
-    --enable-soup \
-    --enable-orc \
-    --enable-pulse \
-    --with-default-visualizer=autoaudiosink
+  type: runtime


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]