Browse Source

libwebp: Update from 1.0.2 to 1.0.3

emacs-27
Fredrik Fornwall 6 years ago
parent
commit
02a5099d79
  1. 9
      packages/libwebp/CMakeLists.txt.patch
  2. 4
      packages/libwebp/build.sh

9
packages/libwebp/CMakeLists.txt.patch

@ -1,7 +1,7 @@
diff -u -r ../libwebp-1.0.1/CMakeLists.txt ./CMakeLists.txt diff -u -r ../libwebp-1.0.3/CMakeLists.txt ./CMakeLists.txt
--- ../libwebp-1.0.1/CMakeLists.txt 2018-11-08 23:29:51.000000000 +0000 --- ../libwebp-1.0.3/CMakeLists.txt 2019-07-04 19:32:37.000000000 +0000
+++ ./CMakeLists.txt 2018-11-21 23:28:58.956387540 +0000 +++ ./CMakeLists.txt 2019-07-14 17:21:56.050221574 +0000
@@ -58,19 +58,7 @@ @@ -75,20 +75,7 @@
# ############################################################################## # ##############################################################################
# Android only. # Android only.
@ -9,6 +9,7 @@ diff -u -r ../libwebp-1.0.1/CMakeLists.txt ./CMakeLists.txt
- include_directories(${ANDROID_NDK}/sources/android/cpufeatures) - include_directories(${ANDROID_NDK}/sources/android/cpufeatures)
- add_library(cpufeatures STATIC - add_library(cpufeatures STATIC
- ${ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c) - ${ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c)
- list(APPEND INSTALLED_LIBRARIES cpufeatures)
- target_link_libraries(cpufeatures dl) - target_link_libraries(cpufeatures dl)
- set(WEBP_DEP_LIBRARIES ${WEBP_DEP_LIBRARIES} cpufeatures) - set(WEBP_DEP_LIBRARIES ${WEBP_DEP_LIBRARIES} cpufeatures)
- set(WEBP_DEP_INCLUDE_DIRS ${WEBP_DEP_INCLUDE_DIRS} - set(WEBP_DEP_INCLUDE_DIRS ${WEBP_DEP_INCLUDE_DIRS}

4
packages/libwebp/build.sh

@ -1,8 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://github.com/webmproject/libwebp TERMUX_PKG_HOMEPAGE=https://github.com/webmproject/libwebp
TERMUX_PKG_DESCRIPTION="Library to encode and decode images in WebP format" TERMUX_PKG_DESCRIPTION="Library to encode and decode images in WebP format"
TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_VERSION=1.0.2 TERMUX_PKG_VERSION=1.0.3
TERMUX_PKG_SHA256=347cf85ddc3497832b5fa9eee62164a37b249c83adae0ba583093e039bf4881f TERMUX_PKG_SHA256=082d114bcb18a0e2aafc3148d43367c39304f86bf18ba0b2e766447e111a4a91
TERMUX_PKG_SRCURL=https://github.com/webmproject/libwebp/archive/v$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SRCURL=https://github.com/webmproject/libwebp/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-gif --disable-gif

Loading…
Cancel
Save