graphics/libimagequant: Add new port
Small, portable C library for high-quality conversion of RGBA images to 8-bit indexed-color (palette) images. It's powering pngquant2. WWW: https://github.com/ImageOptim/libimagequant
This commit is contained in:
@@ -458,6 +458,7 @@
|
||||
SUBDIR += libgxps
|
||||
SUBDIR += libheif
|
||||
SUBDIR += libimg
|
||||
SUBDIR += libimagequant
|
||||
SUBDIR += libiptcdata
|
||||
SUBDIR += libjpeg-turbo
|
||||
SUBDIR += libjxl
|
||||
|
||||
27
graphics/libimagequant/Makefile
Normal file
27
graphics/libimagequant/Makefile
Normal file
@@ -0,0 +1,27 @@
|
||||
PORTNAME= libimagequant
|
||||
PORTVERSION= 2.16.0
|
||||
CATEGORIES= graphics
|
||||
|
||||
MAINTAINER= wen@FreeBSD.org
|
||||
COMMENT= Image Quantization Library
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
||||
|
||||
BUILD_DEPENDS= bash:shells/bash
|
||||
|
||||
USES= gmake localbase
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ImageOptim
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
PLIST_FILES= include/libimagequant.h \
|
||||
lib/libimagequant.a \
|
||||
lib/libimagequant.so \
|
||||
lib/libimagequant.so.0 \
|
||||
libdata/pkgconfig/imagequant.pc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
graphics/libimagequant/distinfo
Normal file
3
graphics/libimagequant/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1632966787
|
||||
SHA256 (ImageOptim-libimagequant-2.16.0_GH0.tar.gz) = 360f88a4a85546405e6bec36d403cedfda43e7b8b5ec140216b727a05cd3a8ac
|
||||
SIZE (ImageOptim-libimagequant-2.16.0_GH0.tar.gz) = 99275
|
||||
4
graphics/libimagequant/pkg-descr
Normal file
4
graphics/libimagequant/pkg-descr
Normal file
@@ -0,0 +1,4 @@
|
||||
Small, portable C library for high-quality conversion of RGBA images
|
||||
to 8-bit indexed-color (palette) images. It's powering pngquant2.
|
||||
|
||||
WWW: https://github.com/ImageOptim/libimagequant
|
||||
Reference in New Issue
Block a user