summaryrefslogtreecommitdiff
path: root/extra/libvpx
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-17 11:42:44 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-17 11:42:44 -0300
commit22c859b0761ae9c8a4249f3d2b0274cf094f9b39 (patch)
tree74ff42c8efa27aa98e641218fdff5a4500bad1b8 /extra/libvpx
parent3de3a024e4363dffac1dd89c5d8ad6ecdeb6794e (diff)
Libvpx patched for mips64el. Ffmpeg Loongson patch is deprecated
Diffstat (limited to 'extra/libvpx')
-rw-r--r--extra/libvpx/PKGBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/extra/libvpx/PKGBUILD b/extra/libvpx/PKGBUILD
index d6de05435..d92813ea2 100644
--- a/extra/libvpx/PKGBUILD
+++ b/extra/libvpx/PKGBUILD
@@ -9,18 +9,26 @@ url="http://www.webmproject.org/"
license=('BSD')
depends=('glibc')
makedepends=('yasm')
-source=(http://webm.googlecode.com/files/${pkgname}-v${pkgver}.tar.bz2)
-sha1sums=('639596df7182a93db83f61af8f5bb5b6a13dcf63')
+source=(http://webm.googlecode.com/files/${pkgname}-v${pkgver}.tar.bz2
+ mips64el.patch)
+sha1sums=('639596df7182a93db83f61af8f5bb5b6a13dcf63'
+ '4fd775826a4d737102f831c451235a58947f2cde')
build() {
cd "${srcdir}/${pkgname}-v${pkgver}"
+
+ if [ "$CARCH" = "mips64el" ]; then
+ extra="--target=mips64el-linux-gcc"
+ patch -Np1 -i ${srcdir}/mips64el.patch
+ fi
+
./configure --prefix=/usr --enable-vp8 \
--enable-runtime-cpu-detect \
--enable-shared \
--enable-postproc \
--enable-pic \
--disable-install-docs \
- --disable-install-srcs
+ --disable-install-srcs $extra
make
}