mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
42 lines
1 KiB
Bash
42 lines
1 KiB
Bash
# $Id: PKGBUILD 149273 2012-02-06 17:33:27Z ibiru $
|
|
# Maintainer: Ionut Biru <ibiru@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - patch to fix building
|
|
# - disable neon
|
|
|
|
pkgname=libvpx
|
|
pkgver=1.3.0
|
|
pkgrel=1
|
|
pkgdesc='The VP8 Codec SDK'
|
|
arch=('i686' 'x86_64')
|
|
url='http://www.webmproject.org/'
|
|
license=('BSD')
|
|
depends=('glibc')
|
|
makedepends=('yasm')
|
|
makedepends=('yasm' 'git')
|
|
source=($pkgname::git+http://code.google.com/p/webm.libvpx#tag=v$pkgver
|
|
fix-armhf-link.patch)
|
|
md5sums=('SKIP'
|
|
'018b866555f34c366c397797b2663994')
|
|
|
|
build() {
|
|
cd $pkgname
|
|
patch -p1 -i ../fix-armhf-link.patch
|
|
./configure --prefix=/usr \
|
|
--enable-vp8 \
|
|
--enable-vp9 \
|
|
--enable-shared \
|
|
--enable-postproc \
|
|
--enable-pic \
|
|
--disable-install-docs \
|
|
--disable-install-srcs \
|
|
--disable-neon
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
make DIST_DIR="$pkgdir/usr" install
|
|
install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|