2011-03-09 16:49:21 +00:00
|
|
|
# Template file for 'libvpx'
|
|
|
|
pkgname=libvpx
|
2012-05-23 18:15:56 +00:00
|
|
|
version=1.1.0
|
2013-03-24 15:41:58 +00:00
|
|
|
revision=2
|
2012-01-31 16:26:12 +00:00
|
|
|
wrksrc="libvpx-v${version}"
|
2012-05-23 18:15:56 +00:00
|
|
|
subpackages="$pkgname-devel"
|
2013-03-24 15:41:58 +00:00
|
|
|
hostmakedepends="which perl yasm"
|
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"
|
2013-03-24 15:49:10 +00:00
|
|
|
distfiles="http://webm.googlecode.com/files/${pkgname}-v${version}.tar.bz2"
|
2012-05-23 18:15:56 +00:00
|
|
|
checksum=9ce074cf4b3bcd9a49ff93e05485b71c273bfc3685a305e55a0e7fa51beb72c5
|
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."
|
|
|
|
|
2013-03-24 15:41:58 +00:00
|
|
|
do_configure() {
|
|
|
|
export LD="$CC"
|
|
|
|
if [ "$XBPS_CROSS_BUILD" ]; then
|
|
|
|
sed -e "s,generic-gnu,$XBPS_CROSS_TRIPLET," -i configure
|
|
|
|
_cross="--target=$XBPS_CROSS_TRIPLET"
|
|
|
|
fi
|
|
|
|
|
|
|
|
./configure --enable-vp8 --enable-runtime-cpu-detect --enable-shared \
|
|
|
|
--enable-postproc --enable-pic --disable-install-docs \
|
|
|
|
--disable-install-srcs ${_cross}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make DIST_DIR=${DESTDIR}/usr install
|
|
|
|
|
2011-08-10 10:00:37 +00:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|