2011-03-09 16:49:21 +00:00
|
|
|
# Template file for 'libvpx'
|
|
|
|
pkgname=libvpx
|
2011-08-10 10:00:37 +00:00
|
|
|
version=0.9.7
|
2011-03-09 16:49:21 +00:00
|
|
|
wrksrc="libvpx-v${version}"
|
|
|
|
distfiles="http://webm.googlecode.com/files/${pkgname}-v${version}.tar.bz2"
|
|
|
|
build_style=configure
|
|
|
|
configure_args="--enable-vp8 --enable-runtime-cpu-detect --enable-shared
|
|
|
|
--enable-postproc --enable-pic --disable-install-docs --disable-install-srcs"
|
|
|
|
make_install_target="DIST_DIR=${XBPS_DESTDIR}/${pkgname}-${version}/usr install"
|
|
|
|
short_desc="The VP8 Codec SDK"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-10 10:00:37 +00:00
|
|
|
homepage="http://www.webmproject.org"
|
|
|
|
license="BSD"
|
|
|
|
checksum=4436275b905d996f4f0e4a3f98f5d3ca4507a05b9b1e101adfd6f508fa6ae14b
|
2011-03-09 16:49:21 +00:00
|
|
|
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."
|
|
|
|
|
|
|
|
subpackages="$pkgname-devel"
|
|
|
|
Add_dependency run glibc
|
2011-08-10 10:00:37 +00:00
|
|
|
Add_dependency build coreutils
|
|
|
|
Add_dependency build perl ">=0"
|
2011-03-09 16:49:21 +00:00
|
|
|
Add_dependency build yasm
|
2011-08-10 10:00:37 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|