summaryrefslogtreecommitdiffstats
path: root/extra/ffmpeg/Pkgfile
blob: 3a0008872086376ac97ac2364c4eb0e4f76eacc5 (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
# Description: solution pour enregister, convertir et generer des flux audio et video
# URL: http://ffmpeg.org/
# 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, openjpeg, vdpau-video
# Run on: amrnb,amrwb,liba52,imlib2,lame,sdl,libvorbis,libogg,xvid,faac,faad2,libtheora,x264,alsa-lib,openjpeg,vdpau-video

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

build() {
	cd $name-$version
	./configure \
		--prefix=/usr \
		--enable-gpl \
		--enable-version3 \
		--enable-libfaac \
		--enable-libmp3lame \
		--enable-libtheora \
		--enable-libvorbis \
		--enable-libx264 \
		--enable-libxvid \
		--enable-libopenjpeg \
		--enable-shared \
		--enable-pthreads \
		--enable-postproc \
		--enable-swscale \
		--enable-x11grab \
		--enable-nonfree \
		--enable-vdpau \
		--enable-vaapi \
		--enable-runtime-cpudetect \
		--disable-doc

	make
	make tools/qt-faststart
	install -D -m755 tools/qt-faststart $PKG/usr/bin/qt-faststart
	make DESTDIR=$PKG install install-man
}