diff options
author | Sam James <sam@gentoo.org> | 2023-12-05 06:56:57 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-12-05 06:57:05 +0000 |
commit | 5def0bdd28c2b17dc96d14d198c9300ae964c6e0 (patch) | |
tree | 642b9dfc05a22abdf0a63fb945e045737c346a55 /media-libs/lcms | |
parent | www-apps/icingadb-web: Stabilize 1.1.0 amd64, #918548 (diff) | |
download | gentoo-5def0bdd28c2b17dc96d14d198c9300ae964c6e0.tar.gz gentoo-5def0bdd28c2b17dc96d14d198c9300ae964c6e0.tar.bz2 gentoo-5def0bdd28c2b17dc96d14d198c9300ae964c6e0.zip |
media-libs/lcms: add 2.16
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/lcms')
-rw-r--r-- | media-libs/lcms/Manifest | 1 | ||||
-rw-r--r-- | media-libs/lcms/lcms-2.16.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/lcms/Manifest b/media-libs/lcms/Manifest index 470c396335a5..041db546046c 100644 --- a/media-libs/lcms/Manifest +++ b/media-libs/lcms/Manifest @@ -1,3 +1,4 @@ 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.15.tar.gz 7548405 BLAKE2B 97ce1e87c8de17e7d0dd1b00e1b49cf4e3c6912c74ff16d5afb9979565ad830fd8b3f08f7535ae8b5e763fbd22d2a058c577536ddb7487b7aa8fb25d585f8c84 SHA512 ab038c369e66736e0dd3810fbac6cf5381bc3102c4dd693819367b1224f59d9e853ede081388464c0e7c213d92e6cddc48c23020953af10ad6c6802cfa17e213 +DIST lcms2-2.16.tar.gz 7632822 BLAKE2B cf4d10908e6b8e6cf15ec8a99f0a299a9bcb7082f0df5ab1c9d84fcb739132855edf717c2ab746040fc09bace7afaaa8a39538e7ceabd0e68cdb3b4fb5627c6d SHA512 638dd6ad6787456c8145510d18b2d0727bd0a446a13ac2934aabc9531d1156eca2a2c0fd780a453823fbd35a1895f9d8de5dc4b3cab505459dd3f0535b4e837d diff --git a/media-libs/lcms/lcms-2.16.ebuild b/media-libs/lcms/lcms-2.16.ebuild new file mode 100644 index 000000000000..331ce2f8c446 --- /dev/null +++ b/media-libs/lcms/lcms-2.16.ebuild @@ -0,0 +1,46 @@ +# 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 ~arm64-macos ~ppc-macos ~x64-macos ~x64-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_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 +} |