ffmpeg: update to 0.7.3, enable VA-API support.
This commit is contained in:
parent
aa2547ad09
commit
57f0bbed16
6 changed files with 35 additions and 6 deletions
|
@ -16,6 +16,7 @@ Add_dependency run libvorbis
|
|||
Add_dependency run x264
|
||||
Add_dependency run xvidcore
|
||||
Add_dependency run libvpx
|
||||
Add_dependency run libva
|
||||
Add_dependency run libavutil
|
||||
|
||||
do_install()
|
||||
|
|
|
@ -11,6 +11,7 @@ Add_dependency run alsa-lib
|
|||
Add_dependency run libX11
|
||||
Add_dependency run libXext
|
||||
Add_dependency run libXfixes
|
||||
Add_dependency run SDL
|
||||
Add_dependency run glibc
|
||||
|
||||
do_install()
|
||||
|
|
17
srcpkgs/ffmpeg/libavfilter.template
Normal file
17
srcpkgs/ffmpeg/libavfilter.template
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'libavfilter'.
|
||||
#
|
||||
short_desc="FFmpeg audio/video filter library"
|
||||
long_desc="
|
||||
This is the audio/video filter library from FFmpeg."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libavformat
|
||||
Add_dependency run libavcodec
|
||||
Add_dependency run libswscale
|
||||
Add_dependency run libavutil
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libavfilter.so* ${DESTDIR}/usr/lib
|
||||
}
|
|
@ -1,11 +1,13 @@
|
|||
# Template file for 'ffmpeg'
|
||||
pkgname=ffmpeg
|
||||
version=0.6.3
|
||||
distfiles="http://ffmpeg.org/releases/ffmpeg-${version}.tar.bz2"
|
||||
version=0.7.3
|
||||
homepage="http://www.ffmpeg.org"
|
||||
distfiles="${homepage}/releases/ffmpeg-${version}.tar.bz2"
|
||||
build_style=custom-install
|
||||
short_desc="Decoding, encoding and streaming software"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=693867974a32f3dfe4131048d9ab97620710ff2eb82785462fba1f307493cf41
|
||||
license="GPL-3"
|
||||
checksum=58ee859d9c4f5c477ea5bd0dd8e6848ce3af8b6c0ffe3b556612d437e85abb17
|
||||
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
|
||||
|
@ -18,7 +20,7 @@ long_desc="
|
|||
FFmpeg generates streaming files, in many popular formats
|
||||
simultaneously, faster than any other solution."
|
||||
|
||||
subpackages="libavcodec libavdevice libavformat libavutil"
|
||||
subpackages="libavcodec libavdevice libavformat libavutil libavfilter"
|
||||
subpackages="${subpackages} libpostproc libswscale $pkgname-devel"
|
||||
|
||||
Add_dependency run glibc
|
||||
|
@ -41,8 +43,10 @@ Add_dependency run xvidcore
|
|||
Add_dependency run libavdevice
|
||||
Add_dependency run libpostproc
|
||||
Add_dependency run libswscale
|
||||
Add_dependency run libavfilter
|
||||
Add_dependency run SDL
|
||||
Add_dependency run libvpx
|
||||
Add_dependency run libva
|
||||
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build coreutils
|
||||
|
@ -63,8 +67,9 @@ Add_dependency build x264-devel
|
|||
Add_dependency build xvidcore-devel
|
||||
Add_dependency build SDL-devel
|
||||
Add_dependency build libvpx-devel
|
||||
Add_dependency build libva-devel
|
||||
|
||||
do_build()
|
||||
do_configure()
|
||||
{
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
|
@ -87,7 +92,10 @@ do_build()
|
|||
--enable-nonfree \
|
||||
--enable-runtime-cpudetect \
|
||||
--disable-debug # libfaac is nonfree
|
||||
}
|
||||
|
||||
do_build()
|
||||
{
|
||||
sed -i -e "s|pod2man|/usr/lib/perl5/core_perl/bin/pod2man|g" Makefile
|
||||
make ${makejobs}
|
||||
make doc/ff{mpeg,play,server}.1
|
||||
|
|
1
srcpkgs/libavfilter
Symbolic link
1
srcpkgs/libavfilter
Symbolic link
|
@ -0,0 +1 @@
|
|||
ffmpeg
|
|
@ -358,9 +358,10 @@ libswscale.so libswscale ffmpeg-devel
|
|||
libpostproc.so.51 libpostproc ffmpeg-devel
|
||||
libavcodec.so.52 libavcodec ffmpeg-devel
|
||||
libavutil.so.50 libavutil ffmpeg-devel
|
||||
libavfilter.so libavfilter ffmpeg-devel
|
||||
libSDL-1.2.so SDL SDL-devel
|
||||
libSDL_image-1.2.so SDL_image SDL_image-devel
|
||||
libx264.so.93 x264 x264-devel
|
||||
libx264.so.115 x264 x264-devel
|
||||
libxvidcore.so xvidcore xvidcore-devel
|
||||
libtag.so taglib taglib-devel
|
||||
libfribidi.so fribidi fribidi-devel
|
||||
|
|
Loading…
Reference in a new issue