diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-31 23:27:48 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-04-01 06:29:28 +0100 |
commit | d4efb144b5caa95fb29e8126c8ffbf22bf762055 (patch) | |
tree | 4f5eebc4af7a1dd5ea97dd21d13de9f5d7d75b42 /media-libs/ctl | |
parent | media-libs/ctl: mark as LTO-unsafe, strict-aliasing unsafe (diff) | |
download | gentoo-d4efb144b5caa95fb29e8126c8ffbf22bf762055.tar.gz gentoo-d4efb144b5caa95fb29e8126c8ffbf22bf762055.tar.bz2 gentoo-d4efb144b5caa95fb29e8126c8ffbf22bf762055.zip |
media-libs/ctl: add 1.5.3
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/ctl')
-rw-r--r-- | media-libs/ctl/Manifest | 1 | ||||
-rw-r--r-- | media-libs/ctl/ctl-1.5.3.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/ctl/Manifest b/media-libs/ctl/Manifest index f10eda311dba..ccf6a0625bd9 100644 --- a/media-libs/ctl/Manifest +++ b/media-libs/ctl/Manifest @@ -1 +1,2 @@ DIST ctl-1.5.2_p20221224.tar.gz 1418659 BLAKE2B 6798439b270b785974cfd45381f927f2005884b6a00878fa845cc1c36cd912eb6f3acb913f896389a67bff52103d3d52032e3f1f9f53e1a3d98b545428c1580b SHA512 9cc132100d3ea622d954e783fbab43c07cfa72e1930f4b9c55cb01709e88f09f956ac02e973a09bfc2842e769060e6f50f082d5491be03c1499a58e79b0f1ca3 +DIST ctl-1.5.3.tar.gz 3073036 BLAKE2B cc22c998ccd649b9bcb4ea995811720edaad8a8091028254fa9c7b84755819441f55331e677a4436f9116ea33bef9b4c65a2e36522723686dfd60cb8b12e8583 SHA512 f7bb487d9064b95bf6276e2944033e9c5123619540db8113408970838d70f42b9cbdeae86b743f17b0b47497721a877a0621a3983112af9e4b8aa4c1b8e01254 diff --git a/media-libs/ctl/ctl-1.5.3.ebuild b/media-libs/ctl/ctl-1.5.3.ebuild new file mode 100644 index 000000000000..11e4fd2a2845 --- /dev/null +++ b/media-libs/ctl/ctl-1.5.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +MY_COMMIT=3fc4ae7a8af35d380654e573d895216fd5ba407e + +DESCRIPTION="AMPAS' Color Transformation Language" +HOMEPAGE="https://github.com/ampas/CTL" +SRC_URI="https://github.com/ampas/CTL/archive/${P}.tar.gz" +S="${WORKDIR}/CTL-${P}" + +LICENSE="AMPAS" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/imath:= + >=media-libs/openexr-3:=[threads] + media-libs/tiff:= + !media-libs/openexr_ctl" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/926823 + # https://github.com/ampas/CTL/issues/146 + append-flags -fno-strict-aliasing + filter-lto + + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + -DCTL_BUILD_TESTS=$(usex test) + -DCTL_BUILD_TOOLS=ON + ) + cmake_src_configure +} |