43 lines
1.0 KiB
Plaintext
43 lines
1.0 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: faac imlib2 lame libsdl libtheora libxvid x264 opencore-amr speex libva
|
|
|
|
name=ffmpeg
|
|
version=1.2.1
|
|
release=1
|
|
source=(http://ffmpeg.org/releases/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--enable-vaapi \
|
|
--enable-gpl \
|
|
--enable-version3 \
|
|
--enable-avfilter \
|
|
--enable-libopencore-amrnb \
|
|
--enable-libopencore-amrwb \
|
|
--enable-libfaac \
|
|
--enable-libmp3lame \
|
|
--enable-libspeex \
|
|
--enable-libtheora \
|
|
--enable-libvorbis \
|
|
--enable-libx264 \
|
|
--enable-libxvid \
|
|
--enable-shared \
|
|
--enable-pthreads \
|
|
--enable-postproc \
|
|
--enable-x11grab \
|
|
--enable-nonfree \
|
|
--disable-debug \
|
|
--disable-doc
|
|
|
|
[ "$CC" ] || CC=gcc
|
|
make CC="$CC" SHARED_PP='yes' $MAKEFLAGS
|
|
make DESTDIR=$PKG install install-man
|
|
}
|