summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libvpx/Makefile9
-rw-r--r--package/libvpx/patches/patch-configure18
2 files changed, 24 insertions, 3 deletions
diff --git a/package/libvpx/Makefile b/package/libvpx/Makefile
index f1ac43835..b39abe1e7 100644
--- a/package/libvpx/Makefile
+++ b/package/libvpx/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libvpx
-PKG_VERSION:= 1.4.0
-PKG_RELEASE:= 2
-PKG_HASH:= f582d9b2d60a592a4a3d8c32965ca2d2167e9ade38c6c30bac8801ff66a118e4
+PKG_VERSION:= 1.5.0
+PKG_RELEASE:= 1
+PKG_HASH:= 306d67908625675f8e188d37a81fbfafdf5068b09d9aa52702b6fbe601c76797
PKG_DESCR:= vp8/vp9 codec library
PKG_SECTION:= libs/video
PKG_BUILDDEP:= yasm-host
@@ -44,6 +44,9 @@ endif
ifeq ($(ADK_TARGET_ARCH_MIPS),y)
CONFIGURE_ARGS+= --target=mips32-linux-gcc
endif
+ifeq ($(ADK_CPU_LOONGSON2F),y)
+CONFIGURE_ARGS+= --target=loongson2f-linux-gcc
+endif
ifeq ($(ADK_TARGET_ARCH_MIPS64),y)
CONFIGURE_ARGS+= --target=mips64-linux-gcc
endif
diff --git a/package/libvpx/patches/patch-configure b/package/libvpx/patches/patch-configure
new file mode 100644
index 000000000..e3ceac490
--- /dev/null
+++ b/package/libvpx/patches/patch-configure
@@ -0,0 +1,18 @@
+--- libvpx-1.5.0.orig/configure 2015-11-09 23:12:38.000000000 +0100
++++ libvpx-1.5.0/configure 2015-11-22 16:17:41.869446856 +0100
+@@ -111,6 +111,7 @@ all_platforms="${all_platforms} armv7-wi
+ all_platforms="${all_platforms} armv7s-darwin-gcc"
+ all_platforms="${all_platforms} mips32-linux-gcc"
+ all_platforms="${all_platforms} mips64-linux-gcc"
++all_platforms="${all_platforms} loongson2f-linux-gcc"
+ all_platforms="${all_platforms} sparc-solaris-gcc"
+ all_platforms="${all_platforms} x86-android-gcc"
+ all_platforms="${all_platforms} x86-darwin8-gcc"
+@@ -242,6 +243,7 @@ ARCH_EXT_LIST="
+ dspr2
+ msa
+ mips64
++ loongson2f
+
+ mmx
+ sse