From 0f1ec8a2a56e18c745a09516d7ada8033cd2fb0b Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 11 May 2013 23:47:37 +0000 Subject: [PATCH] extra/libvpx: fix stupidity --- extra/libvpx/PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/extra/libvpx/PKGBUILD b/extra/libvpx/PKGBUILD index 9e0c6680e..5ea85e2a1 100644 --- a/extra/libvpx/PKGBUILD +++ b/extra/libvpx/PKGBUILD @@ -3,8 +3,7 @@ # ALARM: Kevin Mihelich # - configure option --enable-shared isn't supported for us - -plugrel=1 +# - patch to revert stupidity of those who think arm is always cross-compiled pkgname=libvpx pkgver=1.2.0 @@ -15,11 +14,15 @@ url="http://www.webmproject.org/" license=('BSD') depends=('glibc') makedepends=('yasm') -source=(http://mirrors.kernel.org/archlinux/other/libvpx/libvpx-$pkgver.tar.xz{,.sig}) -sha1sums=('75cd953cf2db694412569272803fbdc73f2b599f') +source=(http://mirrors.kernel.org/archlinux/other/libvpx/libvpx-$pkgver.tar.xz{,.sig} + no-cross.patch) +sha1sums=('75cd953cf2db694412569272803fbdc73f2b599f' + 'SKIP' + 'de7c8bb121d08f719f5cbbe94e7e37c24f1090b8') build() { cd "$srcdir/$pkgname-$pkgver" + patch -p1 -i ../no-cross.patch ./configure --prefix=/usr --enable-vp8 \ --enable-postproc \ --enable-pic \