2017-12-02 17:43:12 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://pngquant.org
|
2017-12-05 22:33:04 +01:00
|
|
|
TERMUX_PKG_DESCRIPTION="PNG image optimising utility"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
2022-04-11 06:42:27 +02:00
|
|
|
TERMUX_PKG_LICENSE_FILE="COPYRIGHT"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-04-11 06:42:27 +02:00
|
|
|
TERMUX_PKG_VERSION=2.17.0
|
|
|
|
TERMUX_PKG_SRCURL=https://github.com/kornelski/pngquant/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=bc1baa43c814b4416bb63d7b2168d4e5395cfc69a00f8997a595361caa507887
|
|
|
|
TERMUX_PKG_DEPENDS="libimagequant, libpng, littlecms"
|
|
|
|
TERMUX_PKG_BUILD_DEPENDS="zlib"
|
2017-12-02 17:43:12 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2022-04-16 12:52:15 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2022-04-16 16:02:27 +02:00
|
|
|
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
2022-04-11 06:42:27 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--with-libimagequant
|
|
|
|
--disable-sse
|
|
|
|
"
|
2017-12-02 17:43:12 +01:00
|
|
|
|
2020-07-16 23:58:48 +02:00
|
|
|
termux_step_post_get_source() {
|
2022-04-11 06:42:27 +02:00
|
|
|
rm -rf lib
|
2017-12-02 17:43:12 +01:00
|
|
|
}
|