From d162ba1860a88062f4cd61f8b52fc303ba0b2991 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Aug 2021 00:16:33 +0100 Subject: gentoo resync : 07.08.2021 --- media-libs/ctl/ctl-1.5.2-r2.ebuild | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 media-libs/ctl/ctl-1.5.2-r2.ebuild (limited to 'media-libs/ctl/ctl-1.5.2-r2.ebuild') diff --git a/media-libs/ctl/ctl-1.5.2-r2.ebuild b/media-libs/ctl/ctl-1.5.2-r2.ebuild new file mode 100644 index 000000000000..31d4f99a3543 --- /dev/null +++ b/media-libs/ctl/ctl-1.5.2-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +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-ctl-${PV}" + +LICENSE="AMPAS" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND="media-libs/ilmbase:= + media-libs/openexr:0= + media-libs/tiff:= + !media-libs/openexr_ctl" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-Use-GNUInstallDirs-and-fix-PkgConfig-files-1.patch" + "${FILESDIR}/${P}-openexr-2.3.patch" + "${FILESDIR}/${P}-fix-to-build-with-gcc-11.patch" + "${FILESDIR}/${P}-install-dpx-library.patch" + "${FILESDIR}/${P}-fix-unit-tests.patch" +) + +mycmakeargs=( -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" ) + +src_test() { + pushd ${BUILD_DIR} >/dev/null || die + eninja check + popd >/dev/null || die +} -- cgit v1.2.3