summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-20 05:57:19 +0000
committerSam James <sam@gentoo.org>2023-02-20 05:58:28 +0000
commitfca8f9755bb49ed986c642132317153ad057492f (patch)
tree5e25cdbf78ed92a105d75efe7d5e6386a179866e /media-libs/lcms
parentx11-drivers/nvidia-drivers: bump NV_KERNEL_MAX to 6.2 where possible (diff)
downloadgentoo-fca8f9755bb49ed986c642132317153ad057492f.tar.gz
gentoo-fca8f9755bb49ed986c642132317153ad057492f.tar.bz2
gentoo-fca8f9755bb49ed986c642132317153ad057492f.zip
media-libs/lcms: add 2.15_rc1 (unkeyworded)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/lcms')
-rw-r--r--media-libs/lcms/Manifest1
-rw-r--r--media-libs/lcms/lcms-2.15_rc1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/media-libs/lcms/Manifest b/media-libs/lcms/Manifest
index 2b0cd869338b..3c6cd433934f 100644
--- a/media-libs/lcms/Manifest
+++ b/media-libs/lcms/Manifest
@@ -1,2 +1,3 @@
DIST lcms2-2.13.1.tar.gz 7276499 BLAKE2B ff4815fc4bcea94dc942f8072741c592f1bbde9c8e997f4e21e36cd271062a341ecc9b1f3c56e3e36ec19091fec049ee9faf75df04c2bc1e11174dc4cfe8da9e SHA512 214ec63fa086b580a6507d493a54ccf5faf02c40e149d71e41f9fc8510efdb16554621c96d91cc886f09682c9631b10aa194b4b67eb6ffcc871d5d4666b05617
DIST lcms2-2.14.tar.gz 7406694 BLAKE2B 777b0bf65829121a3d32bca1ab936ac022f9af739bccdd02d5f86688c3386b974f526a012bdec4d36649566eea0aa659db317dd383eede6488236d601156a0f9 SHA512 92fba0a457ea81590eba0b8d98b7b621da6a83e3857948585e0b524235954954f9ac1670cf6a19b457c0fce22a87899ea4c5810db1ff2acf7c6b6e0dc4b61a1b
+DIST lcms2-2.15rc1.tar.gz 7548730 BLAKE2B 2cdece21600a699b60fc9634ee321f03bd6e1c0f9422af96e9113b271abe9ff31876211577556195abe0856ce14a11c219046fc0fd7bbe4adf309fa7d689011c SHA512 50f4b4578f159070f068191ab98b474545733b591647abcc08dc716c42f58e950cdf1332c5daf52ae50323551fcafa7da8317649cd3b342bbc245aca5c8b056e
diff --git a/media-libs/lcms/lcms-2.15_rc1.ebuild b/media-libs/lcms/lcms-2.15_rc1.ebuild
new file mode 100644
index 000000000000..4cd2c96a2439
--- /dev/null
+++ b/media-libs/lcms/lcms-2.15_rc1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 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 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+IUSE="doc jpeg static-libs tiff"
+
+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 tiff)
+ )
+
+ meson_src_configure
+}
+
+multilib_src_install_all() {
+ use doc && dodoc doc/*.pdf
+}