|
|
|
name=ffmpeg
|
|
|
|
version=3.2.4
|
|
|
|
update_url='https://ffmpeg.org/download.html'
|
|
|
|
|
|
|
|
dlextract "http://ffmpeg.org/releases/$name-$version.tar.bz2" \
|
|
|
|
'd3ebaacfa36c6e8145373785824265b4'
|
|
|
|
header_end
|
|
|
|
|
|
|
|
cd "$name-$version"
|
|
|
|
|
|
|
|
# ffmpeg uses it's own configure script with arguably differing options to the
|
|
|
|
# regular GNU autotools configure scripts.
|
|
|
|
# Not using compile_configure due to that.
|
|
|
|
./configure --disable-static --enable-shared --enable-openssl \
|
|
|
|
--enable-libvpx \
|
|
|
|
--enable-libvorbis \
|
|
|
|
--prefix="/$dir_prefix" \
|
|
|
|
--bindir="/$dir_prefix/$dir_bindir" \
|
|
|
|
--datadir="/$dir_prefix/$dir_datadir/$name" \
|
|
|
|
--docdir="/$dir_prefix/$dir_docdir/$name" \
|
|
|
|
--libdir="/$dir_prefix/$dir_libdir" \
|
|
|
|
--incdir="/$dir_prefix/$dir_includedir" \
|
|
|
|
--mandir="/$dir_prefix/$dir_mandir"
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$dir_install" install
|
|
|
|
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|