]> git.pld-linux.org Git - packages/gstreamer0.10-ffmpeg.git/blame - gstreamer0.10-ffmpeg.spec
format string patch added
[packages/gstreamer0.10-ffmpeg.git] / gstreamer0.10-ffmpeg.spec
CommitLineData
aa83f0f0 1#
beeb03a5 2# Conditional build:
69d246de 3%bcond_without vdpau # build FFmpeg without VDPAU support
11339cee 4%bcond_with system_ffmpeg # system FFmpeg (note: upstream does not accept bugs with system ffmpeg)
aa83f0f0 5
beeb03a5
KK
6%define gstname gst-ffmpeg
7%define gst_major_ver 0.10
0fc8a120 8%define gst_req_ver 0.10.31
aa83f0f0 9
e122906a 10%include /usr/lib/rpm/macros.gstreamer
327b82dc 11Summary: GStreamer Streaming-media framework plug-in using FFmpeg
0ea370ca 12Summary(pl.UTF-8): Wtyczka do środowiska obróbki strumieni GStreamer używająca FFmpeg
26347b91 13Name: gstreamer0.10-ffmpeg
a82f9c3d 14Version: 0.10.13
26347b91 15Release: 1
aa83f0f0
ER
16# the ffmpeg plugin is LGPL, the postproc plugin is GPL
17License: GPL v2+ and LGPL v2+
327b82dc 18Group: Libraries
82f786a6 19Source0: http://gstreamer.freedesktop.org/src/gst-ffmpeg/%{gstname}-%{version}.tar.bz2
a82f9c3d 20# Source0-md5: 7f5beacaf1312db2db30a026b36888c4
4744a193 21Patch0: gst-ffmpeg-format_string.patch
1f0d3f67 22URL: http://gstreamer.net/
69d246de
JB
23BuildRequires: autoconf >= 2.60
24BuildRequires: automake >= 1:1.10
a82f9c3d 25BuildRequires: bzip2-devel
26347b91 26BuildRequires: gstreamer0.10-devel >= %{gst_req_ver}
69d246de 27BuildRequires: gtk-doc >= 1.3
26347b91 28BuildRequires: gstreamer0.10-plugins-base-devel >= %{gst_req_ver}
d0f5f175 29BuildRequires: libtool
0fc8a120 30BuildRequires: orc-devel >= 0.4.6
d0f5f175 31BuildRequires: pkgconfig
69d246de 32BuildRequires: python >= 2.1
ab58c07c 33BuildRequires: rpmbuild(macros) >= 1.470
69d246de 34%if %{with system_ffmpeg}
a82f9c3d 35# libavformat,libavcodec,libavutil,libpostproc,libswscale needed
0fc8a120 36BuildRequires: ffmpeg-devel >= 0.7
69d246de 37%else
69d246de 38# TODO: fill the rest of ffmpeg dependencies used here
beeb03a5 39%if %{with vdpau}
69d246de 40BuildRequires: libvdpau-devel
beeb03a5
KK
41BuildRequires: xorg-lib-libXvMC-devel
42%endif
69d246de 43%endif
26347b91 44Requires: gstreamer0.10-plugins-base >= %{gst_req_ver}
0fc8a120 45Requires: orc >= 0.4.6
26347b91 46Obsoletes: gstreamer-ffmpeg < 0.11
327b82dc 47BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48
327b82dc 49%description
50GStreamer is a streaming-media framework, based on graphs of filters
51which operate on media data. Applications using this library can do
52anything from real-time sound processing to playing videos, and just
53about anything else media-related. Its plugin-based architecture means
54that new data types or processing capabilities can be added simply by
55installing new plug-ins.
56
57This plugin contains the FFmpeg codecs, containing codecs for most
58popular multimedia formats.
59
cb1d80bc
JR
60%description -l pl.UTF-8
61GStreamer to środowisko obróbki danych strumieniowych, bazujące na
62grafie filtrów operujących na danych medialnych. Aplikacje używające
63tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie
64rzeczywistym, do odtwarzania filmów i czegokolwiek innego związanego z
65mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie
66nowych typów danych lub możliwości obróbki.
327b82dc 67
9f3e6335
JB
68Wtyczka ta zawiera kodeki FFmpeg, potrafiące zdekodować
69najpopularniejsze formaty multimedialne.
327b82dc 70
71%prep
72%setup -q -n %{gstname}-%{version}
4744a193 73%patch0 -p1
327b82dc 74
75%build
d0f5f175
JB
76%{__libtoolize}
77%{__aclocal} -I common/m4
78%{__autoconf}
79%{__autoheader}
80%{__automake}
b82dc507 81
18ac9458 82%configure \
8e7e6723 83 CPPFLAGS="%{rpmcppflags}" \
aa83f0f0 84 %{?with_system_ffmpeg:--with-system-ffmpeg} \
beeb03a5 85 %{?with_vdpau:--with-ffmpeg-extra-configure="--enable-vdpau"} \
69d246de 86 --disable-silent-rules \
8e7e6723 87 --disable-static
327b82dc 88%{__make}
89
90%install
91rm -rf $RPM_BUILD_ROOT
92
93%{__make} install \
94 DESTDIR=$RPM_BUILD_ROOT
cb08cab0 95
69d246de 96%{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{gst_major_ver}/*.la
327b82dc 97
98%clean
99rm -rf $RPM_BUILD_ROOT
100
327b82dc 101%files
102%defattr(644,root,root,755)
d0f5f175 103%doc AUTHORS ChangeLog NEWS README TODO
b1163340 104%attr(755,root,root) %{_libdir}/gstreamer-%{gst_major_ver}/libgstffmpeg.so
5d8470ef 105%attr(755,root,root) %{_libdir}/gstreamer-%{gst_major_ver}/libgstffmpegscale.so
18ac9458 106%attr(755,root,root) %{_libdir}/gstreamer-%{gst_major_ver}/libgstpostproc.so
This page took 0.10856 seconds and 4 git commands to generate.