diff --git a/media-libs/ctl/ctl-1.5.2-r3.ebuild b/media-libs/ctl/ctl-1.5.2-r3.ebuild new file mode 100644 index 0000000000000..578421acc4b64 --- /dev/null +++ b/media-libs/ctl/ctl-1.5.2-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~ia64 ~ppc64 ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND="media-libs/ilmbase:= + /dev/null || die + eninja check + popd >/dev/null || die +} diff --git a/media-libs/ctl/files/ctl-1.5.2-Use-GNUInstallDirs-and-fix-PkgConfig-files-1.patch b/media-libs/ctl/files/ctl-1.5.2-Use-GNUInstallDirs-and-fix-PkgConfig-files-1.patch index e4fadf1aa05c3..ddabe6eb14642 100644 --- a/media-libs/ctl/files/ctl-1.5.2-Use-GNUInstallDirs-and-fix-PkgConfig-files-1.patch +++ b/media-libs/ctl/files/ctl-1.5.2-Use-GNUInstallDirs-and-fix-PkgConfig-files-1.patch @@ -243,7 +243,7 @@ index 1817071..eb7e14e 100644 endif() -find_package( OpenEXR QUIET ) -+PKG_CHECK_MODULES ( OpenEXR REQUIRED OpenEXR ) ++PKG_CHECK_MODULES ( OpenEXR QUIET OpenEXR ) if (OpenEXR_FOUND) message( STATUS "Found OpenEXR, version ${OpenEXR_VERSION}" ) else()