summaryrefslogtreecommitdiff
path: root/graphics/libimagequant/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--graphics/libimagequant/Makefile17
-rw-r--r--graphics/libimagequant/Makefile.crates36
2 files changed, 31 insertions, 22 deletions
diff --git a/graphics/libimagequant/Makefile b/graphics/libimagequant/Makefile
index 177b9f0a27a1..789f9b086f59 100644
--- a/graphics/libimagequant/Makefile
+++ b/graphics/libimagequant/Makefile
@@ -1,9 +1,8 @@
PORTNAME= libimagequant
-PORTVERSION= 4.3.4
-PORTREVISION= 6
+PORTVERSION= 4.4.0
CATEGORIES= graphics
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= tagattie@FreeBSD.org
COMMENT= Image Quantization Library
WWW= https://pngquant.org/lib/
@@ -13,18 +12,24 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT
BUILD_DEPENDS= cargo-cbuild:devel/cargo-c
USES= cargo
+
USE_GITHUB= yes
-USE_LDCONFIG= yes
GH_ACCOUNT= ImageOptim
+
+USE_LDCONFIG= yes
+
CARGO_BUILD_ARGS= --package imagequant-sys
CARGO_INSTALL_ARGS:= ${CARGO_BUILD_ARGS}
+
PLIST_FILES= include/libimagequant.h \
lib/libimagequant.a \
lib/libimagequant.so \
- lib/libimagequant.so.0.4 \
- lib/libimagequant.so.0.4.0 \
+ lib/libimagequant.so.${SOVERSION:R} \
+ lib/libimagequant.so.${SOVERSION} \
libdata/pkgconfig/imagequant.pc
+SOVERSION= 0.4.1
+
do-build:
@${CARGO_CARGO_RUN} cbuild \
--verbose \
diff --git a/graphics/libimagequant/Makefile.crates b/graphics/libimagequant/Makefile.crates
index 84c2fd6788e4..eb9bec380e90 100644
--- a/graphics/libimagequant/Makefile.crates
+++ b/graphics/libimagequant/Makefile.crates
@@ -1,21 +1,25 @@
-CARGO_CRATES= adler2-2.0.0 \
+CARGO_CRATES= adler2-2.0.1 \
arrayvec-0.7.6 \
- bitflags-2.8.0 \
- bytemuck-1.21.0 \
- cc-1.2.10 \
- cfg-if-1.0.0 \
- crc32fast-1.4.2 \
+ bitflags-2.9.4 \
+ bytemuck-1.24.0 \
+ cc-1.2.41 \
+ cfg-if-1.0.3 \
+ crc32fast-1.5.0 \
crossbeam-deque-0.8.6 \
crossbeam-epoch-0.9.18 \
crossbeam-utils-0.8.21 \
- either-1.13.0 \
- flate2-1.0.35 \
- libc-0.2.169 \
- lodepng-3.11.0 \
- miniz_oxide-0.8.3 \
- once_cell-1.20.2 \
- rayon-1.10.0 \
- rayon-core-1.12.1 \
- rgb-0.8.50 \
+ either-1.15.0 \
+ find-msvc-tools-0.1.4 \
+ flate2-1.1.4 \
+ libc-0.2.177 \
+ libz-rs-sys-0.5.2 \
+ lodepng-3.12.1 \
+ miniz_oxide-0.8.9 \
+ once_cell-1.21.3 \
+ rayon-1.11.0 \
+ rayon-core-1.13.0 \
+ rgb-0.8.52 \
shlex-1.3.0 \
- thread_local-1.1.8
+ simd-adler32-0.3.7 \
+ thread_local-1.1.9 \
+ zlib-rs-0.5.2