# which plugins to actually build and install %global gstdirs gst/dvbsuboverlay gst/dvdspu gst/siren %global extdirs ext/dts ext/faad ext/libmms ext/mimic 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.10.2 Release: 1%{?dist} License: LGPLv2+ Group: Applications/Multimedia URL: http://gstreamer.freedesktop.org/ Source0: http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.xz BuildRequires: gstreamer1-devel >= 1.10.0 BuildRequires: gstreamer1-plugins-base-devel >= 1.10.0 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: twolame-devel BuildRequires: libmimic-devel BuildRequires: librtmp-devel BuildRequires: vo-amrwbenc-devel #BuildRequires: vo-aacenc-devel BuildRequires: libusbx-devel BuildRequires: x265-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 %setup -q -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-static \ --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 %{?_smp_mflags} V=2 popd done %install for i in %{gstdirs} %{extdirs}; do pushd $i %make_install V=2 popd done rm $RPM_BUILD_ROOT%{_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/libgstdtsdec.so %{_libdir}/gstreamer-1.0/libgstfaad.so %{_libdir}/gstreamer-1.0/libgstmms.so %{_libdir}/gstreamer-1.0/libgstmimic.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 * 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