]> git.pld-linux.org Git - packages/ffmpeg.git/blame - ffmpeg.spec
- -devel R: lzo-devel if used (but lzo 2 is not supported)
[packages/ffmpeg.git] / ffmpeg.spec
CommitLineData
8152d6a2
JB
1#
2# TODO: only lzo 1.x is supported
3#
2b3b2117 4# Conditional build:
8152d6a2 5%bcond_without imlib2 # don't build imlib2 vhook module
c2a62dca 6%bcond_without autoreqdep # don't care about package name deps generated by rpm
874f67c9 7#
839e806f 8%define snap 20060129
67103923 9%define _rel 8.7
76243dbd
JB
10Summary: Realtime audio/video encoder and streaming server
11Summary(pl): Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
9fc4ad22 12Name: ffmpeg
c32b589f 13Version: 0.4.9
839e806f 14Release: 3.%{snap}.%{_rel}
9cf4d8a4
JB
15# LGPL or GPL, chosen at configure time (GPL version is more featured)
16License: GPL
fde29260 17Group: Applications/Multimedia
d7493de8 18#Source0: http://dl.sourceforge.net/ffmpeg/%{name}-%{version}-pre1.tar.gz
f50f7d7c
JB
19#Source0: ftp://ftp2.mplayerhq.hu/MPlayer/cvs/FFMpeg-%{snap}.tar.bz2
20Source0: %{name}-%{snap}.tar.bz2
21# Source0-md5: d8ea09431d6c0c91bfd35e0ca74a67e1
fde29260
ER
22Source1: ffserver.init
23Source2: ffserver.sysconfig
38cf6de3 24Source3: ffserver.conf
d7493de8
JB
25Patch0: %{name}-libtool.patch
26Patch1: %{name}-libdir.patch
7a286645 27Patch2: %{name}-gcc4.patch
bb062d35 28URL: http://ffmpeg.sourceforge.net/
2a60eebe 29BuildRequires: SDL-devel
e380e18a 30BuildRequires: faac-devel
b959c224 31BuildRequires: faad2-devel
2a60eebe 32BuildRequires: freetype-devel
4bee03f0
JB
33%ifarch ppc
34# require version with altivec support fixed
35BuildRequires: gcc >= 5:3.3.2-3
36%endif
8a764e4b 37%{?with_imlib2:BuildRequires: imlib2-devel >= 1.1.0-2}
e380e18a 38BuildRequires: lame-libs-devel
b959c224 39BuildRequires: libdts-devel
f3692243 40BuildRequires: libgsm-devel
d7493de8 41BuildRequires: libtheora-devel
4814ac84 42BuildRequires: libtool >= 2:1.4d-3
e380e18a 43BuildRequires: libvorbis-devel
839e806f 44#BuildRequires: libx264-devel
22fb3118 45BuildRequires: lzo-devel
e1fe03f7 46%ifarch %{ix86}
47%ifnarch i386 i486
76243dbd
JB
48BuildRequires: nasm
49%endif
e1fe03f7 50%endif
1463656a 51BuildRequires: perl-tools-pod
593d3a64 52BuildRequires: rpmbuild(macros) >= 1.268
1463656a 53BuildRequires: tetex
9cf4d8a4 54BuildRequires: texinfo
46f2a56b 55BuildRequires: xvid-devel >= 1:1.1.0
33a1c0f3 56BuildRequires: zlib-devel
57ebb8ad 57%{?with_autoreqdep:BuildConflicts: libpostproc}
54ec280e 58Requires: %{name}-libs = %{version}-%{release}
839e806f 59Requires: xvid >= 1:1.1.0
af49d6ab 60Obsoletes: libpostproc
539b540f 61BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9fc4ad22 62
2a60eebe
JB
63%define _noautoreqdep libGL.so.1 libGLU.so.1
64
c01d7857
PS
65%define specflags -fno-strict-aliasing
66
67# -fomit-frame-pointer is always needed on x86 due to lack of registers (-fPIC takes one)
68%define specflags_ia32 -fomit-frame-pointer
69# -mmmx is needed to enable <mmintrin.h> code.
70%define specflags_i586 -mmmx
71%define specflags_i686 -mmmx
72
9fc4ad22
AM
73%description
74ffmpeg is a hyper fast realtime audio/video encoder and streaming
75server. It can grab from a standard Video4Linux video source and
76convert it into several file formats based on DCT/motion compensation
77encoding. Sound is compressed in MPEG audio layer 2 or using an AC3
fda3e16d 78compatible stream.
9fc4ad22
AM
79
80%description -l pl
fda3e16d 81ffmpeg jest bardzo szybkim koderem audio/wideo w czasie rzeczywistym
82