From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1716649-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id E42771582EF
	for <garchives@archives.gentoo.org>; Mon, 10 Feb 2025 02:39:10 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id C39CB342F9E
	for <garchives@archives.gentoo.org>; Mon, 10 Feb 2025 02:39:10 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id BAE3A1103CB;
	Mon, 10 Feb 2025 02:39:09 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id ACF2E1103CB
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Feb 2025 02:39:09 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(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)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5205E342F94
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Feb 2025 02:39:09 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 91A831B42
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Feb 2025 02:39:07 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1739155116.0dbcc3c1aa8fa2f29eb56b6c9ce0de785ba6bb5a.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/lcms/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/lcms/Manifest media-libs/lcms/lcms-2.17.ebuild
X-VCS-Directories: media-libs/lcms/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 0dbcc3c1aa8fa2f29eb56b6c9ce0de785ba6bb5a
X-VCS-Branch: master
Date: Mon, 10 Feb 2025 02:39:07 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 3bb1ab21-0311-45a7-aefb-37766839b159
X-Archives-Hash: 984609b51e0158a7bfbda5bb8e32fe8f

commit:     0dbcc3c1aa8fa2f29eb56b6c9ce0de785ba6bb5a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 10 02:36:28 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 10 02:38:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dbcc3c1

media-libs/lcms: add 2.17

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/lcms/Manifest         |  1 +
 media-libs/lcms/lcms-2.17.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/media-libs/lcms/Manifest b/media-libs/lcms/Manifest
index 60d253d2191a..d78ddea35a4e 100644
--- a/media-libs/lcms/Manifest
+++ b/media-libs/lcms/Manifest
@@ -1,2 +1,3 @@
 DIST lcms2-2.15.tar.gz 7548405 BLAKE2B 97ce1e87c8de17e7d0dd1b00e1b49cf4e3c6912c74ff16d5afb9979565ad830fd8b3f08f7535ae8b5e763fbd22d2a058c577536ddb7487b7aa8fb25d585f8c84 SHA512 ab038c369e66736e0dd3810fbac6cf5381bc3102c4dd693819367b1224f59d9e853ede081388464c0e7c213d92e6cddc48c23020953af10ad6c6802cfa17e213
 DIST lcms2-2.16.tar.gz 7632822 BLAKE2B cf4d10908e6b8e6cf15ec8a99f0a299a9bcb7082f0df5ab1c9d84fcb739132855edf717c2ab746040fc09bace7afaaa8a39538e7ceabd0e68cdb3b4fb5627c6d SHA512 638dd6ad6787456c8145510d18b2d0727bd0a446a13ac2934aabc9531d1156eca2a2c0fd780a453823fbd35a1895f9d8de5dc4b3cab505459dd3f0535b4e837d
+DIST lcms2-2.17.tar.gz 5245319 BLAKE2B 746b0bdff61cbb12f4b27b42a17136a64fd6c437a9f6e620e0a27ba24ebeac595635c3e79929ae4f425b98fba7df1ce1e4a05ebd8bc2e03d23c99cf246fb46e0 SHA512 81885c70fb26a9b7d37a398f43ccb0d1d3ab8f43de7da8f760b26d053a0d7e0543e7d3b0cdcaf9b3b681a1b88f032134c5a3c1a6774a9abc66a8a3f10ba64398

diff --git a/media-libs/lcms/lcms-2.17.ebuild b/media-libs/lcms/lcms-2.17.ebuild
new file mode 100644
index 000000000000..2eb9b2b7d368
--- /dev/null
+++ b/media-libs/lcms/lcms-2.17.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib
+
+DESCRIPTION="A lightweight, speed optimized color management engine"
+HOMEPAGE="https://www.littlecms.com/"
+SRC_URI="https://github.com/mm2/Little-CMS/releases/download/lcms${PV/_}/${PN}2-${PV/_}.tar.gz"
+S="${WORKDIR}/lcms2-${PV/_}"
+
+# GPL-3 for the threaded & fastfloat plugins, see meson_options.txt
+LICENSE="GPL-3 MIT"
+SLOT="2"
+if [[ ${PV} != *_rc* ]] ; then
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+fi
+IUSE="doc jpeg static-libs test tiff"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
+	tiff? ( >=media-libs/tiff-4.0.3-r6:=[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+
+multilib_src_configure() {
+	local emesonargs=(
+		-Ddefault_library=$(multilib_native_usex static-libs both shared)
+		-Dthreaded=true
+		-Dfastfloat=true
+		$(meson_feature jpeg)
+		$(meson_feature test tests)
+		$(meson_feature tiff)
+		$(meson_native_true utils)
+	)
+
+	meson_src_configure
+}
+
+multilib_src_test() {
+	# fast_float_testbed on hppa -> 1458s from default timeout of 600, #913067
+	meson_src_test --timeout-multiplier=3
+}
+
+multilib_src_install_all() {
+	use doc && dodoc doc/*.pdf
+}