commit da80cfb7be405487615526eb3161843fd3159258
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Jun 22 19:09:57 2020 +0100
1.17.1
build_what_we_need_only.patch | 114 ++++++++++++++++++++++++++++++++++
gstreamer1-plugins-bad-freeworld.spec | 55 ++++++----------
sources | 2 +-
3 files changed, 135 insertions(+), 36 deletions(-)
---
diff --git a/build_what_we_need_only.patch b/build_what_we_need_only.patch
new file mode 100644
index 0000000..46ae546
--- /dev/null
+++ b/build_what_we_need_only.patch
@@ -0,0 +1,114 @@
+--- a/ext/meson.build
++++ b/ext/meson.build
+@@ -1,69 +1,9 @@
+-subdir('assrender')
+-subdir('aom')
+-subdir('avtp')
+-subdir('bs2b')
+-subdir('bz2')
+-subdir('chromaprint')
+-subdir('closedcaption')
+-subdir('colormanagement')
+-subdir('curl')
+-subdir('dash')
+-subdir('dc1394')
+-subdir('directfb')
+-subdir('dtls')
+ subdir('dts')
+-subdir('faac')
+ subdir('faad')
+-subdir('fdkaac')
+-subdir('flite')
+-subdir('fluidsynth')
+-subdir('gme')
+-subdir('gsm')
+-subdir('hls')
+-subdir('iqa')
+-subdir('kate')
+-subdir('ladspa')
+ subdir('libde265')
+ subdir('libmms')
+-subdir('lv2')
+-subdir('mdns')
+-subdir('modplug')
+ subdir('mpeg2enc')
+ subdir('mplex')
+-subdir('musepack')
+-subdir('neon')
+-subdir('ofa')
+-subdir('openal')
+-subdir('opencv')
+-subdir('openexr')
+-subdir('openh264')
+-subdir('openjpeg')
+-subdir('openmpt')
+-subdir('openni2')
+-subdir('opus')
+-subdir('resindvd')
+-subdir('rsvg')
+ subdir('rtmp')
+-subdir('sbc')
+-subdir('sctp')
+-subdir('smoothstreaming')
+-subdir('sndfile')
+-subdir('soundtouch')
+-subdir('spandsp')
+-subdir('srt')
+-subdir('srtp')
+-subdir('svthevcenc')
+-subdir('teletextdec')
+-subdir('ttml')
+-subdir('voaacenc')
+ subdir('voamrwbenc')
+-subdir('vulkan')
+-subdir('wayland')
+-subdir('webrtc')
+-subdir('webrtcdsp')
+-subdir('webp')
+-subdir('wildmidi')
+-subdir('wpe')
+ subdir('x265')
+-subdir('zxing')
+-subdir('zbar')
+
+--- a/gst/meson.build
++++ b/gst/meson.build
+@@ -1,18 +1,4 @@
+-foreach plugin : ['accurip', 'adpcmdec', 'adpcmenc',
'aiff', 'asfmux',
+- 'audiobuffersplit', 'audiofxbad',
'audiomixmatrix',
+- 'audiolatency', 'audiovisualizers',
'autoconvert', 'bayer',
+- 'camerabin2', 'coloreffects', 'debugutils',
'dvbsubenc',
+- 'dvbsuboverlay', 'dvdspu', 'faceoverlay',
'festival',
+- 'fieldanalysis', 'freeverb', 'frei0r',
'gaudieffects', 'gdp',
+- 'geometrictransform', 'id3tag', 'inter',
'interlace',
+- 'ivfparse', 'ivtc', 'jp2kdecimator',
'jpegformat', 'librfb',
+- 'midi', 'mpegdemux', 'mpegpsmux',
'mpegtsdemux', 'mpegtsmux',
+- 'mxf', 'netsim', 'onvif', 'pcapparse',
'pnm', 'proxy',
+- 'rawparse', 'removesilence', 'rist',
'rtmp2', 'rtp', 'sdp',
+- 'segmentclip', 'siren', 'smooth',
'speed', 'subenc', 'switchbin',
+- 'timecode', 'transcode', 'videofilters',
+- 'videoframe_audiolevel', 'videoparsers',
'videosignal',
+- 'vmnc', 'y4m']
++foreach plugin : ['dvbsuboverlay', 'dvdspu', 'siren']
+ if not get_option(plugin).disabled()
+ subdir(plugin)
+ endif
+
+--- a/meson.build
++++ b/meson.build
+@@ -437,14 +437,9 @@
+ plugins_pkgconfig_install_dir = disabler()
+ endif
+
+-subdir('gst-libs')
+ subdir('gst')
+-subdir('sys')
+ subdir('ext')
+-subdir('tests')
+ subdir('data')
+-subdir('tools')
+-subdir('pkgconfig')
+
+ # xgettext is optional (on Windows for instance)
+ if find_program('xgettext', required : get_option('nls')).found()
+
diff --git a/gstreamer1-plugins-bad-freeworld.spec
b/gstreamer1-plugins-bad-freeworld.spec
index 86b78ed..8d5effc 100644
--- a/gstreamer1-plugins-bad-freeworld.spec
+++ b/gstreamer1-plugins-bad-freeworld.spec
@@ -1,21 +1,17 @@
-# which plugins to actually build and install
-%global gstdirs gst/dvbsuboverlay gst/dvdspu gst/siren
-%global extdirs ext/dts ext/faad ext/libde265 ext/libmms ext/mpeg2enc ext/mplex ext/rtmp
ext/voamrwbenc ext/x265
-
Summary: GStreamer 1.0 streaming media framework "bad" plug-ins
Name: gstreamer1-plugins-bad-freeworld
-Version: 1.16.2
-Release: 6%{?dist}
+Version: 1.17.1
+Release: 1%{?dist}
License: LGPLv2+
URL:
https://gstreamer.freedesktop.org/
Source0: %{url}/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.xz
+Patch0: build_what_we_need_only.patch
-BuildRequires: gcc
-BuildRequires: gcc-c++
+BuildRequires: gcc-objc++
+BuildRequires: meson
BuildRequires: gstreamer1-devel >= %{version}
BuildRequires: gstreamer1-plugins-base-devel >= %{version}
BuildRequires: check
-BuildRequires: gettext-devel
BuildRequires: libXt-devel
BuildRequires: orc-devel
BuildRequires: libdca-devel
@@ -38,40 +34,26 @@ well enough, or the code is not of good enough quality.
%prep
-%autosetup -n gst-plugins-bad-%{version}
+%autosetup -p1 -n gst-plugins-bad-%{version}
%build
# Note we don't bother with disabling everything which is in Fedora, that
# is unmaintainable, instead we selectively run make in subdirs
-%configure \
- --disable-silent-rules --disable-fatal-warnings \
- --disable-static \
- --disable-gtk-doc \
- --with-package-name="gst-plugins-bad 1.0 rpmfusion rpm" \
- --with-package-origin="http://rpmfusion.org/" \
- --enable-debug \
- --enable-experimental
-
-# Don't use rpath!
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-
-for i in %{gstdirs} %{extdirs}; do
- pushd $i
- %make_build V=2
- popd
-done
+%meson \
+ -D package-name='gst-libav 1.0 rpmfusion rpm' \
+ -D
package-origin='http://rpmfusion.org/' \
+ -D doc=disabled \
+ -D introspection=disabled \
+ -D examples=disabled \
+ -D nls=disabled
-%install
-for i in %{gstdirs} %{extdirs}; do
- pushd $i
- %make_install V=2
- popd
-done
+%meson_build
-rm -fv %{buildroot}%{_libdir}/gstreamer-1.0/*.la
+
+%install
+%meson_install
%files
@@ -99,6 +81,9 @@ rm -fv %{buildroot}%{_libdir}/gstreamer-1.0/*.la
%changelog
+* Mon Jun 22 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.17.1-1
+- 1.17.1
+
* Sun May 31 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.16.2-6
- Rebuild for new x265 version
diff --git a/sources b/sources
index 505acd9..36cf57c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gst-plugins-bad-1.16.2.tar.xz) =
aeaf3388156fe7317e193a3f940d391a6d8a1187f93e6925cee4cb02c4e78d9b456c22c27c318f0f9b2212ca68887c5cdcc256adaf068bfab8ec5c091a1e8805
+SHA512 (gst-plugins-bad-1.17.1.tar.xz) =
8825c0e35cb8fc1c1c006bdbee0ed538e493d29ddb97011ea649a385cba669e49dc3fc6b902dbbcc343dcaa4afcf950295423a90852ca21df106e94659ee0cf0