summaryrefslogtreecommitdiffstats
path: root/ffmpeg/Pkgfile
blob: d60eee34bea5096c2dba0b22b634beab04a8283e (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
44
# 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, libass, libdc1394, libcdio
# Run on: amrnb,amrwb,liba52,imlib2,lame,sdl,libvorbis,libogg,xvid,faac,faad2,libtheora,x264,alsa-lib,openjpeg,vdpau-video,libass,libdc1394,libcdio

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

build() {
	cd $name-$version
	./configure \
		--prefix=/usr \
		--enable-gpl \
		--enable-version3 \
		--enable-libass \
		--enable-libdc1394 \
		--enable-libcdio \
		--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
}