From 39753875bde97f64c4bbbc51da4c65416e99af03 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Mon, 26 Feb 2024 15:51:51 +0300 Subject: [PATCH] import gstreamer1-plugins-bad-freeworld-1.16.1-1.el8 --- .gitignore | 1 + .gstreamer1-plugins-bad-freeworld.metadata | 1 + SPECS/gstreamer1-plugins-bad-freeworld.spec | 255 ++++++++++++++++++++ 3 files changed, 257 insertions(+) create mode 100644 .gitignore create mode 100644 .gstreamer1-plugins-bad-freeworld.metadata create mode 100644 SPECS/gstreamer1-plugins-bad-freeworld.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..56de8e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gst-plugins-bad-1.16.1.tar.xz diff --git a/.gstreamer1-plugins-bad-freeworld.metadata b/.gstreamer1-plugins-bad-freeworld.metadata new file mode 100644 index 0000000..5d33d17 --- /dev/null +++ b/.gstreamer1-plugins-bad-freeworld.metadata @@ -0,0 +1 @@ +2bb03cb81e4f160b98dd832be011bdf728839ac7 SOURCES/gst-plugins-bad-1.16.1.tar.xz diff --git a/SPECS/gstreamer1-plugins-bad-freeworld.spec b/SPECS/gstreamer1-plugins-bad-freeworld.spec new file mode 100644 index 0000000..4e033b0 --- /dev/null +++ b/SPECS/gstreamer1-plugins-bad-freeworld.spec @@ -0,0 +1,255 @@ +# 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.1 +Release: 1%{?dist} +License: LGPLv2+ +URL: https://gstreamer.freedesktop.org/ +Source0: %{url}/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.xz + +BuildRequires: gcc-c++ +BuildRequires: gstreamer1-devel >= %{version} +BuildRequires: gstreamer1-plugins-base-devel >= %{version} +BuildRequires: check +BuildRequires: gettext-devel +BuildRequires: libXt-devel +BuildRequires: gtk-doc +BuildRequires: orc-devel +BuildRequires: libdca-devel +BuildRequires: faad2-devel +BuildRequires: libmms-devel +BuildRequires: mjpegtools-devel >= 2.0.0 +BuildRequires: librtmp-devel +BuildRequires: vo-amrwbenc-devel +#BuildRequires: vo-aacenc-devel +BuildRequires: libusbx-devel +BuildRequires: x265-devel +BuildRequires: libde265-devel +BuildRequires: python3 + +%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 -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 + + +%install +for i in %{gstdirs} %{extdirs}; do + pushd $i + %make_install V=2 + popd +done + +rm -fv %{buildroot}%{_libdir}/gstreamer-1.0/*.la + + +%files +%doc AUTHORS NEWS README RELEASE +%license COPYING.LIB +# 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/libgstdvbsuboverlay.so +%{_libdir}/gstreamer-1.0/libgstdvdspu.so +%{_libdir}/gstreamer-1.0/libgstsiren.so + +# Plugins with external dependencies +%{_libdir}/gstreamer-1.0/libgstde265.so +%{_libdir}/gstreamer-1.0/libgstdtsdec.so +%{_libdir}/gstreamer-1.0/libgstfaad.so +%{_libdir}/gstreamer-1.0/libgstmms.so +%{_libdir}/gstreamer-1.0/libgstmpeg2enc.so +%{_libdir}/gstreamer-1.0/libgstmplex.so +%{_libdir}/gstreamer-1.0/libgstrtmp.so +#%%{_libdir}/gstreamer-1.0/libgstvoaacenc.so +%{_libdir}/gstreamer-1.0/libgstvoamrwbenc.so +%{_libdir}/gstreamer-1.0/libgstx265.so + + +%changelog +* Mon Feb 26 2024 Sergey Cherevko - 1.16.1-1 +- Rebuilt for MSVSphere 8.9 + +* Fri May 08 2020 Xavier Bachelot - 1.16.1-1 +- Update to 1.16.1 to match EL8.2 + +* Mon Sep 09 2019 Xavier Bachelot - 1.14.0-1.1 +- Backport spec changes from master. +- Add BuildRequires: python3. + +* 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