summaryrefslogtreecommitdiffstats
path: root/extra/ffmpeg/Pkgfile
blob: 8699d67f61c2c8948fa459c1870fc9dfe3a8bb8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Description: solution pour enregister, convertir et generer des flux audio et video
# URL: http://ffmpeg.mplayerhq.hu/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: amrnb, amrwb, liba52, imlib2, lame, sdl, libvorbis, libogg, xvid, faac, faad2, libtheora, x264, alsa-lib
# Run on: amrnb,amrwb,liba52,imlib2,lame,sdl,libvorbis,libogg,xvid,faac,faad2,libtheora,x264,alsa-lib


name=ffmpeg
version=0.5.1
release=1
source=(http://ffmpeg.org/releases/$name-$version.tar.bz2)

build() {
	cd $name-$version

	./configure \
		--prefix=/usr \
		--enable-gpl \
		--enable-libfaac \
		--enable-libfaad \
		--enable-libfaadbin \
		--enable-libmp3lame \
		--enable-libtheora \
		--enable-libvorbis \
		--enable-libx264 \
		--enable-libxvid \
		--enable-shared \
		--enable-pthreads \
		--enable-postproc \
		--enable-swscale \
		--enable-x11grab \
		--enable-libamr-nb \
		--enable-libamr-wb \
		--enable-nonfree \
		--disable-debug \
		--disable-static

	make SHARED_PP='yes'
	make DESTDIR=$PKG install install-man
}