From 16a8870f791c61ea454b204a951fa2e20bd3388b Mon Sep 17 00:00:00 2001 From: icp Date: Thu, 29 Jun 2023 01:29:09 +0530 Subject: [PATCH] pngquant: update to 3.0.1. --- srcpkgs/pngquant/template | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/srcpkgs/pngquant/template b/srcpkgs/pngquant/template index 3e93e4cdf81b..2c98a7abe75c 100644 --- a/srcpkgs/pngquant/template +++ b/srcpkgs/pngquant/template @@ -1,20 +1,13 @@ # Template file for 'pngquant' pkgname=pngquant -version=2.18.0 +version=3.0.1 revision=1 -build_style=gnu-configure -configure_args="--with-openmp" +build_style=cargo hostmakedepends="pkg-config" -makedepends="lcms2-devel libgomp-devel libimagequant-devel libpng-devel" +makedepends="lcms2-devel libpng-devel" short_desc="Lossy PNG compressor" maintainer="Leah Neukirchen " 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 +distfiles="https://static.crates.io/crates/pngquant/pngquant-${version}.crate" +checksum=f5ff78ab2fc7b2c58eefe4e37dc68c4757f95380874d478ec3a52e9fdf363ae3