20 lines
635 B
Bash
20 lines
635 B
Bash
# Template file for 'pngquant'
|
|
pkgname=pngquant
|
|
version=2.12.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-openmp"
|
|
makedepends="lcms2-devel libgomp-devel libimagequant-devel libpng-devel"
|
|
short_desc="Lossy PNG compressor"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://pngquant.org/"
|
|
distfiles="https://github.com/pornel/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=f1c9608668100fa2dd07b3158679b75c33a6854b044b21442d6762d52ed10718
|
|
make_check_target=test
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*) configure_args+=" --enable-sse";;
|
|
*) configure_args+=" --disable-sse";;
|
|
esac
|