From owner-dev-commits-ports-main@freebsd.org Thu Sep 30 06:40:41 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 25D056ABCAD; Thu, 30 Sep 2021 06:40:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HKkCF0Pkmz4hLD; Thu, 30 Sep 2021 06:40:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E2B4426DEF; Thu, 30 Sep 2021 06:40:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18U6eesX061542; Thu, 30 Sep 2021 06:40:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18U6eeOt061541; Thu, 30 Sep 2021 06:40:40 GMT (envelope-from git) Date: Thu, 30 Sep 2021 06:40:40 GMT Message-Id: <202109300640.18U6eeOt061541@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: 23ec359031d8 - main - graphics/libimagequant: Add new port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 23ec359031d8af7a7fc4fec73f4c305f33887fd8 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2021 06:40:41 -0000 The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=23ec359031d8af7a7fc4fec73f4c305f33887fd8 commit 23ec359031d8af7a7fc4fec73f4c305f33887fd8 Author: Wen Heping AuthorDate: 2021-09-30 06:39:39 +0000 Commit: Wen Heping CommitDate: 2021-09-30 06:39:39 +0000 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 --- graphics/Makefile | 1 + graphics/libimagequant/Makefile | 27 +++++++++++++++++++++++++++ graphics/libimagequant/distinfo | 3 +++ graphics/libimagequant/pkg-descr | 4 ++++ 4 files changed, 35 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 0c5d8b4021c5..4b2b744dbc03 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -458,6 +458,7 @@ SUBDIR += libgxps SUBDIR += libheif SUBDIR += libimg + SUBDIR += libimagequant SUBDIR += libiptcdata SUBDIR += libjpeg-turbo SUBDIR += libjxl diff --git a/graphics/libimagequant/Makefile b/graphics/libimagequant/Makefile new file mode 100644 index 000000000000..4c2f1a88204d --- /dev/null +++ b/graphics/libimagequant/Makefile @@ -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 diff --git a/graphics/libimagequant/distinfo b/graphics/libimagequant/distinfo new file mode 100644 index 000000000000..29d77813429f --- /dev/null +++ b/graphics/libimagequant/distinfo @@ -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 diff --git a/graphics/libimagequant/pkg-descr b/graphics/libimagequant/pkg-descr new file mode 100644 index 000000000000..7fcb59d3dedf --- /dev/null +++ b/graphics/libimagequant/pkg-descr @@ -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