libvpx: update to 1.2.0; added -tools subpkg.

This commit is contained in:
Juan RP 2014-01-05 11:58:11 +01:00
parent c487df0c01
commit ae692593a9
2 changed files with 15 additions and 13 deletions

1
srcpkgs/libvpx-tools Symbolic link
View File

@ -0,0 +1 @@
libvpx

View File

@ -1,22 +1,15 @@
# Template file for 'libvpx'
pkgname=libvpx
version=1.1.0
revision=3
wrksrc="libvpx-v${version}"
version=1.2.0
revision=1
wrksrc="${pkgname}-v${version}"
hostmakedepends="which perl yasm"
short_desc="The VP8 Codec SDK"
short_desc="The VP8 Codec"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.webmproject.org"
license="BSD"
distfiles="http://webm.googlecode.com/files/${pkgname}-v${version}.tar.bz2"
checksum=9ce074cf4b3bcd9a49ff93e05485b71c273bfc3685a305e55a0e7fa51beb72c5
long_desc="
WebM is an open, royalty-free, media file format designed for the web.
WebM defines the file container structure, video and audio formats. WebM
files consist of video streams compressed with the VP8 video codec and audio
streams compressed with the Vorbis audio codec. The WebM file structure is
based on the Matroska container."
checksum=5ef0c650b2daa62085eb8105a7a4273f3e987db53c5ec97fd51d1b6511e5aa06
do_configure() {
export LD="$CC" AS=
@ -41,12 +34,20 @@ do_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
libvpx-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
}
}
libvpx-devel_package() {
depends="libvpx>=$version"
depends="libvpx>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}