Browse Source

libvpx: Update from 1.6.0 to 1.6.1

android-5
Fredrik Fornwall 8 years ago
parent
commit
4f081a788f
  1. 16
      packages/libvpx/arm_cpudetect-always-neon.patch
  2. 4
      packages/libvpx/build.sh

16
packages/libvpx/arm_cpudetect-always-neon.patch

@ -1,7 +1,7 @@
diff -u -r ../libvpx-1.4.0/vpx_ports/arm_cpudetect.c ./vpx_ports/arm_cpudetect.c diff -u -r ../libvpx-1.6.1/vpx_ports/arm_cpudetect.c ./vpx_ports/arm_cpudetect.c
--- ../libvpx-1.4.0/vpx_ports/arm_cpudetect.c 2015-04-03 14:49:19.000000000 -0400 --- ../libvpx-1.6.1/vpx_ports/arm_cpudetect.c 2017-01-12 21:27:27.000000000 +0100
+++ ./vpx_ports/arm_cpudetect.c 2015-05-24 17:56:35.882394966 -0400 +++ ./vpx_ports/arm_cpudetect.c 2017-01-29 23:55:05.399283897 +0100
@@ -101,23 +101,19 @@ @@ -92,20 +92,17 @@
} }
#elif defined(__ANDROID__) /* end _MSC_VER */ #elif defined(__ANDROID__) /* end _MSC_VER */
@ -17,11 +17,9 @@ diff -u -r ../libvpx-1.4.0/vpx_ports/arm_cpudetect.c ./vpx_ports/arm_cpudetect.c
mask = arm_cpu_env_mask(); mask = arm_cpu_env_mask();
- features = android_getCpuFeatures(); - features = android_getCpuFeatures();
#if HAVE_MEDIA
flags |= HAS_MEDIA;
#endif /* HAVE_MEDIA */
#if HAVE_NEON || HAVE_NEON_ASM #if HAVE_NEON || HAVE_NEON_ASM
- if (features & ANDROID_CPU_ARM_FEATURE_NEON) - if (features & ANDROID_CPU_ARM_FEATURE_NEON) flags |= HAS_NEON;
flags |= HAS_NEON; + flags |= HAS_NEON;
#endif /* HAVE_NEON || HAVE_NEON_ASM */ #endif /* HAVE_NEON || HAVE_NEON_ASM */
return flags & mask; return flags & mask;
}

4
packages/libvpx/build.sh

@ -1,8 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://www.webmproject.org TERMUX_PKG_HOMEPAGE=https://www.webmproject.org
TERMUX_PKG_DESCRIPTION="VP8 & VP9 Codec SDK" TERMUX_PKG_DESCRIPTION="VP8 & VP9 Codec SDK"
TERMUX_PKG_VERSION=1.6.0 TERMUX_PKG_VERSION=1.6.1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/webmproject/libvpx/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://github.com/webmproject/libvpx/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=cda8bb6f0e4848c018177d3a576fa83ed96d762554d7010fe4cfb9d70c22e588
TERMUX_PKG_FOLDERNAME=libvpx-${TERMUX_PKG_VERSION} TERMUX_PKG_FOLDERNAME=libvpx-${TERMUX_PKG_VERSION}
termux_step_configure () { termux_step_configure () {

Loading…
Cancel
Save