diff --git a/srcpkgs/ffmpeg-devel b/srcpkgs/ffmpeg-devel new file mode 120000 index 0000000000..a9f1eea092 --- /dev/null +++ b/srcpkgs/ffmpeg-devel @@ -0,0 +1 @@ +ffmpeg \ No newline at end of file diff --git a/srcpkgs/ffmpeg/depends b/srcpkgs/ffmpeg/depends new file mode 100644 index 0000000000..690f2b395d --- /dev/null +++ b/srcpkgs/ffmpeg/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.5" +api_depends="${abi_depends}" diff --git a/srcpkgs/ffmpeg/ffmpeg-devel.template b/srcpkgs/ffmpeg/ffmpeg-devel.template new file mode 100644 index 0000000000..776f3e9027 --- /dev/null +++ b/srcpkgs/ffmpeg/ffmpeg-devel.template @@ -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 +} diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template new file mode 100644 index 0000000000..ddec41f3f0 --- /dev/null +++ b/srcpkgs/ffmpeg/template @@ -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 " +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