forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-libs/ctl: restrict dependency on media-libs/openexr
Package currently doesn't build with OpenEXR-3/Imath. Because the package uses automagic dependencies if OpenEXR-2 is available, we still need to depend on <media-libs/openexr-3 for now. Upstream is in the process of migrating the package to Imath/OpenEXR-3. Bug: ampas/CTL#100 Closes: https://bugs.gentoo.org/878247 Signed-off-by: Bernd Waibel <[email protected]>
- Loading branch information
Showing
2 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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:= | ||
<media-libs/openexr-3:= | ||
media-libs/tiff:= | ||
!media-libs/openexr_ctl" | ||
DEPEND="${RDEPEND}" | ||
BDEPEND="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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters