diff options
author | Aaron Ball <nullspoon@iohq.net> | 2016-02-07 23:39:29 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@iohq.net> | 2016-02-07 23:39:29 -0700 |
commit | ea448bd2489b48911c62edc13a3d6a62acf4e747 (patch) | |
tree | 2f86c41b8235968752288d17eca4ee88346250f5 | |
parent | f4a07948860d93ef5f554e33ce262d8a82d81e81 (diff) | |
download | ports-ea448bd2489b48911c62edc13a3d6a62acf4e747.tar.gz ports-ea448bd2489b48911c62edc13a3d6a62acf4e747.tar.xz |
Initial commit of ffmpeg
Pulled from contrib. Disabled libbluray since it seems the source is not
readily available at the moment.
-rw-r--r-- | ffmpeg/Pkgfile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/ffmpeg/Pkgfile b/ffmpeg/Pkgfile new file mode 100644 index 0000000..ce82213 --- /dev/null +++ b/ffmpeg/Pkgfile @@ -0,0 +1,56 @@ +# Description: Complete solution to record, convert and stream audio and video. +# URL: http://ffmpeg.org/ +# Maintainer: Danny Rawlins, crux at romster dot me +# Packager: Aaron Ball, nullspoon at oper dot io +# Depends on: gnutls lame libass libgmp libmodplug libsdl libtheora libva libvpx libxvid opencore-amr openjpeg opus rtmpdump schroedinger speex x264 x265 + +name=ffmpeg +version=2.8.4 +release=1 +source=(http://ffmpeg.org/releases/$name-$version.tar.bz2) + +build() { + cd $name-$version + + ./configure \ + --prefix=/usr \ + --mandir=/usr/man \ + --disable-debug \ + --disable-doc \ + --enable-avfilter \ + --enable-avresample \ + --enable-dxva2 \ + --enable-fontconfig \ + --enable-gnutls \ + --enable-gpl \ + --enable-libass \ + --enable-libfreetype \ + --enable-libmodplug \ + --enable-libmp3lame \ + --enable-libopencore_amrnb \ + --enable-libopencore_amrwb \ + --enable-libopenjpeg \ + --enable-libopus \ + --enable-librtmp \ + --enable-libschroedinger \ + --enable-libspeex \ + --enable-libtheora \ + --enable-libvorbis \ + --enable-libx264 \ + --enable-libx265 \ + --enable-libvpx \ + --enable-libxvid \ + --enable-pic \ + --enable-postproc \ + --enable-pthreads \ + --enable-shared \ + --enable-swresample \ + --enable-vaapi \ + --enable-vdpau \ + --enable-version3 \ + --enable-x11grab + + [ "$CC" ] || CC=gcc + make CC="$CC" SHARED_PP='yes' $MAKEFLAGS + make DESTDIR=$PKG install install-man +} |