blob: 0276777c06570bcfdb898b6e9878efee1f58f8c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2023 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 ~ia64 ~ppc64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="media-libs/ilmbase:=
media-libs/openexr:=
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"
)
src_test() {
pushd "${BUILD_DIR}" >/dev/null || die
eninja check
popd >/dev/null || die
}
|