pngquant: Update to 2.17.0 and depend on libimagequant
This commit is contained in:
parent
43b9d06b50
commit
49e1a3135d
@ -1,18 +1,19 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://pngquant.org
|
||||
TERMUX_PKG_DESCRIPTION="PNG image optimising utility"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_LICENSE_FILE="COPYRIGHT"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=2.16.0
|
||||
# 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)
|
||||
TERMUX_PKG_SHA256=(6b186b76bc995ee12949a48a1041173459eb8050ef1dceb5f7ba43726327b1ea
|
||||
0abd696af22c85fefa584b531d67f484c37a4196c66c7774ac6b2280a60df76a)
|
||||
TERMUX_PKG_DEPENDS="libpng, littlecms, zlib"
|
||||
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"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-sse"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
--with-libimagequant
|
||||
--disable-sse
|
||||
"
|
||||
|
||||
termux_step_post_get_source() {
|
||||
mv $TERMUX_PKG_SRCDIR/libimagequant-$TERMUX_PKG_VERSION/* $TERMUX_PKG_SRCDIR/lib/
|
||||
rm -rf lib
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user