mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
48 lines
1.1 KiB
Bash
48 lines
1.1 KiB
Bash
# $Id: PKGBUILD 149273 2012-02-06 17:33:27Z ibiru $
|
|
# Maintainer: Ionut Biru <ibiru@archlinux.org>
|
|
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - patch to fix building
|
|
# - disable neon and neon-asm
|
|
|
|
pkgname=libvpx
|
|
pkgver=1.4.0
|
|
pkgrel=2
|
|
pkgdesc='VP8 and VP9 codec'
|
|
arch=('i686' 'x86_64')
|
|
url='http://www.webmproject.org/'
|
|
license=('BSD')
|
|
depends=('glibc' 'gcc-libs')
|
|
makedepends=('yasm' 'git')
|
|
provides=('libvpx.so')
|
|
source=($pkgname::git+http://code.google.com/p/webm.libvpx#tag=v$pkgver
|
|
fix-armhf-link.patch)
|
|
md5sums=('SKIP'
|
|
'a2d92d01ecc336fe81682daa8a7fdafa')
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
patch -p1 -i ../fix-armhf-link.patch
|
|
}
|
|
|
|
build() {
|
|
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 \
|
|
--disable-neon --disable-neon-asm
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
make DIST_DIR="$pkgdir/usr" install
|
|
install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|