milis/talimatname/genel/ffmpeg/talimat

47 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Ses ve videoyu kaydetmek, dönüştürmek ve akışlamak için eksiksiz, çapraz platformlu bir çözüm.
# URL: http://ffmpeg.org/
# Packager: milisarge
# 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
}