libvpx: Update from 1.4.0 to 1.5.0
authorFredrik Fornwall <fredrik@fornwall.net>
Tue, 17 Nov 2015 20:42:18 +0000 (15:42 -0500)
committerFredrik Fornwall <fredrik@fornwall.net>
Tue, 17 Nov 2015 20:42:18 +0000 (15:42 -0500)
packages/libvpx/build.sh
packages/libvpx/configure.patch

index ab54c35..f546b39 100644 (file)
@@ -1,7 +1,8 @@
 TERMUX_PKG_HOMEPAGE=http://www.webmproject.org/
 TERMUX_PKG_DESCRIPTION="VP9 Codec SDK"
-TERMUX_PKG_VERSION=1.4.0
-TERMUX_PKG_SRCURL=http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-${TERMUX_PKG_VERSION}.tar.bz2
+TERMUX_PKG_VERSION=1.5.0
+TERMUX_PKG_SRCURL=https://github.com/webmproject/libvpx/archive/v${TERMUX_PKG_VERSION}.tar.gz
+TERMUX_PKG_FOLDERNAME=libvpx-${TERMUX_PKG_VERSION}
 
 termux_step_configure () {
        if [ $TERMUX_ARCH = "arm" ]; then
index 05b4114..77743a3 100644 (file)
@@ -1,12 +1,12 @@
-diff -u -r ../libvpx-v1.3.0/configure ./configure
---- ../libvpx-v1.3.0/configure 2014-01-10 21:12:42.000000000 +0100
-+++ ./configure        2014-03-03 21:21:38.000000000 +0100
-@@ -505,7 +505,7 @@
+diff -u -r ../libvpx-1.5.0/configure ./configure
+--- ../libvpx-1.5.0/configure  2015-11-09 17:12:38.000000000 -0500
++++ ./configure        2015-11-17 15:20:15.792584646 -0500
+@@ -507,7 +507,7 @@
          # Can only build shared libs on a subset of platforms. Doing this check
          # here rather than at option parse time because the target auto-detect
          # magic happens after the command line has been parsed.
--        if ! enabled linux; then
-+        if ! enabled linux && ! enabled android; then
+-        if ! enabled linux && ! enabled os2; then
++        if ! enabled linux && ! enabled os2 && ! enabled android; then
              if enabled gnu; then
                  echo "--enable-shared is only supported on ELF; assuming this is OK"
              else