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"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-10-14 08:02:38 +02:00
|
|
|
TERMUX_PKG_VERSION=2.16.0
|
2018-06-13 02:15:26 +02:00
|
|
|
# If both archives are .tar.gz then they overwrite eachother since they are the same version and hence the same name.
|
|
|
|
# Work around this by using .zip for one of them...
|
|
|
|
TERMUX_PKG_SRCURL=(https://github.com/pornel/pngquant/archive/$TERMUX_PKG_VERSION.tar.gz
|
|
|
|
https://github.com/ImageOptim/libimagequant/archive/$TERMUX_PKG_VERSION.zip)
|
2021-10-14 08:02:38 +02:00
|
|
|
TERMUX_PKG_SHA256=(6b186b76bc995ee12949a48a1041173459eb8050ef1dceb5f7ba43726327b1ea
|
|
|
|
0abd696af22c85fefa584b531d67f484c37a4196c66c7774ac6b2280a60df76a)
|
2019-04-14 14:51:46 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libpng, littlecms, zlib"
|
2017-12-02 17:43:12 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-sse"
|
|
|
|
|
2020-07-16 23:58:48 +02:00
|
|
|
termux_step_post_get_source() {
|
2018-06-13 02:15:26 +02:00
|
|
|
mv $TERMUX_PKG_SRCDIR/libimagequant-$TERMUX_PKG_VERSION/* $TERMUX_PKG_SRCDIR/lib/
|
2017-12-02 17:43:12 +01:00
|
|
|
}
|