PKGBUILDs/extra/libvpx/PKGBUILD

43 lines
1 KiB
Bash
Raw Normal View History

2012-02-07 13:46:49 +00:00
# $Id: PKGBUILD 149273 2012-02-06 17:33:27Z ibiru $
2011-01-23 19:01:50 +00:00
# Maintainer: Ionut Biru <ibiru@archlinux.org>
2012-02-07 13:46:49 +00:00
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2013-12-07 21:39:15 +00:00
# - patch to fix building
2013-05-12 00:07:37 +00:00
# - disable neon
2011-01-23 19:01:50 +00:00
pkgname=libvpx
2013-12-07 19:24:13 +00:00
pkgver=1.3.0
pkgrel=1
pkgdesc='The VP8 Codec SDK'
2011-01-23 19:01:50 +00:00
arch=('i686' 'x86_64')
2013-12-07 19:24:13 +00:00
url='http://www.webmproject.org/'
2011-01-23 19:01:50 +00:00
license=('BSD')
depends=('glibc')
makedepends=('yasm')
2013-12-07 19:24:13 +00:00
makedepends=('yasm' 'git')
2013-12-07 21:39:15 +00:00
source=($pkgname::git+http://code.google.com/p/webm.libvpx#tag=v$pkgver
fix-armhf-link.patch)
md5sums=('SKIP'
'018b866555f34c366c397797b2663994')
2011-01-23 19:01:50 +00:00
build() {
2013-12-07 19:24:13 +00:00
cd $pkgname
2013-12-07 21:39:15 +00:00
patch -p1 -i ../fix-armhf-link.patch
2013-12-07 19:24:13 +00:00
./configure --prefix=/usr \
--enable-vp8 \
--enable-vp9 \
2013-10-25 21:56:39 +00:00
--enable-shared \
2011-01-23 19:01:50 +00:00
--enable-postproc \
--enable-pic \
--disable-install-docs \
2013-12-07 19:24:13 +00:00
--disable-install-srcs \
--disable-neon
2011-01-23 19:01:50 +00:00
make
2011-03-09 06:40:49 +00:00
}
package() {
2013-12-07 19:24:13 +00:00
cd $pkgname
2011-01-23 19:01:50 +00:00
make DIST_DIR="$pkgdir/usr" install
2013-12-07 19:24:13 +00:00
install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
2011-01-23 19:01:50 +00:00
}