Browse Source

libvpx: Update from 1.4.0 to 1.5.0

android-5
Fredrik Fornwall 9 years ago
parent
commit
e58281b9f9
  1. 5
      packages/libvpx/build.sh
  2. 12
      packages/libvpx/configure.patch

5
packages/libvpx/build.sh

@ -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

12
packages/libvpx/configure.patch

@ -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

Loading…
Cancel
Save