[vlc-commits] contrib: update libvpx to 1.9.0

Tristan Matthews git at videolan.org
Tue Sep 1 21:07:57 CEST 2020


vlc/vlc-3.0 | branch: master | Tristan Matthews <tmatth at videolan.org> | Mon Aug 31 22:32:08 2020 -0400| [820ac2382b0597610ab41c80f42ecefd822e203f] | committer: Tristan Matthews

contrib: update libvpx to 1.9.0

(cherry picked from commit 5a88236177425c275cd9d18059db690467b187ae)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=820ac2382b0597610ab41c80f42ecefd822e203f
---

 contrib/src/vpx/SHA512SUMS           |  2 +-
 contrib/src/vpx/libvpx-android.patch | 16 ++++++++--------
 contrib/src/vpx/libvpx-ios.patch     | 13 +++++++++----
 contrib/src/vpx/rules.mak            |  2 +-
 4 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/contrib/src/vpx/SHA512SUMS b/contrib/src/vpx/SHA512SUMS
index d9ee76c002..42d55fbb61 100644
--- a/contrib/src/vpx/SHA512SUMS
+++ b/contrib/src/vpx/SHA512SUMS
@@ -1 +1 @@
-da2ab0775a28ddd78654bbe46886e833d4ef7ba91867fc1427dceced735b6177eff06b24f204c075c50c3a5cadc5be6a1fb213c44df189218a543b52554f3a38  libvpx-1.8.2.tar.gz
+8d544552b35000ea5712aec220b78bb5f7dc210704b2f609365214cb95a4f5a0e343b362723d829cb4a9ac203b10d5443700ba84b28fd6b2fefbabb40663e298  libvpx-1.9.0.tar.gz
diff --git a/contrib/src/vpx/libvpx-android.patch b/contrib/src/vpx/libvpx-android.patch
index 325fd53bf8..afba85551a 100644
--- a/contrib/src/vpx/libvpx-android.patch
+++ b/contrib/src/vpx/libvpx-android.patch
@@ -1,7 +1,7 @@
-diff -Naur libvpx-1.8.2.orig/vpx_ports/vpx_ports.mk libvpx-1.8.2/vpx_ports/vpx_ports.mk
---- libvpx-1.8.2.orig/vpx_ports/vpx_ports.mk	2019-12-10 00:09:20.000000000 +0100
-+++ libvpx-1.8.2/vpx_ports/vpx_ports.mk	2020-01-22 14:06:41.478331277 +0100
-@@ -35,6 +35,7 @@
+diff -ruw libvpx-1.9.0.orig/vpx_ports/vpx_ports.mk libvpx-1.9.0/vpx_ports/vpx_ports.mk
+--- libvpx-1.9.0.orig/vpx_ports/vpx_ports.mk	2020-07-30 15:59:15.000000000 -0400
++++ libvpx-1.9.0/vpx_ports/vpx_ports.mk	2020-08-31 22:29:18.638262049 -0400
+@@ -37,6 +37,7 @@
  endif
  
  PORTS_SRCS-$(VPX_ARCH_ARM) += arm_cpudetect.c
@@ -9,10 +9,10 @@ diff -Naur libvpx-1.8.2.orig/vpx_ports/vpx_ports.mk libvpx-1.8.2/vpx_ports/vpx_p
  PORTS_SRCS-$(VPX_ARCH_ARM) += arm.h
  
  PORTS_SRCS-$(VPX_ARCH_PPC) += ppc_cpudetect.c
-diff -Naur libvpx-1.8.2.orig/vpx_ports/x86_abi_support.asm libvpx-1.8.2/vpx_ports/x86_abi_support.asm
---- libvpx-1.8.2.orig/vpx_ports/x86_abi_support.asm	2019-12-10 00:09:20.000000000 +0100
-+++ libvpx-1.8.2/vpx_ports/x86_abi_support.asm	2020-01-22 14:07:11.774877937 +0100
-@@ -393,6 +393,7 @@
+diff -ruw libvpx-1.9.0.orig/vpx_ports/x86_abi_support.asm libvpx-1.9.0/vpx_ports/x86_abi_support.asm
+--- libvpx-1.9.0.orig/vpx_ports/x86_abi_support.asm	2020-07-30 15:59:15.000000000 -0400
++++ libvpx-1.9.0/vpx_ports/x86_abi_support.asm	2020-08-31 22:29:16.846269764 -0400
+@@ -414,6 +414,7 @@
  
  ; On Android platforms use lrand48 when building postproc routines. Prior to L
  ; rand() was not available.
diff --git a/contrib/src/vpx/libvpx-ios.patch b/contrib/src/vpx/libvpx-ios.patch
index 06a28d9293..909d0be917 100644
--- a/contrib/src/vpx/libvpx-ios.patch
+++ b/contrib/src/vpx/libvpx-ios.patch
@@ -1,6 +1,7 @@
---- libvpx/build/make/configure.sh.orig	2020-01-21 18:01:06.103409182 -0500
-+++ libvpx/build/make/configure.sh	2020-01-21 18:01:33.395259084 -0500
-@@ -832,92 +832,6 @@
+diff -ruw libvpx-1.9.0.orig/build/make/configure.sh libvpx-1.9.0/build/make/configure.sh
+--- libvpx-1.9.0.orig/build/make/configure.sh	2020-07-30 15:59:15.000000000 -0400
++++ libvpx-1.9.0/build/make/configure.sh	2020-09-01 09:32:08.722717206 -0400
+@@ -832,96 +832,6 @@
    # PIC is probably what we want when building shared libs
    enabled shared && soft_enable pic
  
@@ -79,6 +80,10 @@
 -      add_cflags  "-mmacosx-version-min=10.14"
 -      add_ldflags "-mmacosx-version-min=10.14"
 -      ;;
+-    *-darwin19-*)
+-      add_cflags  "-mmacosx-version-min=10.15"
+-      add_ldflags "-mmacosx-version-min=10.15"
+-      ;;
 -    *-iphonesimulator-*)
 -      add_cflags  "-miphoneos-version-min=${IOS_VERSION_MIN}"
 -      add_ldflags "-miphoneos-version-min=${IOS_VERSION_MIN}"
@@ -93,7 +98,7 @@
    # Handle Solaris variants. Solaris 10 needs -lposix4
    case ${toolchain} in
      sparc-solaris-*)
-@@ -1106,12 +1020,6 @@
+@@ -1110,12 +1020,6 @@
                add_cflags -isysroot ${alt_libc}
              fi
  
diff --git a/contrib/src/vpx/rules.mak b/contrib/src/vpx/rules.mak
index 5610b1a1e7..abef030a39 100644
--- a/contrib/src/vpx/rules.mak
+++ b/contrib/src/vpx/rules.mak
@@ -1,6 +1,6 @@
 # libvpx
 
-VPX_VERSION := 1.8.2
+VPX_VERSION := 1.9.0
 VPX_URL := http://github.com/webmproject/libvpx/archive/v${VPX_VERSION}.tar.gz
 
 PKGS += vpx



More information about the vlc-commits mailing list