diff --git a/.gitignore b/.gitignore index e69de29..0181af1 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +gst-libav-1.0.2.tar.xz diff --git a/gst-ffmpeg-0.10.12-ChangeLog-UTF-8.patch b/gst-ffmpeg-0.10.12-ChangeLog-UTF-8.patch new file mode 100644 index 0000000..1651725 --- /dev/null +++ b/gst-ffmpeg-0.10.12-ChangeLog-UTF-8.patch @@ -0,0 +1,9 @@ +diff -U0 gst-ffmpeg-0.10.12/ChangeLog~ gst-ffmpeg-0.10.12/ChangeLog +--- gst-ffmpeg-0.10.12/ChangeLog~ 2011-07-20 12:09:57.000000000 +0200 ++++ gst-ffmpeg-0.10.12/ChangeLog 2011-09-04 10:20:50.064262797 +0200 +@@ -4277 +4277 @@ +-2007-11-08 14:44:36 +0000 Ole André Vadla Ravnćs ++2007-11-08 14:44:36 +0000 Ole AndrĂ© Vadla RavnĂ„s +@@ -4281 +4281 @@ +- Patch by: Ole André Vadla Ravnćs ++ Patch by: Ole AndrĂ© Vadla RavnĂ„s diff --git a/gstreamer1-libav.spec b/gstreamer1-libav.spec new file mode 100644 index 0000000..93c7b89 --- /dev/null +++ b/gstreamer1-libav.spec @@ -0,0 +1,71 @@ +Name: gstreamer1-libav +Version: 1.0.2 +Release: 2%{?dist} +Summary: GStreamer 1.0 libav-based plug-ins +Group: Applications/Multimedia +License: LGPLv2+ +URL: http://gstreamer.freedesktop.org/ +Source0: http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-%{version}.tar.xz +Patch0: gst-ffmpeg-0.10.12-ChangeLog-UTF-8.patch +BuildRequires: gstreamer1-devel >= 1.0.0 +BuildRequires: gstreamer1-plugins-base-devel >= 1.0.0 +BuildRequires: orc-devel bzip2-devel zlib-devel +%ifarch %{ix86} x86_64 +BuildRequires: yasm +%endif + +%description +GStreamer is a streaming media framework, based on graphs of filters which +operate on media data. Applications using this library can do anything +from real-time sound processing to playing videos, and just about anything +else media-related. Its plugin-based architecture means that new data +types or processing capabilities can be added simply by installing new +plugins. + +This package provides libav-based GStreamer plug-ins. + + +%prep +%setup -q -n gst-libav-%{version} +%patch0 -p1 + + +%build +# Note no --with-system-ffmpeg *for now*, as gst-ffmpeg wants libav-0.8, +# and the system ffmpeg is 0.11, which is more or less libav-0.9 +%configure --disable-dependency-tracking --disable-static \ + --with-package-name="gst-libav 1.0 rpmfusion rpm" \ + --with-package-origin="http://rpmfusion.org/" \ + --with-libav-extra-configure="--enable-runtime-cpudetect --arch=%{_target_cpu} --optflags=\\\"\\\$RPM_OPT_FLAGS\\\"" +make %{?_smp_mflags} V=1 + + +%install +make install V=1 DESTDIR=$RPM_BUILD_ROOT +rm $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/libgst*.la + + +%files +%doc AUTHORS COPYING.LIB ChangeLog NEWS README TODO +%{_libdir}/gstreamer-1.0/libgstlibav.so +%{_libdir}/gstreamer-1.0/libgstavscale.so + + +%changelog +* Sat Nov 3 2012 Hans de Goede - 1.0.2-2 +- Build included libav with the default RPM_OPT_FLAGS (rf#2560, rf#2472) + +* Sun Oct 28 2012 Hans de Goede - 1.0.2-1 +- Rebase to 1.0.2 +- Included libav copy updated to 0.8.4 +- Change the license to LGPLv2+, as the GPL only postproc plugin is no longer + included +- Replace references to ffmpeg with libav (rf#2472) +- Add COPYING.LIB to %%doc (rf#2472) +- Run make with V=1 (rf#2472) + +* Sun Sep 23 2012 Hans de Goede - 0.11.99-1 +- New upstream release 0.11.99 + +* Sun Sep 9 2012 Hans de Goede - 0.11.93-1 +- First version of gstreamer1-libav for rpmfusion diff --git a/sources b/sources index e69de29..9d5e0a7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b932d386711a1b14d08c3b7d3021934b gst-libav-1.0.2.tar.xz