2018-08-27 12:13:28 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/webmproject/libwebp
|
|
|
|
TERMUX_PKG_DESCRIPTION="Library to encode and decode images in WebP format"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-03-21 19:04:44 +01:00
|
|
|
TERMUX_PKG_VERSION=1.2.2
|
2020-01-02 00:43:54 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/webmproject/libwebp/archive/v$TERMUX_PKG_VERSION.tar.gz
|
2022-03-21 19:04:44 +01:00
|
|
|
TERMUX_PKG_SHA256=51e9297aadb7d9eb99129fe0050f53a11fcce38a0848fb2b0389e385ad93695e
|
2020-01-02 00:43:54 +01:00
|
|
|
TERMUX_PKG_DEPENDS="giflib, libjpeg-turbo, libpng, libtiff"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="libwebp-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libwebp-dev"
|
2018-08-27 12:13:28 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
2020-01-02 00:43:54 +01:00
|
|
|
--enable-libwebpmux
|
|
|
|
--enable-libwebpdemux
|
|
|
|
--enable-libwebpdecoder
|
|
|
|
--enable-libwebpextras
|
|
|
|
--enable-swap-16bit-csp
|
|
|
|
--enable-gif
|
|
|
|
--enable-jpeg
|
|
|
|
--enable-png
|
|
|
|
--enable-tiff
|
2018-08-27 12:13:28 +02:00
|
|
|
--disable-wic
|
|
|
|
"
|
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/man/man1"
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
./autogen.sh
|
|
|
|
}
|