|
Lines 1-12
Link Here
|
| 1 |
# Copyright 1999-2019 Gentoo Authors |
1 |
# Copyright 1999-2018 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
|
3 |
|
| 4 |
EAPI=7 |
4 |
EAPI=6 |
| 5 |
|
5 |
|
| 6 |
# Compatibility with Python 3 is declared by upstream, but it is broken in fact, check on bump |
6 |
# Compatibility with Python 3 is declared by upstream, but it is broken in fact, check on bump |
| 7 |
PYTHON_COMPAT=( python{2_7,3_5,3_6} ) |
7 |
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
| 8 |
|
8 |
|
| 9 |
inherit cmake-utils flag-o-matic python-single-r1 |
9 |
inherit cmake-utils python-single-r1 vcs-snapshot |
| 10 |
|
10 |
|
| 11 |
DESCRIPTION="A color management framework for visual effects and animation" |
11 |
DESCRIPTION="A color management framework for visual effects and animation" |
| 12 |
HOMEPAGE="http://opencolorio.org/" |
12 |
HOMEPAGE="http://opencolorio.org/" |
|
Lines 15-21
Link Here
|
| 15 |
|
15 |
|
| 16 |
LICENSE="BSD" |
16 |
LICENSE="BSD" |
| 17 |
SLOT="0" |
17 |
SLOT="0" |
| 18 |
KEYWORDS="~amd64 ~x86" |
18 |
KEYWORDS="amd64 x86" |
| 19 |
IUSE="cpu_flags_x86_sse2 doc opengl python static-libs test" |
19 |
IUSE="cpu_flags_x86_sse2 doc opengl python static-libs test" |
| 20 |
REQUIRED_USE=" |
20 |
REQUIRED_USE=" |
| 21 |
doc? ( python ) |
21 |
doc? ( python ) |
|
Lines 45-55
Link Here
|
| 45 |
"${FILESDIR}/${P}-use-GNUInstallDirs-and-fix-cmake-install-location.patch" |
45 |
"${FILESDIR}/${P}-use-GNUInstallDirs-and-fix-cmake-install-location.patch" |
| 46 |
"${FILESDIR}/${P}-remove-building-of-bundled-programs.patch" |
46 |
"${FILESDIR}/${P}-remove-building-of-bundled-programs.patch" |
| 47 |
"${FILESDIR}/${P}-yaml-cpp-0.6.patch" |
47 |
"${FILESDIR}/${P}-yaml-cpp-0.6.patch" |
| 48 |
"${FILESDIR}/${P}-remove-Werror.patch" |
|
|
| 49 |
) |
48 |
) |
| 50 |
|
49 |
|
| 51 |
S="${WORKDIR}/OpenColorIO-${PV}" |
|
|
| 52 |
|
| 53 |
pkg_setup() { |
50 |
pkg_setup() { |
| 54 |
use python && python-single-r1_pkg_setup |
51 |
use python && python-single-r1_pkg_setup |
| 55 |
} |
52 |
} |