summaryrefslogtreecommitdiffstats
path: root/ffmpeg/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/Pkgfile')
-rw-r--r--ffmpeg/Pkgfile41
1 files changed, 41 insertions, 0 deletions
diff --git a/ffmpeg/Pkgfile b/ffmpeg/Pkgfile
new file mode 100644
index 000000000..34c626034
--- /dev/null
+++ b/ffmpeg/Pkgfile
@@ -0,0 +1,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.9
+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
+}