summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Waibel <waebbl-gentoo@posteo.net>2021-07-21 20:53:50 +0200
committerMarek Szuba <marecki@gentoo.org>2021-07-21 22:57:37 +0100
commitb03922c254f6651f13d630601c9d8de8bfa03fdb (patch)
treefa762a6682cf96279e1d6ade3caa97006fbbbb99
parentapp-office/calligra: add slot operator for openexr (diff)
downloadgentoo-b03922c254f6651f13d630601c9d8de8bfa03fdb.tar.gz
gentoo-b03922c254f6651f13d630601c9d8de8bfa03fdb.tar.bz2
gentoo-b03922c254f6651f13d630601c9d8de8bfa03fdb.zip
media-gfx/yafaray: add slot for openexr
- restrict to <openexr-3 - add py3.10 support, drop py3.7 support Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Signed-off-by: Marek Szuba <marecki@gentoo.org>
-rw-r--r--media-gfx/yafaray/yafaray-3.5.1-r1.ebuild (renamed from media-gfx/yafaray/yafaray-3.5.1.ebuild)20
1 files changed, 8 insertions, 12 deletions
diff --git a/media-gfx/yafaray/yafaray-3.5.1.ebuild b/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
index 2b65a4e8f72e..2e4fb63fdf46 100644
--- a/media-gfx/yafaray/yafaray-3.5.1.ebuild
+++ b/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
# doesn't build with ninja when qt5 and python USE flags are both enabled
CMAKE_MAKEFILE_GENERATOR="emake"
@@ -14,7 +14,6 @@ DESCRIPTION="A free open-source montecarlo raytracing engine"
# Regular homepage is currently down. Upstream is working on this.
HOMEPAGE="https://www.yafaray.org https://github.com/YafaRay/libYafaRay"
SRC_URI="https://github.com/YafaRay/libYafaRay/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
S="${WORKDIR}/libYafaRay-${PV}"
LICENSE="LGPL-2.1"
@@ -23,9 +22,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="+fastmath +fasttrig jpeg opencv openexr png python qt5 tiff truetype"
RESTRICT="test"
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
-"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
# Note: according to upstream, the blender plugin doesn't work with >=blender-2.8 (yet).
RDEPEND="
@@ -33,7 +30,7 @@ RDEPEND="
sys-libs/zlib
jpeg? ( virtual/jpeg )
opencv? ( media-libs/opencv:= )
- openexr? ( media-libs/openexr:= )
+ openexr? ( <media-libs/openexr-3.0.0:0= )
png? ( media-libs/libpng:= )
python? ( ${PYTHON_DEPS} )
qt5? ( dev-qt/qtwidgets:5 )
@@ -41,15 +38,14 @@ RDEPEND="
truetype? ( media-libs/freetype:2 )
"
DEPEND="${RDEPEND}"
-BDEPEND="python? (
+BDEPEND="
+ python? (
${PYTHON_DEPS}
dev-lang/swig
- )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-0001-respect-distribution-CFLAGS.patch
-)
+ )
+"
+PATCHES=( "${FILESDIR}"/${P}-0001-respect-distribution-CFLAGS.patch )
DOCS=( AUTHORS.md CHANGELOG.md CODING.md INSTALL.md README.md )
pkg_setup() {