summaryrefslogtreecommitdiffstats
path: root/extra/ffmpeg/Pkgfile
blob: ec94daa590fde9af773c1fe1e77f1c0b13790ca6 (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
# 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.8
release=1
source=(http://ffmpeg.org/releases/$name-$version.tar.bz2)

build() {
	cd $name-$version

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

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