void-packages/srcpkgs/ffmpeg/template

38 lines
1.5 KiB
Plaintext

# Template file for 'ffmpeg'
pkgname=ffmpeg
version=0.5
distfiles="http://ffmpeg.mplayerhq.hu/releases/ffmpeg-$version.tar.bz2"
build_style=configure
configure_args="--prefix=/usr --enable-gpl --enable-libmp3lame
--enable-libvorbis --enable-libfaac --enable-libfaad --enable-libxvid
--enable-libx264 --enable-libtheora --enable-postproc --enable-shared
--enable-pthreads --enable-x11grab --enable-swscale"
make_build_args="doc/ffmpeg.1 doc/ffplay.1 doc/ffserver.1"
make_install_args="install-man"
short_desc="Decoding, encoding and streaming software"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=16de61d7426b1df7aee54b48c16aa728de1ed82f95db5fc4d8886d5d2702d90a
long_desc="
FFmpeg is the first complete and free Internet Live Audio and Video
Broadcasting solution. FFMpeg aims at being the command line tool to
handle audio and video. It is a \"three-in-one\" solution.
FFmpeg includes a soft VCR capable of encoding in many different
formats simultaneously, a streaming server for Netcasting multimedia
and is available under the GNU General Public License.
FFmpeg generates streaming files, in many popular formats
simultaneously, faster than any other solution."
subpackages="$pkgname-devel"
Add_dependency run glibc
_ffmpeg_deps="alsa-lib bzip2 faac faad2 freetype imlib2 lame libtheora"
_ffmpeg_deps="${_ffmpeg_deps} libvorbis x264 xvidcore zlib SDL"
_ffmpeg_deps="${_ffmpeg_deps} libX11 libXext"
for _dep_ in ${_ffmpeg_deps}; do
Add_dependency run ${_dep_}
Add_dependency build ${_dep_}-devel
done