37375312b9
In issue https://github.com/termux/termux-packages/issues/6160 I have found that community repo "its-pointless.github.io" specifies us as maintainer for its packages. This is NOT TRUE and potentially misleads people using these packages. Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral and not specify maintainer. So all packages now have to override it to the correct value. [skip ci] %ci:no-build
19 lines
919 B
Bash
19 lines
919 B
Bash
TERMUX_PKG_HOMEPAGE=https://pngquant.org
|
|
TERMUX_PKG_DESCRIPTION="PNG image optimising utility"
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=2.13.1
|
|
# 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=(2d462ca5739ac0afe5a6851914a48ff9d06d4fbd3c4883e8308de5dcc6d444bc
|
|
c5314c6ef91be1518735f27284815809c8d1783719ffc6b3ef3c654c95de6fe2)
|
|
TERMUX_PKG_DEPENDS="libpng, littlecms, zlib"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-sse"
|
|
|
|
termux_step_post_get_source() {
|
|
mv $TERMUX_PKG_SRCDIR/libimagequant-$TERMUX_PKG_VERSION/* $TERMUX_PKG_SRCDIR/lib/
|
|
}
|