Added ffmpeg-0.5 build template.

--HG--
extra : convert_revision : 8b37ebb827b4d6956739dc60a3e03db258306e84
This commit is contained in:
Juan RP 2009-12-31 01:33:43 +01:00
parent b869f1e81c
commit d40e03b91c
4 changed files with 63 additions and 0 deletions

1
srcpkgs/ffmpeg-devel Symbolic link
View File

@ -0,0 +1 @@
ffmpeg

2
srcpkgs/ffmpeg/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=">=0.5"
api_depends="${abi_depends}"

View File

@ -0,0 +1,23 @@
# Template file for 'ffmpeg-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
_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_}-devel
done
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
}

37
srcpkgs/ffmpeg/template Normal file
View File

@ -0,0 +1,37 @@
# 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