From 9e6cbae4bd487dcc8cc1a3fb6e958036ba399e3e Mon Sep 17 00:00:00 2001 From: Dmitry Samoylik Date: Mon, 23 Dec 2024 14:15:07 +0300 Subject: [PATCH] import gstreamer1-plugins-bad-freeworld-1.22.9-3.el10 --- .gitignore | 1 + .gstreamer1-plugins-bad-freeworld.metadata | 1 + SOURCES/build_what_we_need_only.patch | 129 ++++++ SPECS/gstreamer1-plugins-bad-freeworld.spec | 434 ++++++++++++++++++++ 4 files changed, 565 insertions(+) create mode 100644 .gitignore create mode 100644 .gstreamer1-plugins-bad-freeworld.metadata create mode 100644 SOURCES/build_what_we_need_only.patch create mode 100644 SPECS/gstreamer1-plugins-bad-freeworld.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..24d7df6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gst-plugins-bad-1.22.9.tar.xz diff --git a/.gstreamer1-plugins-bad-freeworld.metadata b/.gstreamer1-plugins-bad-freeworld.metadata new file mode 100644 index 0000000..b845c04 --- /dev/null +++ b/.gstreamer1-plugins-bad-freeworld.metadata @@ -0,0 +1 @@ +c68a796798631106bbd385abc645419d585cb414 SOURCES/gst-plugins-bad-1.22.9.tar.xz diff --git a/SOURCES/build_what_we_need_only.patch b/SOURCES/build_what_we_need_only.patch new file mode 100644 index 0000000..b963499 --- /dev/null +++ b/SOURCES/build_what_we_need_only.patch @@ -0,0 +1,129 @@ +diff -uNrp a/ext/meson.build b/ext/meson.build +--- a/ext/meson.build 2023-01-23 19:29:34.000000000 +0000 ++++ b/ext/meson.build 2023-02-19 12:17:51.741137633 +0000 +@@ -1,75 +1,7 @@ +-subdir('aes') +-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('gs') +-subdir('gsm') +-subdir('gtk') +-subdir('hls') +-subdir('iqa') +-subdir('isac') +-subdir('kate') +-subdir('ladspa') +-subdir('ldac') + subdir('libde265') +-subdir('lv2') +-subdir('mdns') +-subdir('modplug') + subdir('mpeg2enc') + subdir('mplex') +-subdir('musepack') +-subdir('neon') +-subdir('onnx') +-subdir('openal') +-subdir('openaptx') +-subdir('opencv') +-subdir('openexr') +-subdir('openh264') +-subdir('openjpeg') +-subdir('openmpt') +-subdir('openni2') +-subdir('opus') +-subdir('qroverlay') +-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') +diff -uNrp a/gst/meson.build b/gst/meson.build +--- a/gst/meson.build 2023-01-23 19:29:34.000000000 +0000 ++++ b/gst/meson.build 2023-02-19 12:17:51.742137630 +0000 +@@ -1,19 +1,4 @@ +-foreach plugin : ['accurip', 'adpcmdec', 'adpcmenc', 'aiff', 'asfmux', +- 'audiobuffersplit', 'audiofxbad', 'audiomixmatrix', +- 'audiolatency', 'audiovisualizers', 'autoconvert', 'bayer', +- 'camerabin2', 'codecalpha', 'codectimestamper', '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 : ['dvdspu'] + if not get_option(plugin).disabled() + subdir(plugin) + endif +diff -uNrp a/meson.build b/meson.build +--- a/meson.build 2023-01-23 19:29:34.000000000 +0000 ++++ b/meson.build 2023-02-19 12:17:51.743137626 +0000 +@@ -309,6 +309,8 @@ gstapp_dep = dependency('gstreamer-app-1 + fallback : ['gst-plugins-base', 'app_dep']) + gstaudio_dep = dependency('gstreamer-audio-1.0', version : gst_req, + fallback : ['gst-plugins-base', 'audio_dep']) ++gstcodecparsers_dep = dependency('gstreamer-codecparsers-1.0', version : gst_req, ++ fallback : ['gst-plugins-bad', 'codecparsers_dep']) + gstfft_dep = dependency('gstreamer-fft-1.0', version : gst_req, + fallback : ['gst-plugins-base', 'fft_dep']) + gstriff_dep = dependency('gstreamer-riff-1.0', version : gst_req, +@@ -540,13 +542,9 @@ pkgconfig.generate( + + gpl_allowed = get_option('gpl').allowed() + +-subdir('gst-libs') + subdir('gst') +-subdir('sys') + subdir('ext') +-subdir('tests') + subdir('data') +-subdir('tools') + + if have_orcc + update_orc_dist_files = find_program('scripts/update-orc-dist-files.py') diff --git a/SPECS/gstreamer1-plugins-bad-freeworld.spec b/SPECS/gstreamer1-plugins-bad-freeworld.spec new file mode 100644 index 0000000..083e80c --- /dev/null +++ b/SPECS/gstreamer1-plugins-bad-freeworld.spec @@ -0,0 +1,434 @@ +Summary: GStreamer 1.0 streaming media framework "bad" plug-ins +Name: gstreamer1-plugins-bad-freeworld +Epoch: 1 +Version: 1.22.9 +Release: 3%{?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-objc++ +BuildRequires: meson +BuildRequires: gstreamer1-devel >= %{version} +BuildRequires: gstreamer1-plugins-base-devel >= %{version} +BuildRequires: gstreamer1-plugins-bad-free-devel >= %{version} +BuildRequires: check +BuildRequires: libXt-devel +BuildRequires: orc-devel +BuildRequires: faad2-devel +BuildRequires: mjpegtools-devel >= 2.0.0 +BuildRequires: librtmp-devel +BuildRequires: openssl-devel + +%ifarch x86_64 +BuildRequires: svt-hevc-devel +Provides: gstreamer1-svt-hevc = %{version}-%{release} +Provides: gstreamer1-svt-hevc%{?_isa} = %{version}-%{release} +Obsoletes: gstreamer1-svt-hevc < %{version}-%{release} +%endif +BuildRequires: libusbx-devel +BuildRequires: x265-devel +BuildRequires: libde265-devel + + +%description +GStreamer is a streaming media framework, based on graphs of elements which +operate on media data. + +This package contains plug-ins that have licensing issues, aren't tested +well enough, or the code is not of good enough quality. + + +%prep +%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 +%meson \ + -D package-name='gst-plugins-bad 1.0 rpmfusion rpm' \ + -D package-origin='http://rpmfusion.org/' \ + -D doc=disabled \ + -D introspection=disabled \ + -D examples=disabled \ + -D gpl=enabled \ +%ifnarch x86_64 + -D svthevcenc=disabled \ +%endif + -D nls=disabled + + +%meson_build + + +%install +%meson_install +rm -rf %{buildroot}%{_datadir}/gstreamer-1.0/encoding-profiles/ +rm -rf %{buildroot}%{_libdir}/pkgconfig + + +%files +%doc AUTHORS NEWS README.md README.static-linking RELEASE REQUIREMENTS +%license COPYING +# Take the whole dir for proper dir ownership (shared with other plugin pkgs) +%{_datadir}/gstreamer-1.0 + +# Plugins without external dependencies +%{_libdir}/gstreamer-1.0/libgstdvdspu.so + +# Plugins with external dependencies +%{_libdir}/gstreamer-1.0/libgstde265.so +%{_libdir}/gstreamer-1.0/libgstfaad.so +%{_libdir}/gstreamer-1.0/libgstmpeg2enc.so +%{_libdir}/gstreamer-1.0/libgstmplex.so +%{_libdir}/gstreamer-1.0/libgstrtmp.so +%ifarch x86_64 +%{_libdir}/gstreamer-1.0/libgstsvthevcenc.so +%endif +%{_libdir}/gstreamer-1.0/libgstx265.so + + +%changelog +* Mon Dec 23 2024 Dmitriy Samoylik - 1.22.9-3 +- Rebuilt for MSVSphere 10 + +* Sat Apr 06 2024 Leigh Scott - 1:1.22.9-3 +- Rebuild for new x265 version + +* Sat Feb 03 2024 RPM Fusion Release Engineering - 1:1.22.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jan 31 2024 Dominik Mierzejewski - 1:1.22.9-1 +- Update to 1.22.9 + +* Wed Dec 20 2023 Dominik Mierzejewski - 1:1.22.8-1 +- Update to 1.22.8 +- Drop plugins moved to Fedora + +* Wed Nov 15 2023 Nicolas Chauvet - 1:1.22.7-1 +- Update to 1.22.7 + +* Wed Nov 08 2023 Leigh Scott - 1:1.22.6-2 +- Rebuild for new faad2 version + +* Thu Nov 02 2023 Leigh Scott - 1:1.22.6-1 +- Update gstreamer1-plugins-ugly to 1.22.6 + +* Sat Aug 12 2023 Leigh Scott - 1:1.22.5-1 +- Update gstreamer1-plugins-bad-freeworld to 1.22.5 + +* Wed Aug 02 2023 RPM Fusion Release Engineering - 1:1.22.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu May 25 2023 Sérgio Basto - 1:1.22.3-1 +- Update gstreamer1-plugins-bad-freeworld to 1.22.3 + +* Sun May 14 2023 Sérgio Basto - 1:1.22.2-4 +- Bump to have a bigger release than version without epoch + +* Sun May 14 2023 Sérgio Basto - 1:1.22.2-3 +- Bump to have a bigger release than version without epoch + +* Sat May 06 2023 Sérgio Basto - 1:1.22.2-2 +- Fedora add voamrwbenc plugin, remove it in here + +* Sun Apr 23 2023 Leigh Scott - 1:1.22.2-1 +- Updated to version 1.22.2 + +* Wed Mar 29 2023 Vitaly Zaitsev - 1:1.22.1-1 +- Updated to version 1.22.1. + +* Sun Feb 19 2023 Leigh Scott - 1:1.22.0-1 +- Update gstreamer1-plugins-ugly to 1.22.0 + +* Thu Jan 12 2023 Vitaly Zaitsev - 1:1.20.5-1 +- Updated to version 1.20.5. + +* Sat Nov 12 2022 Leigh Scott - 1:1.20.4-1 +- Updated to version 1.20.4 + +* Sun Aug 07 2022 RPM Fusion Release Engineering - 1:1.20.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg + 5.1 + +* Fri Jul 22 2022 Vitaly Zaitsev - 1:1.20.3-1 +- Updated to version 1.20.3. + +* Sun Feb 06 2022 Sérgio Basto - 1:1.20.0-1 +- Update gstreamer1-plugins-bad-freeworld to 1.20.0 + +* Sun Nov 14 2021 Sérgio Basto - 1:1.19.3-1 +- Update gstreamer1-plugins-bad-freeworld to 1.19.3 + +* Sat Oct 09 2021 Sérgio Basto - 1:1.19.2-1 +- Update gstreamer1-plugins-bad-freeworld to 1.19.2 + +* Sat Oct 09 2021 Sérgio Basto - 1:1.19.1-3 +- gstreamer1.prov is broken and hangs, workarround it + +* Mon Aug 02 2021 RPM Fusion Release Engineering - 1:1.19.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jun 08 2021 Leigh Scott - 1.19.1-1 +- Update + +* Sat Apr 17 2021 Leigh Scott - 1.18.4-3 +- Rebuild for new mjpegtools + +* Wed Apr 14 2021 Leigh Scott - 1.18.4-2 +- Rebuild for new x265 + +* Wed Mar 17 2021 Leigh Scott - 1.18.4-1 +- 1.18.4 + +* Sat Feb 06 2021 Leigh Scott - 1.18.2-3 +- Add Obsoletes gstreamer1-svt-hevc + +* Wed Feb 03 2021 RPM Fusion Release Engineering - 1.18.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Dec 13 2020 Leigh Scott - 1.18.2-1 +- 1.18.3 + +* Sun Nov 1 2020 Leigh Scott - 1.18.1-1 +- 1.18.1 + +* Tue Oct 27 2020 Leigh Scott - 1.18.0-2 +- Rebuild for libde256 + +* Wed Sep 9 2020 Leigh Scott - 1.18.0-1 +- 1.18.0 + +* Tue Sep 8 2020 Leigh Scott - 1.17.90-2 +- Enable svt-hevc for x86_64 + +* Sun Aug 23 2020 Leigh Scott - 1.17.90-1 +- 1.17.90 + +* Tue Aug 18 2020 RPM Fusion Release Engineering - 1.17.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 08 2020 Leigh Scott - 1.17.2-1 +- 1.17.2 + +* Mon Jun 22 2020 Leigh Scott - 1.17.1-2 +- Add BuildRequires gcc-objc++ + +* Mon Jun 22 2020 Leigh Scott - 1.17.1-1 +- 1.17.1 + +* Sun May 31 2020 Leigh Scott - 1.16.2-6 +- Rebuild for new x265 version + +* Fri Mar 13 2020 Leigh Scott - 1.16.2-5 +- Fixup for i686 + +* Thu Mar 12 2020 Leigh Scott - 1.16.2-4 +- Rebuilt for i686 + +* Sun Feb 23 2020 RPM Fusion Release Engineering - 1.16.2-3 +- Rebuild for x265 + +* Tue Feb 04 2020 RPM Fusion Release Engineering - 1.16.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Feb 01 2020 Leigh Scott - 1.16.2-1 +- 1.16.2 + +* Thu Nov 28 2019 Leigh Scott - 1.16.1-2 +- Rebuild for new x265 + +* Wed Sep 25 2019 Leigh Scott - 1.16.1-1 +- 1.16.1 + +* Fri Aug 09 2019 RPM Fusion Release Engineering - 1.16.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Jul 02 2019 Nicolas Chauvet - 1.16.0-2 +- Rebuilt for x265 + +* Wed Apr 24 2019 Leigh Scott - 1.16.0-1 +- 1.16.0 + +* Mon Mar 18 2019 Sérgio Basto - 1.15.2-1 +- Update to 1.15.2 + +* Mon Mar 04 2019 RPM Fusion Release Engineering - 1.15.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Feb 28 2019 Leigh Scott - 1.15.1-2 +- Rebuild for new x265 + +* Sat Feb 09 2019 Leigh Scott - 1.15.1-1 +- 1.15.1 + +* Fri Dec 07 2018 Antonio Trande - 1.14.4-3 +- Undo latest commit + +* Sun Nov 18 2018 Leigh Scott - 1.14.4-2 +- Rebuild for new x265 + +* Tue Oct 09 2018 Rex Dieter - 1.14.4-1 +- 1.14.4 + +* Thu Oct 04 2018 Sérgio Basto - 1.14.3-2 +- Mass rebuild for x264 and/or x265 + +* Tue Sep 18 2018 Leigh Scott - 1.14.3-1 +- 1.14.3 + +* Sat Aug 18 2018 Rex Dieter - 1.14.2-1 +- 1.14.2 + +* Thu Jul 26 2018 RPM Fusion Release Engineering - 1.14.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu May 31 2018 Rex Dieter - 1.14.1-1 +- 1.14.1 + +* Fri Mar 23 2018 Rex Dieter - 1.14.0-1 +- 1.14.0 + +* Wed Feb 28 2018 Rex Dieter - 1.13.1-1 +- 1.13.1 + +* Wed Feb 28 2018 Nicolas Chauvet - 1.12.4-3 +- Rebuilt for x265 + +* Sun Dec 31 2017 Sérgio Basto - 1.12.4-2 +- Mass rebuild for x264 and x265 + +* Mon Dec 11 2017 Leigh Scott - 1.12.4-1 +- Update to 1.12.4 + +* Mon Oct 16 2017 Leigh Scott - 1.12.3-2 +- Rebuild for ffmpeg update + +* Thu Sep 21 2017 Leigh Scott - 1.12.3-1 +- Update to 1.12.3 + +* Thu Aug 31 2017 RPM Fusion Release Engineering - 1.12.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jul 18 2017 Leigh Scott - 1.12.2-1 +- Update to 1.12.2 + +* Fri Jun 23 2017 Leigh Scott - 1.12.1-1 +- Update to 1.12.1 + +* Wed May 17 2017 Leigh Scott - 1.12.0-2 +- Bump version for ffmpeg and x265 rebuild + +* Fri May 12 2017 Leigh Scott - 1.12.0-1 +- Update to 1.12.0 + +* Sun Apr 30 2017 Leigh Scott - 1.11.90-2 +- Rebuild for x265 update + +* Tue Apr 18 2017 Leigh Scott - 1.11.90-1 +- Update to 1.11.90 + +* Sun Mar 19 2017 RPM Fusion Release Engineering - 1.11.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Feb 27 2017 Leigh Scott - 1.11.2-1 +- Update to 1.11.2 + +* Mon Jan 16 2017 Leigh Scott - 1.11.1-2 +- enable libde265 + +* Mon Jan 16 2017 Leigh Scott - 1.11.1-1 +- Update to 1.11.1 +- Remove libmimic bits as mimic is no longer included in the source + +* Tue Jan 03 2017 Dominik Mierzejewski - 1.10.2-2 +- rebuild for x265 + +* Wed Nov 30 2016 leigh scott - 1.10.2-1 +- Update to 1.10.2 + +* Fri Nov 11 2016 Hans de Goede - 1.10.0-1 +- Rebase to new upstream release 1.10.0 + +* Tue Nov 08 2016 Sérgio Basto - 1.8.2-2 +- Rebuild for x265-2.1 + +* Sun Jun 12 2016 Hans de Goede - 1.8.2-1 +- Rebase to new upstream release 1.8.2 + +* Wed May 18 2016 Hans de Goede - 1.8.1-1 +- Rebase to new upstream release 1.8.1 + +* Sat Jan 23 2016 Hans de Goede - 1.6.3-1 +- Rebase to new upstream release 1.6.3 + +* Thu Dec 24 2015 Hans de Goede - 1.6.2-1 +- Rebase to new upstream release 1.6.2 + +* Sat Oct 31 2015 Hans de Goede - 1.6.1-1 +- Rebase to new upstream release 1.6.1 +- Enable x265 plugin + +* Sat May 16 2015 Hans de Goede - 1.4.5-2 +- Add a patch from upstream fixing a faad2 crash which crashes firefox (rf3636) + +* Sat May 16 2015 Hans de Goede - 1.4.5-1 +- Rebase to new upstream release 1.4.5 + +* Wed Oct 1 2014 Hans de Goede - 1.4.3-1 +- Rebase to new upstream release 1.4.3 + +* Sat Aug 30 2014 Hans de Goede - 1.4.1-1 +- Rebase to new upstream release 1.4.1 + +* Sun Jun 15 2014 Hans de Goede - 1.2.4-1 +- Rebase to new upstream release 1.2.4 + +* Sat Feb 15 2014 Michael Kuhn - 1.2.3-1 +- Update to 1.2.3. + +* Thu Jan 09 2014 Michael Kuhn - 1.2.2-1 +- Update to 1.2.2. + +* Tue Jan 07 2014 Nicolas Chauvet - 1.2.1-2 +- Rebuilt for librtmp + +* Sat Nov 16 2013 Hans de Goede - 1.2.1-1 +- Rebase to new upstream release 1.2.1 + +* Sun Nov 10 2013 Nicolas Chauvet - 1.2.0-2 +- Rebuilt for mjpegtools update to 2.1.0 + +* Sun Oct 13 2013 Hans de Goede - 1.2.0-1 +- Rebase to new upstream release 1.2.0 + +* Thu Aug 8 2013 Hans de Goede - 1.1.3-1 +- Rebase to new upstream release 1.1.3 + +* Tue Aug 6 2013 Hans de Goede - 1.0.9-1 +- New upstream release 1.0.9 + +* Mon Mar 25 2013 Hans de Goede - 1.0.6-1 +- New upstream release 1.0.6 + +* Sat Mar 2 2013 Hans de Goede - 1.0.5-1 +- New upstream release 1.0.5 +- Drop no longer needed PyXML BuildRequires (rf#2572) + +* Sat Nov 3 2012 Hans de Goede - 1.0.2-2 +- Include some more files in %%doc (rf#2473) + +* Sun Oct 28 2012 Hans de Goede - 1.0.2-1 +- New upstream release 1.0.2 + +* Sun Sep 23 2012 Hans de Goede - 0.11.99-1 +- New upstream release 0.11.99 +- Use global rather then define (rf#2473) +- Disable vo-aacenc plugin for now (rf#1742) +- Enable siren plugin now that it has been ported to the 1.0 API + +* Sun Sep 9 2012 Hans de Goede - 0.11.93-1 +- First version of gstreamer1-plugins-ugly for rpmfusion +