PKGBUILDs/extra/libvpx/PKGBUILD

36 lines
1,021 B
Bash
Raw Normal View History

2011-01-23 19:01:50 +00:00
# $Id: PKGBUILD 100998 2010-11-27 10:13:02Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# PlugApps: Kevin Mihelich <kevin@plugapps.com>
# - configure option --enable-shared isn't supported for us
plugrel=1
pkgname=libvpx
pkgver=0.9.5
pkgrel=2
pkgdesc="The VP8 Codec SDK"
arch=('i686' 'x86_64')
url="http://www.webmproject.org/"
license=('BSD')
depends=('glibc')
makedepends=('yasm')
source=(http://webm.googlecode.com/files/${pkgname}-v${pkgver}.tar.bz2
CVE-2010-4203.patch)
sha1sums=('223965ff16737251afb3377c0800d1f8b5f84379'
'4a6399bbf604ab397f53ad42c087fda588eb4ddf')
build() {
cd "${srcdir}/${pkgname}-v${pkgver}"
patch -Np1 -i "${srcdir}/CVE-2010-4203.patch"
./configure --enable-vp8 \
--enable-runtime-cpu-detect \
--enable-postproc \
--enable-pic \
--disable-install-docs \
--disable-install-srcs
make
make DIST_DIR="$pkgdir/usr" install
install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}