milis/talimatname/genel/f/ffmpeg28/talimat

65 lines
1.9 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Ses ve videoyu kaydetmek, dönüştürmek ve akışlamak için eksiksiz, çapraz platformlu bir çözüm.
2017-08-07 20:06:28 +02:00
# URL: http://ffmpeg.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: yasm opus dcadec gsm libmodplug gnutls libbluray vid-stab soxr libssh v4l-utils opencore-amr fdk-aac x264 x265 ladspa liba52 libass libva libwebp libvdpau freetype lame sdl libvorbis libogg xvid faac faad2 libtheora alsa-lib openjpeg libvpx xorg-libxext xorg-libxfixes jack
2017-08-07 20:06:28 +02:00
2017-10-28 14:10:23 +02:00
isim=ffmpeg28
surum=2.8.12
devir=1
kaynak=(http://ffmpeg.org/releases/ffmpeg-$surum.tar.xz)
2017-08-07 20:06:28 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd ffmpeg-${surum}
2017-08-07 20:06:28 +02:00
#--enable-libschroedinger \
./configure \
--prefix='/usr' \
--incdir='/usr/include/ffmpeg2.8' \
--libdir='/usr/lib/ffmpeg2.8' \
--shlibdir='/usr/lib/ffmpeg2.8' \
--disable-debug \
--disable-static \
--disable-stripping \
--enable-avisynth \
--enable-avresample \
--enable-fontconfig \
--enable-gnutls \
--enable-gpl \
--enable-ladspa \
--enable-libass \
--enable-libbluray \
--enable-libdcadec \
--enable-libfreetype \
--enable-libfribidi \
--enable-libgsm \
--enable-libmodplug \
--enable-libmp3lame \
--enable-libopencore_amrnb \
--enable-libopencore_amrwb \
--enable-libopenjpeg \
--enable-libopus \
--enable-libpulse \
--enable-libsoxr \
--enable-libspeex \
--enable-libssh \
--enable-libtheora \
--enable-libv4l2 \
--enable-libvidstab \
--enable-libvorbis \
--enable-libvpx \
--enable-libwebp \
--enable-libx264 \
--enable-libx265 \
--enable-libxvid \
--enable-shared \
--enable-version3 \
--enable-x11grab
make
make DESTDIR="${PKG}" install
rm -rf "${PKG}"/usr/share
find "${PKG}"/usr/bin -type f -exec mv {} {}2.8 \;
install -dm 755 "${PKG}"/etc/ld.so.conf.d
echo -e '/usr/lib/\n/usr/lib/ffmpeg2.8/' > "${PKG}"/etc/ld.so.conf.d/ffmpeg2.8.conf
}