]> git.pld-linux.org Git - packages/ffmpeg.git/blame - ffmpeg.spec
- build/install libpostproc before libavcodec
[packages/ffmpeg.git] / ffmpeg.spec
CommitLineData
2a60eebe 1#
2b3b2117 2# Conditional build:
8a764e4b 3%bcond_without imlib2 # we can safely play without it :-)
874f67c9 4#
76243dbd
JB
5Summary: Realtime audio/video encoder and streaming server
6Summary(pl): Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
9fc4ad22 7Name: ffmpeg
c32b589f 8Version: 0.4.9
61eecd4c 9Release: 0.pre1.0.1
9cf4d8a4
JB
10# LGPL or GPL, chosen at configure time (GPL version is more featured)
11License: GPL
9fc4ad22 12Group: Daemons
c32b589f 13Source0: http://dl.sourceforge.net/ffmpeg/%{name}-%{version}-pre1.tar.gz
14# Source0-md5: ea5587e3c66d50b1503b82ac4179c303
9cf4d8a4
JB
15Patch0: %{name}-imlib2.patch
16Patch1: %{name}-libtool.patch
db5b16ac 17Patch2: %{name}-postproc.patch
bb062d35 18URL: http://ffmpeg.sourceforge.net/
2a60eebe
JB
19BuildRequires: SDL-devel
20BuildRequires: freetype-devel
db5b16ac 21BuildRequires: libpostproc-devel
4bee03f0
JB
22%ifarch ppc
23# require version with altivec support fixed
24BuildRequires: gcc >= 5:3.3.2-3
25%endif
8a764e4b 26%{?with_imlib2:BuildRequires: imlib2-devel >= 1.1.0-2}
4814ac84 27BuildRequires: libtool >= 2:1.4d-3
e1fe03f7 28%ifarch %{ix86}
29%ifnarch i386 i486
76243dbd
JB
30BuildRequires: nasm
31%endif
e1fe03f7 32%endif
9cf4d8a4 33BuildRequires: texinfo
539b540f
JB
34BuildRequires: zlib-devel
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9fc4ad22 36
2a60eebe
JB
37%define _noautoreqdep libGL.so.1 libGLU.so.1
38
9fc4ad22
AM
39%description
40ffmpeg is a hyper fast realtime audio/video encoder and streaming
41server. It can grab from a standard Video4Linux video source and
42convert it into several file formats based on DCT/motion compensation
43encoding. Sound is compressed in MPEG audio layer 2 or using an AC3
fda3e16d 44compatible stream.
9fc4ad22 45
539b540f
JB
46This package contains also ffmpeg shared libraries (libavcodec and
47libavformat).
48
9fc4ad22 49%description -l pl
fda3e16d 50ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym
51