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>
|
2015-04-21 11:57:20 +00:00
|
|
|
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
2011-01-23 19:01:50 +00:00
|
|
|
|
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
|
2015-04-21 12:40:23 +00:00
|
|
|
# - disable neon and neon-asm
|
2011-01-23 19:01:50 +00:00
|
|
|
|
|
|
|
pkgname=libvpx
|
2015-04-21 11:57:20 +00:00
|
|
|
pkgver=1.4.0
|
2015-04-21 12:17:51 +00:00
|
|
|
pkgrel=2
|
2015-04-21 11:57:20 +00:00
|
|
|
pkgdesc='VP8 and VP9 codec'
|
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')
|
2015-04-21 12:17:51 +00:00
|
|
|
depends=('glibc' 'gcc-libs')
|
2013-12-07 19:24:13 +00:00
|
|
|
makedepends=('yasm' 'git')
|
2015-04-21 12:17:51 +00:00
|
|
|
provides=('libvpx.so')
|
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'
|
2015-04-21 12:40:23 +00:00
|
|
|
'a2d92d01ecc336fe81682daa8a7fdafa')
|
2015-04-21 11:57:20 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname
|
|
|
|
patch -p1 -i ../fix-armhf-link.patch
|
|
|
|
}
|
2011-01-23 19:01:50 +00:00
|
|
|
|
|
|
|
build() {
|
2015-04-21 11:57:20 +00:00
|
|
|
cd $pkgname
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-vp8 \
|
|
|
|
--enable-vp9 \
|
|
|
|
--enable-runtime-cpu-detect \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-postproc \
|
|
|
|
--enable-pic \
|
|
|
|
--disable-install-docs \
|
|
|
|
--disable-install-srcs \
|
2015-04-21 12:40:23 +00:00
|
|
|
--disable-neon --disable-neon-asm
|
2015-04-21 11:57:20 +00:00
|
|
|
make
|
2011-03-09 06:40:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-04-21 11:57:20 +00:00
|
|
|
cd $pkgname
|
|
|
|
make DIST_DIR="$pkgdir/usr" install
|
|
|
|
install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
2011-01-23 19:01:50 +00:00
|
|
|
}
|