1 |
commit: 2c321cfa45359da3863c842de6d1b926645b65fd |
2 |
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net> |
3 |
AuthorDate: Tue Oct 25 12:16:43 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 30 09:41:02 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c321cfa |
7 |
|
8 |
media-gfx/yafaray: disable OpenEXR support |
9 |
|
10 |
The package currently only supports <openexr-3. Until upstream has |
11 |
updated to support OpenEXR 3, we disable support for this file format. |
12 |
|
13 |
Bump to EAPI 8, support Python 3.11 |
14 |
|
15 |
Closes: https://bugs.gentoo.org/877865 |
16 |
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net> |
17 |
Closes: https://github.com/gentoo/gentoo/pull/27942 |
18 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
19 |
|
20 |
.../{yafaray-3.5.1-r1.ebuild => yafaray-3.5.1-r2.ebuild} | 11 +++++------ |
21 |
1 file changed, 5 insertions(+), 6 deletions(-) |
22 |
|
23 |
diff --git a/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild b/media-gfx/yafaray/yafaray-3.5.1-r2.ebuild |
24 |
similarity index 93% |
25 |
rename from media-gfx/yafaray/yafaray-3.5.1-r1.ebuild |
26 |
rename to media-gfx/yafaray/yafaray-3.5.1-r2.ebuild |
27 |
index 9053e381aba3..1da10dced60a 100644 |
28 |
--- a/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild |
29 |
+++ b/media-gfx/yafaray/yafaray-3.5.1-r2.ebuild |
30 |
@@ -1,9 +1,9 @@ |
31 |
# Copyright 1999-2022 Gentoo Authors |
32 |
# Distributed under the terms of the GNU General Public License v2 |
33 |
|
34 |
-EAPI=7 |
35 |
+EAPI=8 |
36 |
|
37 |
-PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+PYTHON_COMPAT=( python3_{8..11} ) |
39 |
|
40 |
# doesn't build with ninja when qt5 and python USE flags are both enabled |
41 |
CMAKE_MAKEFILE_GENERATOR="emake" |
42 |
@@ -19,7 +19,7 @@ S="${WORKDIR}/libYafaRay-${PV}" |
43 |
LICENSE="LGPL-2.1" |
44 |
SLOT="0" |
45 |
KEYWORDS="~amd64 ~x86" |
46 |
-IUSE="+fastmath +fasttrig jpeg opencv openexr png python qt5 tiff truetype" |
47 |
+IUSE="+fastmath +fasttrig jpeg opencv png python qt5 tiff truetype" |
48 |
RESTRICT="test" |
49 |
|
50 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
51 |
@@ -28,9 +28,8 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
52 |
RDEPEND=" |
53 |
dev-libs/libxml2:2 |
54 |
sys-libs/zlib |
55 |
- jpeg? ( virtual/jpeg ) |
56 |
+ jpeg? ( media-libs/libjpeg-turbo:= ) |
57 |
opencv? ( media-libs/opencv:= ) |
58 |
- openexr? ( <media-libs/openexr-3.0.0:0= ) |
59 |
png? ( media-libs/libpng:= ) |
60 |
python? ( ${PYTHON_DEPS} ) |
61 |
qt5? ( dev-qt/qtwidgets:5 ) |
62 |
@@ -73,7 +72,7 @@ src_configure() { |
63 |
-DWITH_Freetype=$(usex truetype) |
64 |
-DWITH_JPEG=$(usex jpeg) |
65 |
-DWITH_OpenCV=$(usex opencv) |
66 |
- -DWITH_OpenEXR=$(usex openexr) |
67 |
+ -DWITH_OpenEXR=OFF # bug #877865 |
68 |
-DWITH_PNG=$(usex png) |
69 |
-DWITH_QT=$(usex qt5) |
70 |
-DWITH_TIFF=$(usex tiff) |