[packages/gstreamer-plugins-bad: 3/3] - up to 1.19.3, lost of unpackaged files including libs
baggins
baggins at pld-linux.org
Tue Nov 30 00:33:32 CET 2021
commit 17056ad41ac406b1c2ad6458225bbc47885fc8fb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Nov 30 00:32:49 2021 +0100
- up to 1.19.3, lost of unpackaged files including libs
gstreamer-plugins-bad.spec | 66 +++++++---------------------------------------
musepack.patch | 19 ++++++-------
2 files changed, 18 insertions(+), 67 deletions(-)
---
diff --git a/gstreamer-plugins-bad.spec b/gstreamer-plugins-bad.spec
index 7f252db..7494ec0 100644
--- a/gstreamer-plugins-bad.spec
+++ b/gstreamer-plugins-bad.spec
@@ -22,10 +22,8 @@
%bcond_without lv2 # LV2 plugins bridge plugin
%bcond_without mfx # Intel MediaSDK (MFX) plugin
%bcond_without mjpegtools # mpeg2enc video encoder plugin
-%bcond_without mms # mms streaming plugin
%bcond_without musepack # musepack audio decoder plugin
%bcond_without neon # neonhttpsrc HTTP client plugin
-%bcond_without ofa # OFA fingerprint plugin
%bcond_without openal # OpenAL audiosink plugin
%bcond_with opencv # OpenCV effects plugin
%bcond_without opengl # OpenGL integration (in various plugins)
@@ -54,18 +52,18 @@
%define gstname gst-plugins-bad
%define gstmver 1.0
-%define gst_ver 1.18.5
-%define gstpb_ver 1.18.5
+%define gst_ver 1.19.3
+%define gstpb_ver 1.19.3
Summary: Bad GStreamer Streaming-media framework plugins
Summary(pl.UTF-8): Złe wtyczki do środowiska obróbki strumieni GStreamer
Name: gstreamer-plugins-bad
-Version: 1.18.5
-Release: 1
+Version: 1.19.3
+Release: 0.1
License: LGPL v2+
Group: Libraries
Source0: https://gstreamer.freedesktop.org/src/gst-plugins-bad/%{gstname}-%{version}.tar.xz
-# Source0-md5: 4ab1c19c3cf1ba79c20c65f6be78e7fd
-Patch0: %{name}-musepack.patch
+# Source0-md5: 6950bd5b0131feead8f632d61e89c932
+Patch0: musepack.patch
URL: https://gstreamer.freedesktop.org/
BuildRequires: docbook-dtd412-xml
BuildRequires: gettext-tools >= 0.17
@@ -132,10 +130,8 @@ BuildRequires: libiptcdata-devel >= 1.0.2
BuildRequires: libjpeg-devel
%{?with_kate:BuildRequires: libkate-devel >= 0.1.7}
BuildRequires: liblrdf-devel
-%{?with_mms:BuildRequires: libmms-devel >= 0.4}
BuildRequires: libmodplug-devel
BuildRequires: libnice-devel >= 0.1.14
-%{?with_ofa:BuildRequires: libofa-devel >= 0.9.3}
BuildRequires: libopenmpt-devel
BuildRequires: libpng-devel >= 2:1.2.0
%{?with_librsvg:BuildRequires: librsvg-devel >= 1:2.36.2}
@@ -200,6 +196,8 @@ Requires: gstreamer-plugins-base >= %{gstpb_ver}
Requires: libxml2 >= 1:2.8
Requires: orc >= 0.4.17
Obsoletes: gstreamer-cdaudio < 1.0
+Obsoletes: gstreamer-mms < 1.19.3
+Obsoletes: gstreamer-ofa < 1.19.3
Obsoletes: gstreamer-quicktime < 0.10
Obsoletes: gstreamer-schroedinger < 1.14
Obsoletes: gstreamer-vcd < 0.10
@@ -683,20 +681,6 @@ GStreamer mpeg2enc plugin (based on mjpegtools libraries).
%description -n gstreamer-mjpegtools -l pl.UTF-8
Wtyczka mpeg2enc dla GStreamera (oparta na bibliotekach mjpegtools).
-%package -n gstreamer-mms
-Summary: GStreamer mms plugin
-Summary(pl.UTF-8): Wtyczka mms dla GStreamera
-Group: Libraries
-Requires: gstreamer >= %{gst_ver}
-Requires: gstreamer-plugins-base >= %{gstpb_ver}
-Requires: libmms >= 0.4
-
-%description -n gstreamer-mms
-GStreamer mms plugin.
-
-%description -n gstreamer-mms -l pl.UTF-8
-Wtyczka mms dla GStreamera.
-
%package -n gstreamer-msdk
Summary: Intel MediaSDK (MFX) plugin for GStreamer
Summary(pl.UTF-8): Wtyczka MediaSDK (MFX) dla GStreamera
@@ -736,22 +720,6 @@ GStreamer neon HTTP source plugin.
%description -n gstreamer-neon -l pl.UTF-8
Wtyczka źródła HTTP neon dla GStreamera.
-%package -n gstreamer-ofa
-Summary: GStreamer OFA fingerprint plugin
-Summary(pl.UTF-8): Wtyczka odcisków OFA dla GStreamera
-Group: Libraries
-Requires: gstreamer >= %{gst_ver}
-Requires: gstreamer-plugins-base >= %{gstpb_ver}
-Requires: libofa >= 0.9.3
-
-%description -n gstreamer-ofa
-GStreamer OFA plugin to calculate MusicIP fingerprints from audio
-files.
-
-%description -n gstreamer-ofa -l pl.UTF-8
-Wtyczka OFA dla GStreamera, służąca do obliczania odcisków MusicIP
-plików dźwiękowych.
-
%package -n gstreamer-openal
Summary: GStreamer OpenAL audio input/output plugin
Summary(pl.UTF-8): Wtyczka wejścia/wyjścia dźwięku OpenAL dla GStreamera
@@ -1270,6 +1238,7 @@ Wtyczka GStreamera skanująca kody kreskowe.
%patch0 -p1
%build
+export CXXFLAGS="%{rpmcxxflags} -std=c++11"
%meson build \
--default-library=shared \
%{!?with_bluez:-Dbluez=disabled} \
@@ -1282,11 +1251,9 @@ Wtyczka GStreamera skanująca kody kreskowe.
%{!?with_gsm:-Dgsm=disabled} \
%{!?with_ladspa:-Dladspa=disabled} \
%{!?with_libde265:-Dlibde265=disabled} \
- %{!?with_mms:-Dlibmms=disabled} \
%{!?with_mjpegtools:-Dmpeg2enc=disabled} \
%{!?with_musepack:-Dmusepack=disabled} \
%{!?with_neon:-Dneon=disabled} \
- %{!?with_ofa:-Dofa=disabled} \
%{!?with_openal:-Dopenal=disabled} \
%{!?with_opencv:-Dopencv=disabled} \
%{!?with_openh264:-Dopenh264=disabled} \
@@ -1299,6 +1266,7 @@ Wtyczka GStreamera skanująca kody kreskowe.
%{!?with_wayland:-Dwayland=disabled} \
%{!?with_x265:-Dx265=disabled} \
%{!?with_yadif:-Dyadif=disabled} \
+ -Dgpl=enabled \
-Dzxing=disabled
%ninja_build -C build
@@ -1606,7 +1574,6 @@ rm -rf $RPM_BUILD_ROOT
%{_docdir}/gstreamer-%{gstmver}/mediafoundation-doc
%{_docdir}/gstreamer-%{gstmver}/microdns-doc
%{_docdir}/gstreamer-%{gstmver}/midi-doc
-%{_docdir}/gstreamer-%{gstmver}/mms-doc
%{_docdir}/gstreamer-%{gstmver}/modplug-doc
%{_docdir}/gstreamer-%{gstmver}/mpeg2enc-doc
%{_docdir}/gstreamer-%{gstmver}/mpegpsdemux-doc
@@ -1620,7 +1587,6 @@ rm -rf $RPM_BUILD_ROOT
%{_docdir}/gstreamer-%{gstmver}/neonhttpsrc-doc
%{_docdir}/gstreamer-%{gstmver}/netsim-doc
%{_docdir}/gstreamer-%{gstmver}/nvcodec-doc
-%{_docdir}/gstreamer-%{gstmver}/ofa-doc
%{_docdir}/gstreamer-%{gstmver}/openal-doc
%{_docdir}/gstreamer-%{gstmver}/opencv-doc
%{_docdir}/gstreamer-%{gstmver}/openexr-doc
@@ -1874,12 +1840,6 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{gstlibdir}/libgstmplex.so
%endif
-%if %{with mms}
-%files -n gstreamer-mms
-%defattr(644,root,root,755)
-%attr(755,root,root) %{gstlibdir}/libgstmms.so
-%endif
-
%if %{with mfx}
%files -n gstreamer-msdk
%defattr(644,root,root,755)
@@ -1898,12 +1858,6 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{gstlibdir}/libgstneonhttpsrc.so
%endif
-%if %{with ofa}
-%files -n gstreamer-ofa
-%defattr(644,root,root,755)
-%attr(755,root,root) %{gstlibdir}/libgstofa.so
-%endif
-
%if %{with openal}
%files -n gstreamer-openal
%defattr(644,root,root,755)
diff --git a/musepack.patch b/musepack.patch
index b3dced6..430a4d1 100644
--- a/musepack.patch
+++ b/musepack.patch
@@ -1,11 +1,8 @@
---- gst-plugins-bad-1.16.3/configure.ac.orig 2021-10-15 12:52:01.804215859 +0200
-+++ gst-plugins-bad-1.16.3/configure.ac 2021-10-15 12:51:22.824978823 +0200
-@@ -1776,7 +1776,7 @@
- AG_GST_CHECK_FEATURE(MUSEPACK, [musepackdec], musepack, [
- AC_CHECK_HEADER([mpc/mpcdec.h], [
- HAVE_MUSEPACK="yes"
-- MUSEPACK_LIBS="-lmpcdec"
-+ MUSEPACK_LIBS="-lmpcdecsv8"
- AC_SUBST(MUSEPACK_LIBS)
- ], [HAVE_MUSEPACK="no"])
- ])
+--- gst-plugins-bad-1.19.3/ext/musepack/meson.build~ 2021-11-03 16:45:52.000000000 +0100
++++ gst-plugins-bad-1.19.3/ext/musepack/meson.build 2021-11-29 23:20:56.692847025 +0100
+@@ -1,4 +1,4 @@
+-mpcdec_dep = cc.find_library('mpcdec', required: get_option('musepack'))
++mpcdec_dep = cc.find_library('mpcdecsv8', required: get_option('musepack'))
+
+ if mpcdec_dep.found() and cc.has_header_symbol('mpc/mpcdec.h', 'mpc_demux_init', dependencies: mpcdec_dep)
+ gstmusepack = library('gstmusepack',
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gstreamer-plugins-bad.git/commitdiff/17056ad41ac406b1c2ad6458225bbc47885fc8fb
More information about the pld-cvs-commit
mailing list