ffmpeg: update to 2.1.2.

This commit is contained in:
Juan RP 2014-01-14 09:25:29 +01:00
parent 75ec16336c
commit ecdf9e5ae2

View file

@ -1,13 +1,13 @@
# Template file for 'ffmpeg'
pkgname=ffmpeg
version=2.1.1
version=2.1.2
revision=1
short_desc="Decoding, encoding and streaming software"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.ffmpeg.org"
distfiles="${homepage}/releases/ffmpeg-${version}.tar.bz2"
checksum=bef95e5b9aac45adec7ef434537504a63b4bbc22a8ce6a96a68e19c5efbadae2
checksum=80ab38a1990f6489775ba5c8fbe0e0f65c6d704e88c6a77e95d2feb6254fba5c
hostmakedepends="pkg-config perl yasm"
makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-devel
@ -28,7 +28,7 @@ do_configure() {
case "$XBPS_TARGET_MACHINE" in
arm*) _arch="arm";;
mips*) _arch="mips";;
i686|x86_64) _arch="$XBPS_TARGET_MACHINE";;
*) _arch="$XBPS_TARGET_MACHINE";;
esac
_args+=" --enable-cross-compile
@ -118,9 +118,15 @@ libswresample_package() {
}
ffmpeg-devel_package() {
depends="libavcodec>=${version} libavdevice>=${version} libavformat>=${version}
libavutil>=${version} libavfilter>=${version} libpostproc>=${version}
libswscale>=${version} libswresample>=${version}"
depends="
libavcodec>=${version}_${revision}
libavdevice>=${version}_${revision}
libavformat>=${version}_${revision}
libavutil>=${version}_${revision}
libavfilter>=${version}_${revision}
libpostproc>=${version}_${revision}
libswscale>=${version}_${revision}
libswresample>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include