milis/talimatname/genel/ffmpeg/talimat

48 lines
1.4 KiB
Plaintext

# Description: Complete and free Internet live audio and video broadcasting solution
# URL: http://ffmpeg.org/
# Packager: pierre at nutyx dot org
# Depends on: yasm opus fdk-aac x264 x265 liba52 libass freetype lame sdl libvorbis libogg xvid faac faad2 libtheora alsa-lib openjpeg libvpx xorg-libxext xorg-libxfixes jack
name=ffmpeg
version=2.8.4
release=1
source=(http://ffmpeg.org/releases/ffmpeg-$version.tar.bz2)
build() {
cd ffmpeg-$version
sed -e '/UPD.*=/,/SET_SCA.*=/d' \
-e '/SET_SHA.*=/d' \
-e '/GET_LAS.*=/d' \
-i libavcodec/libvpxenc.c
sed -i 's/-lflite"/-lflite -lasound"/' configure
./configure --prefix=/usr \
--enable-gpl \
--enable-version3 \
--enable-nonfree \
--disable-static \
--enable-shared \
--disable-debug \
--enable-libass \
--enable-libfdk-aac \
--enable-libfreetype \
--enable-libmp3lame \
--enable-libopus \
--enable-libtheora \
--enable-libvorbis \
--enable-libvpx \
--enable-libx264 \
--enable-libx265 \
--enable-x11grab \
--enable-openssl \
--docdir=/usr/share/doc/$name-$version
make
gcc tools/qt-faststart.c -o tools/qt-faststart
make DESTDIR=$PKG install
install -v -m755 tools/qt-faststart \
$PKG/usr/bin
}