21 lines
665 B
Bash
21 lines
665 B
Bash
# Template file for 'pngquant'
|
|
pkgname=pngquant
|
|
version=2.18.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-openmp"
|
|
hostmakedepends="pkg-config"
|
|
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/kornelski/pngquant/archive/${version}.tar.gz"
|
|
checksum=424ff432e51dfc3cf5ff8001ad1b64198850686c5e3c26ecd477e4b69ef4fade
|
|
make_check_target=test
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*) configure_args+=" --enable-sse";;
|
|
*) configure_args+=" --disable-sse";;
|
|
esac
|