mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
60 lines
1.4 KiB
Bash
60 lines
1.4 KiB
Bash
# $Id$
|
|
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
|
|
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
|
# Contributor: 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.6.1
|
|
pkgrel=1
|
|
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=("libvpx-${pkgver}.tar.gz::https://github.com/webmproject/libvpx/archive/v${pkgver}.tar.gz"
|
|
0001-ARM-fixes.patch)
|
|
sha256sums=('cda8bb6f0e4848c018177d3a576fa83ed96d762554d7010fe4cfb9d70c22e588'
|
|
'c2c0f2e81a97edf8795e94a58c00ca6c43f44e1e82e5b122c209e7f6ee91e6e3')
|
|
|
|
prepare() {
|
|
cd libvpx-${pkgver}
|
|
|
|
patch -p1 -i ../0001-ARM-fixes.patch
|
|
}
|
|
|
|
build() {
|
|
cd libvpx-${pkgver}
|
|
|
|
./configure \
|
|
--prefix='/usr' \
|
|
--enable-runtime-cpu-detect \
|
|
--enable-shared \
|
|
--enable-pic \
|
|
--disable-install-docs \
|
|
--disable-install-srcs \
|
|
--enable-vp8 \
|
|
--enable-postproc \
|
|
--enable-vp9 \
|
|
--enable-vp9-highbitdepth \
|
|
--enable-experimental \
|
|
--enable-spatial-svc \
|
|
--disable-neon --disable-neon-asm
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd libvpx-${pkgver}
|
|
|
|
make DIST_DIR="${pkgdir}"/usr install
|
|
|
|
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/libvpx/
|
|
}
|
|
|
|
# vim: ts=2 sw=2 et:
|