2011-03-09 16:49:21 +00:00
|
|
|
# Template file for 'libvpx'
|
|
|
|
pkgname=libvpx
|
2011-10-05 21:15:29 +00:00
|
|
|
_distver=0.9.7
|
|
|
|
_patchver=p1
|
|
|
|
version=${_distver}${_patchver}
|
|
|
|
wrksrc="libvpx-v${_distver}-${_patchver}"
|
|
|
|
distfiles="http://webm.googlecode.com/files/${pkgname}-v${_distver}-${_patchver}.tar.bz2"
|
2011-03-09 16:49:21 +00:00
|
|
|
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"
|
2011-11-14 17:12:47 +00:00
|
|
|
revision=1
|
2011-03-09 16:49:21 +00:00
|
|
|
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"
|
2011-10-05 21:15:29 +00:00
|
|
|
checksum=074583d46955d406cf63c6a8d0d5b0a75c2b98128e6d425ab481f57612e291f0
|
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"
|
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}
|
|
|
|
}
|