diff --git a/gst-plugins-base-1.14.5.tar.xz b/gst-plugins-base-1.14.5.tar.xz deleted file mode 100644 index 2b802c1..0000000 --- a/gst-plugins-base-1.14.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7bfa9b329ea7f3c654fa1b2d43650bf2646598a5e3cb21f42c516b7e975d638e -size 3717076 diff --git a/gst-plugins-base-1.16.0.tar.xz b/gst-plugins-base-1.16.0.tar.xz new file mode 100644 index 0000000..2c0df92 --- /dev/null +++ b/gst-plugins-base-1.16.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4093aa7b51e28fb24dfd603893fead8d1b7782f088b05ed0f22a21ef176fb5ae +size 3924664 diff --git a/gst-plugins-base-doc-build-fix.patch b/gst-plugins-base-doc-build-fix.patch new file mode 100644 index 0000000..0e9e102 --- /dev/null +++ b/gst-plugins-base-doc-build-fix.patch @@ -0,0 +1,24 @@ +diff -urp gst-plugins-base-1.16.0.orig/docs/libs/Makefile.am gst-plugins-base-1.16.0/docs/libs/Makefile.am +--- gst-plugins-base-1.16.0.orig/docs/libs/Makefile.am 2019-01-26 12:51:01.000000000 -0600 ++++ gst-plugins-base-1.16.0/docs/libs/Makefile.am 2019-06-15 11:56:25.524212304 -0500 +@@ -104,7 +104,7 @@ extra_files = + + # CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib + # contains GtkObjects/GObjects and you want to document signals and properties. +-GTKDOC_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) ++GTKDOC_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GL_CFLAGS) + GTKDOC_LIBS = \ + $(top_builddir)/gst-libs/gst/allocators/libgstallocators-@GST_API_VERSION@.la \ + $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ +diff -urp gst-plugins-base-1.16.0.orig/docs/libs/Makefile.in gst-plugins-base-1.16.0/docs/libs/Makefile.in +--- gst-plugins-base-1.16.0.orig/docs/libs/Makefile.in 2019-04-18 18:16:04.000000000 -0500 ++++ gst-plugins-base-1.16.0/docs/libs/Makefile.in 2019-06-15 11:57:19.124524248 -0500 +@@ -634,7 +634,7 @@ extra_files = + + # CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib + # contains GtkObjects/GObjects and you want to document signals and properties. +-GTKDOC_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) ++GTKDOC_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GL_CFLAGS) + GTKDOC_LIBS = \ + $(top_builddir)/gst-libs/gst/allocators/libgstallocators-@GST_API_VERSION@.la \ + $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \ diff --git a/gstreamer-plugins-base.changes b/gstreamer-plugins-base.changes index 3f2604b..f948757 100644 --- a/gstreamer-plugins-base.changes +++ b/gstreamer-plugins-base.changes @@ -1,3 +1,58 @@ +------------------------------------------------------------------- +Tue Jun 18 21:24:11 UTC 2019 - mgorse@suse.com + +- Update to version 1.16.0: + + Highlights + - GStreamer WebRTC stack gained support for data channels for + peer-to-peer communication based on SCTP, BUNDLE support, as + well as support for multiple TURN servers. + - AV1 video codec support for Matroska and QuickTime/MP4 + containers and more configuration options and supported + input formats for the AOMedia AV1 encoder + - Support for Closed Captions and other Ancillary Data in video + - Support for planar (non-interleaved) raw audio + - GstVideoAggregator, compositor and OpenGL mixer elements are + now in -base + - New alternate fields interlace mode where each buffer carries + a single field + - WebM and Matroska ContentEncryption support in the Matroska + demuxer + - new WebKit WPE-based web browser source element + - Video4Linux: HEVC encoding and decoding, JPEG encoding, and + improved dmabuf import/export + - Hardware-accelerated Nvidia video decoder gained support for + VP8/VP9 decoding, whilst the encoder gained support for + H.265/HEVC encoding. + - Many improvements to the Intel Media SDK based + hardware-accelerated video decoder and encoder plugin (msdk): + dmabuf import/export for zero-copy integration with other + components; VP9 decoding; 10-bit HEVC encoding; video + post-processing (vpp) support including deinterlacing; and + the video decoder now handles dynamic resolution changes. + - The ASS/SSA subtitle overlay renderer can now handle multiple + subtitles that overlap in time and will show them on screen + simultaneously + - The Meson build is now feature-complete (*) and it is now the + recommended build system on all platforms. The Autotools + build is scheduled to be removed in the next cycle. + - The GStreamer Rust bindings and Rust plugins module are now + officially part of upstream GStreamer. + - The GStreamer Editing Services gained a gesdemux element that + allows directly playing back serialized edit list with + playbin or (uri)decodebin + - Many performance improvements +- Switch to meson for Tumbleweed. +- Adjust line to get the minimum required gstreamer version. +- Disable tremor (needs libvorbisidec) +- Disable examples. +- Package libgstcompositor.so and libgstoverlaycomposition.so. +- Adjust documentation directory. +- Add gst-plugins-base-doc-build-fix.patch: fix build with + automake. +- Up gstreamer-plugins-bad Conflicts. +- Now requires glib2 >= 2.40. +- Obsolete libgstbadvideo-1_0-0: now part of -base. + ------------------------------------------------------------------- Fri May 31 21:36:38 UTC 2019 - Bjørn Lie diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec index e58e7f3..dbc3602 100644 --- a/gstreamer-plugins-base.spec +++ b/gstreamer-plugins-base.spec @@ -18,9 +18,13 @@ %define _name gst-plugins-base %define gst_branch 1.0 -%define gstreamer_plugins_base_req %(xzgrep --text "^GST[_A-Z]*_REQ" %{SOURCE0} | sort -u | sed 's/GST_REQ=/gstreamer >= /') +%define gstreamer_plugins_base_req %(xzgrep --text "^GST[_A-Z]*_REQ.*=" %{SOURCE0} | sort -u | sed 's/GST_REQ=/gstreamer >= /') + +# Disable for now. Plugin docs aren't being generated +%define use_meson 0 + Name: gstreamer-plugins-base -Version: 1.14.5 +Version: 1.16.0 Release: 0 Summary: GStreamer Streaming-Media Framework Plug-Ins License: LGPL-2.1-or-later AND GPL-2.0-or-later @@ -29,6 +33,7 @@ URL: https://gstreamer.freedesktop.org/ Source0: https://gstreamer.freedesktop.org/src/gst-plugins-base/%{_name}-%{version}.tar.xz Source1: gstreamer-plugins-base.appdata.xml Source2: baselibs.conf +Patch0: gst-plugins-base-doc-build-fix.patch BuildRequires: Mesa-libGLESv3-devel BuildRequires: cdparanoia-devel @@ -43,6 +48,9 @@ BuildRequires: libXext-devel BuildRequires: libXv-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel +%if %{use_meson} +BuildRequires: meson >= 0.47.0 +%endif BuildRequires: pkgconfig BuildRequires: python3-base BuildRequires: python3-xml @@ -53,11 +61,11 @@ BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(freetype2) >= 2.0.9 BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(gdk-pixbuf-2.0) -BuildRequires: pkgconfig(gio-unix-2.0) >= 2.24 +BuildRequires: pkgconfig(gio-unix-2.0) >= 2.40 BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glesv1_cm) BuildRequires: pkgconfig(glesv2) -BuildRequires: pkgconfig(glib-2.0) >= 2.24 +BuildRequires: pkgconfig(glib-2.0) >= 2.40 BuildRequires: pkgconfig(gmodule-no-export-2.0) BuildRequires: pkgconfig(gstreamer-1.0) >= %{version} BuildRequires: pkgconfig(gtk+-3.0) >= 3.10 @@ -95,8 +103,9 @@ Recommends: PackageKit-gstreamer-plugin Supplements: gstreamer # Generic name, never used in SuSE: Provides: gst-plugins-base = %{version} +Obsoletes: libgstbadvideo-1_0-0 Obsoletes: typelib-1_0-GstFft-1_0 < 1.14.0 -Conflicts: gstreamer-plugins-bad < 1.13.92 +Conflicts: gstreamer-plugins-bad < 1.16.0 %description GStreamer is a streaming media framework based on graphs of filters @@ -462,6 +471,21 @@ translation-update-upstream po gst-plugins-base-%{gst_branch} %build export PYTHON=%{_bindir}/python3 +%if %{use_meson} +# TODO: tremor needs libvorbisidec +%{meson} \ + -Dpackage-name='openSUSE GStreamer-plugins-base package'\ + -Dpackage-origin='http://download.opensuse.org'\ + -Dgtk_doc=enabled \ + -Dintrospection=enabled \ +%if 0%{?is_opensuse} + -Dorc=enabled \ +%endif + -Dexamples=disabled \ + -Dtremor=disabled \ + %{nil} +%{meson_build} +%else %configure\ --with-package-name='openSUSE GStreamer-plugins-base package'\ --with-package-origin='http://download.opensuse.org'\ @@ -473,9 +497,14 @@ export PYTHON=%{_bindir}/python3 %endif %{nil} make %{?_smp_mflags} +%endif %install +%if %{use_meson} +%{meson_install} +%else %make_install +%endif if [ -f %{buildroot}%{_datadir}/appdata/gstreamer-plugins-base.appdata.xml ]; then echo "Please remove the added gstreamer-plugins-base.appdata.xml file from the sources - the tarball installs it" false @@ -543,12 +572,14 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_libdir}/gstreamer-%{gst_branch}/libgstaudiotestsrc.so %{_libdir}/gstreamer-%{gst_branch}/libgstaudiorate.so %{_libdir}/gstreamer-%{gst_branch}/libgstcdparanoia.so +%{_libdir}/gstreamer-%{gst_branch}/libgstcompositor.so %{_libdir}/gstreamer-%{gst_branch}/libgstencoding.so %{_libdir}/gstreamer-%{gst_branch}/libgstgio.so %{_libdir}/gstreamer-%{gst_branch}/libgstlibvisual.so %{_libdir}/gstreamer-%{gst_branch}/libgstogg.so %{_libdir}/gstreamer-%{gst_branch}/libgstopengl.so %{_libdir}/gstreamer-%{gst_branch}/libgstopus.so +%{_libdir}/gstreamer-%{gst_branch}/libgstoverlaycomposition.so %{_libdir}/gstreamer-%{gst_branch}/libgstpango.so %{_libdir}/gstreamer-%{gst_branch}/libgstpbtypes.so %{_libdir}/gstreamer-%{gst_branch}/libgstplayback.so @@ -647,8 +678,12 @@ find %{buildroot} -type f -name "*.la" -delete -print %files doc %doc AUTHORS NEWS README RELEASE REQUIREMENTS +%if %{use_meson} +%{_datadir}/gtk-doc/html/gst-plugins-base-libs +%else %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{gst_branch} %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{gst_branch} +%endif %files lang -f %{_name}-%{gst_branch}.lang