From ae692593a9b3d3763137e745c96a984466a0d71e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 5 Jan 2014 11:58:11 +0100 Subject: [PATCH] libvpx: update to 1.2.0; added -tools subpkg. --- srcpkgs/libvpx-tools | 1 + srcpkgs/libvpx/template | 27 ++++++++++++++------------- 2 files changed, 15 insertions(+), 13 deletions(-) create mode 120000 srcpkgs/libvpx-tools diff --git a/srcpkgs/libvpx-tools b/srcpkgs/libvpx-tools new file mode 120000 index 0000000000..230e0dffa9 --- /dev/null +++ b/srcpkgs/libvpx-tools @@ -0,0 +1 @@ +libvpx \ No newline at end of file diff --git a/srcpkgs/libvpx/template b/srcpkgs/libvpx/template index 7dee8cb088..cc66f15ea5 100644 --- a/srcpkgs/libvpx/template +++ b/srcpkgs/libvpx/template @@ -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 " 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 } }