public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/pngquant/
Date: Sat,  5 Mar 2022 23:08:31 +0000 (UTC)	[thread overview]
Message-ID: <1646521694.08a1c246ac9f9a1a6e4b882a2306bee7f4a56c45.dilfridge@gentoo> (raw)

commit:     08a1c246ac9f9a1a6e4b882a2306bee7f4a56c45
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  5 22:46:15 2022 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Mar  5 23:08:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08a1c246

media-gfx/pngquant: Version bump 2.17.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 media-gfx/pngquant/Manifest               |  1 +
 media-gfx/pngquant/pngquant-2.17.0.ebuild | 58 +++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/media-gfx/pngquant/Manifest b/media-gfx/pngquant/Manifest
index 35d6859fa55b..3cf0ca86ad69 100644
--- a/media-gfx/pngquant/Manifest
+++ b/media-gfx/pngquant/Manifest
@@ -1 +1,2 @@
 DIST pngquant-2.12.6.tar.gz 69074 BLAKE2B 3573d54d94b0085de9ffd4dd34a8fd46c49a1e02d0a6419271c17bc7ac7ab6c05d811336a3a8a8ab21d4dea774c93ee1baae141b42c255838fb1eef9cdb1a871 SHA512 8ffff346df67edf1000c71b6d26371826bc4d236b3f57ef1ec73b3b61668cff9c3ca7d541417c39bc6c89e00176c91eb28867b7a91945ac84292ca0ac54984e9
+DIST pngquant-2.17.0.tar.gz 71209 BLAKE2B 0f625b6c27bc621fd5e1d9b4c5d3cbb7eda960a7afa8e6c6813c5d74e6f48055572dfacfcc93c694dc2d3fd8a107064c2a24c0845fc5339c0289b8527056d39a SHA512 7054cb6bdc547a6e00be1ab2363e2fa5367598593359ef23a91f3af8ff210b281e10f8721bc74d86f208f45336cd61292946c17dc5f26d292998eba95978dc0b

diff --git a/media-gfx/pngquant/pngquant-2.17.0.ebuild b/media-gfx/pngquant/pngquant-2.17.0.ebuild
new file mode 100644
index 000000000000..dff2d725f4fd
--- /dev/null
+++ b/media-gfx/pngquant/pngquant-2.17.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Command-line utility and library for lossy compression of PNG images"
+HOMEPAGE="https://pngquant.org/ https://github.com/kornelski/pngquant"
+SRC_URI="https://github.com/kornelski/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3 HPND rwpng"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+IUSE="cpu_flags_x86_sse2 debug lcms openmp test"
+REQUIRED_USE="test? ( lcms )"
+
+RDEPEND="
+	media-libs/libpng:0=
+	media-gfx/libimagequant:=
+	sys-libs/zlib:=
+	lcms? ( media-libs/lcms:2 )
+"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.12.2-respect-CFLAGS.patch )
+
+src_prepare() {
+	default
+
+	# avoid silent fallback to bundled lib
+	rm -rv lib || die
+}
+
+src_configure() {
+	tc-export AR CC
+	# Hand rolled configure script, so not all flags are supported.
+	./configure \
+		--prefix="${EPREFIX}/usr" \
+		--with-libimagequant \
+		$(use debug && echo --enable-debug) \
+		$(use_enable cpu_flags_x86_sse2 sse) \
+		$(use openmp && tc-has-openmp && echo --with-openmp) \
+		$(use_with lcms lcms2) \
+		CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+		LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+	dobin ${PN}
+	doman ${PN}.1
+	dodoc CHANGELOG README.md
+}


             reply	other threads:[~2022-03-05 23:08 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-05 23:08 Andreas K. Hüttel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-26  6:04 [gentoo-commits] repo/gentoo:master commit in: media-gfx/pngquant/ Arthur Zamarin
2024-05-25 18:28 Arthur Zamarin
2024-05-25 18:28 Arthur Zamarin
2023-02-06  5:21 Sam James
2023-02-06  5:21 Sam James
2022-06-07  5:54 Sam James
2022-06-06  6:28 Jakov Smolić
2022-06-06  6:28 Jakov Smolić
2022-05-17  7:56 WANG Xuerui
2022-05-14 21:30 David Seifert
2022-03-05 22:39 Andreas K. Hüttel
2021-09-16 12:32 Marek Szuba
2020-10-06  4:37 Sam James
2020-07-20 18:49 Sam James
2020-06-21 15:24 Thomas Deutschmann
2020-06-14 17:54 Pacho Ramos
2020-06-06 23:18 Andreas K. Hüttel
2020-06-04 17:14 Mart Raudsepp
2020-06-04 14:06 Michał Górny
2020-06-01 19:12 Georgy Yakovlev
2020-04-23  9:38 Pacho Ramos
2020-04-23  8:49 Pacho Ramos
2020-03-11 19:47 Pacho Ramos
2019-12-05  7:47 Pacho Ramos
2019-11-20 11:16 Agostino Sarubbo
2019-05-30 19:15 Thomas Deutschmann
2019-03-09  8:54 Pacho Ramos
2019-02-07 13:20 Mikle Kolyada
2019-01-19 11:57 Jonas Stein
2018-04-25 21:25 Aaron Bauman
2018-03-31  5:02 Tim Harder
2018-03-31  5:02 Tim Harder
2017-11-29  0:09 Thomas Deutschmann
2016-08-20  1:15 Tim Harder
2016-01-11 17:08 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1646521694.08a1c246ac9f9a1a6e4b882a2306bee7f4a56c45.dilfridge@gentoo \
    --to=dilfridge@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox