56 lines
1.4 KiB
Plaintext
56 lines
1.4 KiB
Plaintext
# Description: Complete solution to record, convert and stream audio and video.
|
|
# URL: http://ffmpeg.org/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Matt Housh, jaeger at crux dot nu
|
|
# Depends on: gnutls imlib2 lame libass libbluray libmodplug libsdl libtheora libva libvdpau libxvid opencore-amr opus rtmpdump schroedinger speex x264 openjpeg
|
|
|
|
name=ffmpeg
|
|
version=2.1.1
|
|
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-libbluray \
|
|
--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-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
|
|
}
|