PKGBUILDs/extra/libvpx/PKGBUILD

40 lines
1.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>
2011-01-23 19:01:50 +00:00
# - configure option --enable-shared isn't supported for us
2013-05-12 00:07:37 +00:00
# - patch to revert stupidity: forced cross compiling, forced cflags
# - disable neon
2011-01-23 19:01:50 +00:00
pkgname=libvpx
2013-05-11 15:53:10 +00:00
pkgver=1.2.0
2013-10-25 03:04:12 +00:00
pkgrel=2
2011-01-23 19:01:50 +00:00
pkgdesc="The VP8 Codec SDK"
arch=('i686' 'x86_64')
url="http://www.webmproject.org/"
license=('BSD')
depends=('glibc')
makedepends=('yasm')
2013-05-11 23:47:37 +00:00
source=(http://mirrors.kernel.org/archlinux/other/libvpx/libvpx-$pkgver.tar.xz{,.sig}
no-cross.patch)
sha1sums=('75cd953cf2db694412569272803fbdc73f2b599f'
'SKIP'
2013-05-12 00:07:37 +00:00
'9677138685ef36cbb9f2be1a586324b54fab9400')
2011-01-23 19:01:50 +00:00
build() {
2013-05-11 15:53:10 +00:00
cd "$srcdir/$pkgname-$pkgver"
2013-05-11 23:47:37 +00:00
patch -p1 -i ../no-cross.patch
2011-08-06 15:55:15 +00:00
./configure --prefix=/usr --enable-vp8 \
2011-01-23 19:01:50 +00:00
--enable-postproc \
--enable-pic \
--disable-install-docs \
2013-05-12 00:07:37 +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-05-11 15:53:10 +00:00
cd "$srcdir/$pkgname-$pkgver"
2011-01-23 19:01:50 +00:00
make DIST_DIR="$pkgdir/usr" install
2012-02-07 13:46:49 +00:00
install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
2011-01-23 19:01:50 +00:00
}