* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2018-10-20 18:52 Pacho Ramos
0 siblings, 0 replies; 15+ messages in thread
From: Pacho Ramos @ 2018-10-20 18:52 UTC (permalink / raw
To: gentoo-commits
commit: a32b23bdd9ad7b4cf2e025a5b35f52fb636324c7
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 20 17:45:41 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Oct 20 18:51:02 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a32b23bd
media-gfx/yafaray: Drop old
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
media-gfx/yafaray/yafaray-3.3.0.ebuild | 101 ---------------------------------
1 file changed, 101 deletions(-)
diff --git a/media-gfx/yafaray/yafaray-3.3.0.ebuild b/media-gfx/yafaray/yafaray-3.3.0.ebuild
deleted file mode 100644
index 3b077ecb4aa..00000000000
--- a/media-gfx/yafaray/yafaray-3.3.0.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{5,6} )
-inherit cmake-utils python-single-r1
-
-DESCRIPTION="A free open-source montecarlo raytracing engine"
-HOMEPAGE="http://www.yafaray.org"
-SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> ${PN}-core-${PV}.tar.gz
- https://github.com/YafaRay/Blender-Exporter/archive/v${PV}.tar.gz -> ${PN}-blender-exporter-${PV}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+blender +fastmath +fasttrig jpeg opencv openexr png +python tiff truetype"
-
-RDEPEND="dev-libs/boost:=
- dev-libs/libxml2
- sys-libs/zlib
- blender? ( media-gfx/blender )
- jpeg? ( virtual/jpeg:0 )
- opencv? ( >=media-libs/opencv-3.1.0:=[openexr?] )
- openexr? ( >=media-libs/openexr-2.2.0:= )
- png? ( media-libs/libpng:= )
- python? ( ${PYTHON_DEPS} )
- tiff? ( media-libs/tiff:0 )
- truetype? ( media-libs/freetype )"
-DEPEND="${RDEPEND}
- dev-lang/swig"
-
-S="${WORKDIR}/Core-${PV}"
-
-src_prepare() {
- cmake-utils_src_prepare
-
- sed -i -e "s/@YAFARAY_BLENDER_EXPORTER_VERSION@/v${PV}/" "${WORKDIR}/Blender-Exporter-${PV}/__init__.py" || die
-
- eapply "${FILESDIR}/${P}-strip-debug-mode.patch"
- eapply "${FILESDIR}/${P}-respect-cflags.patch"
- pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
- eapply "${FILESDIR}/${P}-blender-exporter-paths.patch"
- popd || dir
- eapply_user
-}
-
-src_configure() {
- local mycmakeargs=(
- -DYAF_LIB_DIR=$(get_libdir)
- -DWITH_YAF_PY_BINDINGS=$(usex python)
- -DWITH_YAF_RUBY_BINDINGS=OFF
- -DBLENDER_ADDON=OFF # addon is a separate package called blender-exporter
- -DCMAKE_SKIP_RPATH=ON # NULL DT_RUNPATH security problem
- -DFAST_MATH=$(usex fastmath)
- -DFAST_TRIG=$(usex fasttrig)
- -DWITH_JPEG="$(usex jpeg)"
- -DWITH_OpenCV="$(usex opencv)"
- -DWITH_OpenEXR="$(usex openexr)"
- -DWITH_PNG="$(usex png)"
- -DWITH_QT=OFF # qt4 only at the moment
- -DWITH_TIFF="$(usex tiff)"
- -DWITH_Freetype="$(usex truetype)"
- )
-
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- python_domodule "${BUILD_DIR}/src/bindings/yafaray_v3_interface.py"
- python_domodule "${BUILD_DIR}/src/bindings/_yafaray_v3_interface.so"
- rm -v "${D}"usr/$(get_libdir)/{yafaray_v3_interface.py,_yafaray_v3_interface.so} || die
-
- if use blender; then
- pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
- rm README LICENSES INSTALL CHANGELOG .gitignore || die
- # grab blender version number for plugin directory
- local blender_plugin_dir=$(best_version media-gfx/blender)
- blender_plugin_dir=${blender_plugin_dir##*/} # remove category
- blender_plugin_dir=${blender_plugin_dir#*-} # remove package name
- blender_plugin_dir=${blender_plugin_dir%%-*} # remove revision number if exists
- insinto /usr/share/blender/${blender_plugin_dir}/scripts/addons/yafaray_v3
- doins -r .
- popd || die
- fi
-}
-
-pkg_postinst() {
- elog "To confirm your installation is working as expected, run"
- elog "yafaray-xml with /usr/share/yafaray/tests/test01/test01.xml"
- elog "as an input file, then compare the result to"
- elog "'/usr/share/yafaray/tests/test01/test01 - expected render result.png'"
- if use blender; then
- elog
- elog "To use within Blender, navigate to File -> User Preferences -> Add-ons (tab)"
- elog "and enable 'Render: YafaRay v3 Exporter'. This will make YafaRay available"
- elog "in the render engines drop-down."
- fi
-}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2018-10-20 18:52 Pacho Ramos
0 siblings, 0 replies; 15+ messages in thread
From: Pacho Ramos @ 2018-10-20 18:52 UTC (permalink / raw
To: gentoo-commits
commit: 3d532c453bbfafd32c78e4886cb95969f961ffe6
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 20 17:45:24 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Oct 20 18:51:01 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d532c45
media-gfx/yafaray: Fix building (#663522)
Thanks-to: Toralf Förster
Thanks-to: vena.dewinter
Thanks-to: Herb Miller Jr.
Closes: https://bugs.gentoo.org/663522
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
media-gfx/yafaray/yafaray-3.3.0-r1.ebuild | 110 ++++++++++++++++++++++++++++++
1 file changed, 110 insertions(+)
diff --git a/media-gfx/yafaray/yafaray-3.3.0-r1.ebuild b/media-gfx/yafaray/yafaray-3.3.0-r1.ebuild
new file mode 100644
index 00000000000..01987b31372
--- /dev/null
+++ b/media-gfx/yafaray/yafaray-3.3.0-r1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{5,6,7} )
+
+inherit cmake-utils python-single-r1
+
+DESCRIPTION="A free open-source montecarlo raytracing engine"
+HOMEPAGE="http://www.yafaray.org"
+SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> ${PN}-core-${PV}.tar.gz
+ https://github.com/YafaRay/Blender-Exporter/archive/v${PV}.tar.gz -> ${PN}-blender-exporter-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+blender +fastmath +fasttrig jpeg opencv openexr png +python tiff truetype"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ dev-libs/boost:=
+ dev-libs/libxml2:2
+ sys-libs/zlib
+ blender? ( media-gfx/blender )
+ jpeg? ( virtual/jpeg:0 )
+ opencv? ( >=media-libs/opencv-3.1.0:=[openexr?] )
+ openexr? ( >=media-libs/openexr-2.2.0:= )
+ png? ( media-libs/libpng:0= )
+ python? ( ${PYTHON_DEPS} )
+ tiff? ( media-libs/tiff:0 )
+ truetype? ( media-libs/freetype:2 )
+"
+DEPEND="${RDEPEND}
+ dev-lang/swig
+"
+
+S="${WORKDIR}/Core-${PV}"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ sed -i -e "s/@YAFARAY_BLENDER_EXPORTER_VERSION@/v${PV}/" "${WORKDIR}/Blender-Exporter-${PV}/__init__.py" || die
+
+ eapply "${FILESDIR}/${P}-strip-debug-mode.patch"
+ eapply "${FILESDIR}/${P}-respect-cflags.patch"
+ pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
+ eapply "${FILESDIR}/${P}-blender-exporter-paths.patch"
+ popd || dir
+ eapply_user
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DYAF_LIB_DIR=$(get_libdir)
+ -DWITH_YAF_PY_BINDINGS=$(usex python)
+ -DYAF_PY_VERSION=${EPYTHON#python}
+ -DWITH_YAF_RUBY_BINDINGS=OFF
+ -DBLENDER_ADDON=OFF # addon is a separate package called blender-exporter
+ -DCMAKE_SKIP_RPATH=ON # NULL DT_RUNPATH security problem
+ -DFAST_MATH=$(usex fastmath)
+ -DFAST_TRIG=$(usex fasttrig)
+ -DWITH_JPEG="$(usex jpeg)"
+ -DWITH_OpenCV="$(usex opencv)"
+ -DWITH_OpenEXR="$(usex openexr)"
+ -DWITH_PNG="$(usex png)"
+ -DWITH_QT=OFF # qt4 only at the moment
+ -DWITH_TIFF="$(usex tiff)"
+ -DWITH_Freetype="$(usex truetype)"
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ python_domodule "${BUILD_DIR}/src/bindings/yafaray_v3_interface.py"
+ python_domodule "${BUILD_DIR}/src/bindings/_yafaray_v3_interface.so"
+ rm -v "${D}"usr/$(get_libdir)/{yafaray_v3_interface.py,_yafaray_v3_interface.so} || die
+
+ if use blender; then
+ pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
+ rm README LICENSES INSTALL CHANGELOG .gitignore || die
+ # grab blender version number for plugin directory
+ local blender_plugin_dir=$(best_version media-gfx/blender)
+ blender_plugin_dir=${blender_plugin_dir##*/} # remove category
+ blender_plugin_dir=${blender_plugin_dir#*-} # remove package name
+ blender_plugin_dir=${blender_plugin_dir%%-*} # remove revision number if exists
+ insinto /usr/share/blender/${blender_plugin_dir}/scripts/addons/yafaray_v3
+ doins -r .
+ popd || die
+ fi
+}
+
+pkg_postinst() {
+ einfo "To confirm your installation is working as expected, run"
+ einfo "yafaray-xml with /usr/share/yafaray/tests/test01/test01.xml"
+ einfo "as an input file, then compare the result to"
+ einfo "'/usr/share/yafaray/tests/test01/test01 - expected render result.png'"
+ if use blender; then
+ elog
+ elog "To use within Blender, navigate to File -> User Preferences -> Add-ons (tab)"
+ elog "and enable 'Render: YafaRay v3 Exporter'. This will make YafaRay available"
+ elog "in the render engines drop-down."
+ fi
+}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2019-05-19 0:18 Michael Palimaka
0 siblings, 0 replies; 15+ messages in thread
From: Michael Palimaka @ 2019-05-19 0:18 UTC (permalink / raw
To: gentoo-commits
commit: 8d456c71da6996cf904b4cd657bc1c02cdfc5efd
Author: Bernd Waibel <waebbl <AT> gmail <DOT> com>
AuthorDate: Fri May 17 14:22:25 2019 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun May 19 00:18:05 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d456c71
media-gfx/yafaray: adjust maintainer
Add myself and proxy-maint as maintainers
See also
https://archives.gentoo.org/gentoo-dev/message/45119cbca4867b04277d52dadfede506
Closes: https://bugs.gentoo.org/686156
Closes: https://github.com/gentoo/gentoo/pull/12029
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com>
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>
media-gfx/yafaray/metadata.xml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml
index f6cffe69824..795c6e4891e 100644
--- a/media-gfx/yafaray/metadata.xml
+++ b/media-gfx/yafaray/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!--maintainer-needed-->
+ <maintainer type="person">
+ <email>waebbl@gmail.com</email>
+ <name>Bernd Waibel</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <description>Proxy Maintainer Team</description>
+ </maintainer>
<longdescription lang="en">
YafaRay is a raytracing open source render engine. Raytracing is a rendering technique for generating realistic images by tracing the path of light through a 3D scene.
An render engine consists of a "faceless" computer program that interacts with a host 3D application to provide very specific raytracing capabilties "on demand". Blender 3D is the host application of YafaRay.
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2019-06-12 13:39 Andreas Sturmlechner
0 siblings, 0 replies; 15+ messages in thread
From: Andreas Sturmlechner @ 2019-06-12 13:39 UTC (permalink / raw
To: gentoo-commits
commit: 649fe89d3ad950852bfb145ef01a290a682f39a3
Author: Bernd Waibel <waebbl <AT> gmail <DOT> com>
AuthorDate: Fri May 31 19:57:54 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 13:32:21 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=649fe89d
media-gfx/yafaray: bump to EAPI 7
Also fixes an issue, where some binaries didn't link successfully,
due to missing pthread (see https://github.com/YafaRay/Core/issues/113)
Closes: https://bugs.gentoo.org/687068
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12144
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-gfx/yafaray/yafaray-3.3.0-r2.ebuild | 111 ++++++++++++++++++++++++++++++
1 file changed, 111 insertions(+)
diff --git a/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild b/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild
new file mode 100644
index 00000000000..c54d1fbb0c7
--- /dev/null
+++ b/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{5,6,7} )
+
+inherit cmake-utils flag-o-matic python-single-r1
+
+DESCRIPTION="A free open-source montecarlo raytracing engine"
+HOMEPAGE="http://www.yafaray.org"
+SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> ${PN}-core-${PV}.tar.gz
+ https://github.com/YafaRay/Blender-Exporter/archive/v${PV}.tar.gz -> ${PN}-blender-exporter-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+blender +fastmath +fasttrig jpeg opencv openexr png +python tiff truetype"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+ dev-libs/boost:=
+ dev-libs/libxml2:2
+ sys-libs/zlib
+ blender? ( media-gfx/blender )
+ jpeg? ( virtual/jpeg:0 )
+ opencv? ( >=media-libs/opencv-3.1.0:=[openexr?] )
+ openexr? ( >=media-libs/openexr-2.2.0:= )
+ png? ( media-libs/libpng:0= )
+ python? ( ${PYTHON_DEPS} )
+ tiff? ( media-libs/tiff:0 )
+ truetype? ( media-libs/freetype:2 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/swig"
+
+S="${WORKDIR}/Core-${PV}"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ append-flags "-pthread"
+ cmake-utils_src_prepare
+
+ sed -i -e "s/@YAFARAY_BLENDER_EXPORTER_VERSION@/v${PV}/" "${WORKDIR}/Blender-Exporter-${PV}/__init__.py" || die
+
+ eapply "${FILESDIR}/${P}-strip-debug-mode.patch"
+ eapply "${FILESDIR}/${P}-respect-cflags.patch"
+ pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
+ eapply "${FILESDIR}/${P}-blender-exporter-paths.patch"
+ popd || dir
+ eapply_user
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DYAF_LIB_DIR=$(get_libdir)
+ -DWITH_YAF_PY_BINDINGS=$(usex python)
+ -DYAF_PY_VERSION=${EPYTHON#python}
+ -DWITH_YAF_RUBY_BINDINGS=OFF
+ -DBLENDER_ADDON=OFF # addon is a separate package called blender-exporter
+ -DCMAKE_SKIP_RPATH=ON # NULL DT_RUNPATH security problem
+ -DFAST_MATH=$(usex fastmath)
+ -DFAST_TRIG=$(usex fasttrig)
+ -DWITH_JPEG="$(usex jpeg)"
+ -DWITH_OpenCV="$(usex opencv)"
+ -DWITH_OpenEXR="$(usex openexr)"
+ -DWITH_PNG="$(usex png)"
+ -DWITH_QT=OFF # qt4 only at the moment
+ -DWITH_TIFF="$(usex tiff)"
+ -DWITH_Freetype="$(usex truetype)"
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ python_domodule "${BUILD_DIR}/src/bindings/yafaray_v3_interface.py"
+ python_domodule "${BUILD_DIR}/src/bindings/_yafaray_v3_interface.so"
+ rm -v "${ED}"/usr/$(get_libdir)/{yafaray_v3_interface.py,_yafaray_v3_interface.so} || die
+ rm -rv "${ED}"/usr/share/doc/${PN} || die
+
+ if use blender; then
+ pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
+ rm README LICENSES INSTALL CHANGELOG .gitignore || die
+ # grab blender version number for plugin directory
+ local blender_plugin_dir=$(best_version media-gfx/blender)
+ blender_plugin_dir=${blender_plugin_dir##*/} # remove category
+ blender_plugin_dir=${blender_plugin_dir#*-} # remove package name
+ blender_plugin_dir=${blender_plugin_dir%%-*} # remove revision number if exists
+ insinto /usr/share/blender/${blender_plugin_dir}/scripts/addons/yafaray_v3
+ doins -r .
+ popd || die
+ fi
+}
+
+pkg_postinst() {
+ einfo "To confirm your installation is working as expected, run"
+ einfo "yafaray-xml with /usr/share/yafaray/tests/test01/test01.xml"
+ einfo "as an input file, then compare the result to"
+ einfo "'/usr/share/yafaray/tests/test01/test01 - expected render result.png'"
+ if use blender; then
+ elog
+ elog "To use within Blender, navigate to File -> User Preferences -> Add-ons (tab)"
+ elog "and enable 'Render: YafaRay v3 Exporter'. This will make YafaRay available"
+ elog "in the render engines drop-down."
+ fi
+}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2019-06-12 13:39 Andreas Sturmlechner
0 siblings, 0 replies; 15+ messages in thread
From: Andreas Sturmlechner @ 2019-06-12 13:39 UTC (permalink / raw
To: gentoo-commits
commit: bc1027644e374193c17dd59505f6271f914a5566
Author: Bernd Waibel <waebbl <AT> gmail <DOT> com>
AuthorDate: Fri May 31 19:59:34 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 13:32:23 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc102764
media-gfx/yafaray: drop broken 3.3.0-r1 ebuild
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-gfx/yafaray/yafaray-3.3.0-r1.ebuild | 110 ------------------------------
1 file changed, 110 deletions(-)
diff --git a/media-gfx/yafaray/yafaray-3.3.0-r1.ebuild b/media-gfx/yafaray/yafaray-3.3.0-r1.ebuild
deleted file mode 100644
index 01987b31372..00000000000
--- a/media-gfx/yafaray/yafaray-3.3.0-r1.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python3_{5,6,7} )
-
-inherit cmake-utils python-single-r1
-
-DESCRIPTION="A free open-source montecarlo raytracing engine"
-HOMEPAGE="http://www.yafaray.org"
-SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> ${PN}-core-${PV}.tar.gz
- https://github.com/YafaRay/Blender-Exporter/archive/v${PV}.tar.gz -> ${PN}-blender-exporter-${PV}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+blender +fastmath +fasttrig jpeg opencv openexr png +python tiff truetype"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- dev-libs/boost:=
- dev-libs/libxml2:2
- sys-libs/zlib
- blender? ( media-gfx/blender )
- jpeg? ( virtual/jpeg:0 )
- opencv? ( >=media-libs/opencv-3.1.0:=[openexr?] )
- openexr? ( >=media-libs/openexr-2.2.0:= )
- png? ( media-libs/libpng:0= )
- python? ( ${PYTHON_DEPS} )
- tiff? ( media-libs/tiff:0 )
- truetype? ( media-libs/freetype:2 )
-"
-DEPEND="${RDEPEND}
- dev-lang/swig
-"
-
-S="${WORKDIR}/Core-${PV}"
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- cmake-utils_src_prepare
-
- sed -i -e "s/@YAFARAY_BLENDER_EXPORTER_VERSION@/v${PV}/" "${WORKDIR}/Blender-Exporter-${PV}/__init__.py" || die
-
- eapply "${FILESDIR}/${P}-strip-debug-mode.patch"
- eapply "${FILESDIR}/${P}-respect-cflags.patch"
- pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
- eapply "${FILESDIR}/${P}-blender-exporter-paths.patch"
- popd || dir
- eapply_user
-}
-
-src_configure() {
- local mycmakeargs=(
- -DYAF_LIB_DIR=$(get_libdir)
- -DWITH_YAF_PY_BINDINGS=$(usex python)
- -DYAF_PY_VERSION=${EPYTHON#python}
- -DWITH_YAF_RUBY_BINDINGS=OFF
- -DBLENDER_ADDON=OFF # addon is a separate package called blender-exporter
- -DCMAKE_SKIP_RPATH=ON # NULL DT_RUNPATH security problem
- -DFAST_MATH=$(usex fastmath)
- -DFAST_TRIG=$(usex fasttrig)
- -DWITH_JPEG="$(usex jpeg)"
- -DWITH_OpenCV="$(usex opencv)"
- -DWITH_OpenEXR="$(usex openexr)"
- -DWITH_PNG="$(usex png)"
- -DWITH_QT=OFF # qt4 only at the moment
- -DWITH_TIFF="$(usex tiff)"
- -DWITH_Freetype="$(usex truetype)"
- )
-
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- python_domodule "${BUILD_DIR}/src/bindings/yafaray_v3_interface.py"
- python_domodule "${BUILD_DIR}/src/bindings/_yafaray_v3_interface.so"
- rm -v "${D}"usr/$(get_libdir)/{yafaray_v3_interface.py,_yafaray_v3_interface.so} || die
-
- if use blender; then
- pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
- rm README LICENSES INSTALL CHANGELOG .gitignore || die
- # grab blender version number for plugin directory
- local blender_plugin_dir=$(best_version media-gfx/blender)
- blender_plugin_dir=${blender_plugin_dir##*/} # remove category
- blender_plugin_dir=${blender_plugin_dir#*-} # remove package name
- blender_plugin_dir=${blender_plugin_dir%%-*} # remove revision number if exists
- insinto /usr/share/blender/${blender_plugin_dir}/scripts/addons/yafaray_v3
- doins -r .
- popd || die
- fi
-}
-
-pkg_postinst() {
- einfo "To confirm your installation is working as expected, run"
- einfo "yafaray-xml with /usr/share/yafaray/tests/test01/test01.xml"
- einfo "as an input file, then compare the result to"
- einfo "'/usr/share/yafaray/tests/test01/test01 - expected render result.png'"
- if use blender; then
- elog
- elog "To use within Blender, navigate to File -> User Preferences -> Add-ons (tab)"
- elog "and enable 'Render: YafaRay v3 Exporter'. This will make YafaRay available"
- elog "in the render engines drop-down."
- fi
-}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2020-01-03 19:08 Andreas Sturmlechner
0 siblings, 0 replies; 15+ messages in thread
From: Andreas Sturmlechner @ 2020-01-03 19:08 UTC (permalink / raw
To: gentoo-commits
commit: c6f94bfb32cc2d062fe565944858b1bbb85b6cdd
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 3 18:59:28 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Jan 3 18:59:28 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6f94bfb
media-gfx/yafaray: Switch to cmake.eclass
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-gfx/yafaray/yafaray-3.3.0-r2.ebuild | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild b/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild
index c54d1fbb0c7..dfaafd34cbb 100644
--- a/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild
+++ b/media-gfx/yafaray/yafaray-3.3.0-r2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
-inherit cmake-utils flag-o-matic python-single-r1
+inherit cmake flag-o-matic python-single-r1
DESCRIPTION="A free open-source montecarlo raytracing engine"
HOMEPAGE="http://www.yafaray.org"
@@ -41,7 +41,7 @@ pkg_setup() {
src_prepare() {
append-flags "-pthread"
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i -e "s/@YAFARAY_BLENDER_EXPORTER_VERSION@/v${PV}/" "${WORKDIR}/Blender-Exporter-${PV}/__init__.py" || die
@@ -72,11 +72,11 @@ src_configure() {
-DWITH_Freetype="$(usex truetype)"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
python_domodule "${BUILD_DIR}/src/bindings/yafaray_v3_interface.py"
python_domodule "${BUILD_DIR}/src/bindings/_yafaray_v3_interface.so"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2020-10-03 13:43 Joonas Niilola
0 siblings, 0 replies; 15+ messages in thread
From: Joonas Niilola @ 2020-10-03 13:43 UTC (permalink / raw
To: gentoo-commits
commit: 3c596be4f93965cfdaf1b200379c4fe5d9cba4ae
Author: Bernd Waibel <waebbl <AT> gmail <DOT> com>
AuthorDate: Wed Sep 9 20:31:41 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Oct 3 13:43:05 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c596be4
media-gfx/yafaray: add support for python-3.{7,8}
- Remove support for python-3.6
- Remove blender USE flag and support. The blender plugin isn't ready
for blender-2.8 series yet. Blender-2.79 is python-3.6 only, which
is going to be removed soon. Support will be re-added, as soon as
upstream has updated the plugin for blender-2.8*.
Closes: https://bugs.gentoo.org/737392
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17485
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-gfx/yafaray/Manifest | 1 -
media-gfx/yafaray/metadata.xml | 1 -
media-gfx/yafaray/yafaray-3.4.1.ebuild | 40 +++++-----------------------------
3 files changed, 5 insertions(+), 37 deletions(-)
diff --git a/media-gfx/yafaray/Manifest b/media-gfx/yafaray/Manifest
index 0d86321f1fd..eb4cb6dcc74 100644
--- a/media-gfx/yafaray/Manifest
+++ b/media-gfx/yafaray/Manifest
@@ -1,2 +1 @@
-DIST yafaray-blender-exporter-3.4.1.tar.gz 381253 BLAKE2B b1483c79b14581729f598b92ca504af4a8a73cff54ff2014e8be646eaa2eea7f10074d1dc8c58251d8a987ac6e5ac10d1bc34b80c229f74e6d580bbaa3a3c461 SHA512 1f7baf7bf5953be8b4e004b1509cc23164df0a05e28d33a2301195ea21ad4d4cd6fdd67a0b1af11c1075bab7018e64b38f564be8b647d8513db46feee7d8bf85
DIST yafaray-core-3.4.1.tar.gz 1136077 BLAKE2B a2ce3945f52315084ee744ff4a6733255018196f0000ca6b1786fbd2ec49ade64cb62e98dfba95dca4dec361f47235d59a8c9bd95ee7d095214fc0afbdcb1ee4 SHA512 a9116273fbc2aaaadbc38a65b1eaaa502070ff06f8a2929e880714a9db57188e65cf319c20a3f96e08146af36a67aea139709a633eb024be65319a64330e6f68
diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml
index 795c6e4891e..24519079a75 100644
--- a/media-gfx/yafaray/metadata.xml
+++ b/media-gfx/yafaray/metadata.xml
@@ -14,7 +14,6 @@
An render engine consists of a "faceless" computer program that interacts with a host 3D application to provide very specific raytracing capabilties "on demand". Blender 3D is the host application of YafaRay.
</longdescription>
<use>
- <flag name="blender">Install addon for <pkg>media-gfx/blender</pkg></flag>
<flag name="fastmath">Enable mathematic approximations to make code faster</flag>
<flag name="fasttrig">Enable trigonometric approximations to make code faster</flag>
<flag name="opencv">Use <pkg>media-libs/opencv</pkg></flag>
diff --git a/media-gfx/yafaray/yafaray-3.4.1.ebuild b/media-gfx/yafaray/yafaray-3.4.1.ebuild
index e583d32d4b7..4efd96180ca 100644
--- a/media-gfx/yafaray/yafaray-3.4.1.ebuild
+++ b/media-gfx/yafaray/yafaray-3.4.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{7,8} )
# doesn't build with ninja when qt5 and python USE flags are both enabled
CMAKE_MAKEFILE_GENERATOR="emake"
@@ -12,19 +12,17 @@ inherit cmake flag-o-matic python-single-r1
DESCRIPTION="A free open-source montecarlo raytracing engine"
HOMEPAGE="http://www.yafaray.org"
-SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> ${PN}-core-${PV}.tar.gz
- blender? ( https://github.com/YafaRay/Blender-Exporter/archive/v${PV}.tar.gz -> ${PN}-blender-exporter-${PV}.tar.gz )"
+SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> ${PN}-core-${PV}.tar.gz"
S="${WORKDIR}/Core-${PV}"
-LICENSE="blender? ( GPL-2+ ) LGPL-2.1"
+LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="blender +fastmath +fasttrig jpeg opencv openexr png +python qt5 tiff truetype"
+IUSE="+fastmath +fasttrig jpeg opencv openexr png +python qt5 tiff truetype"
RESTRICT="test"
REQUIRED_USE="
- blender? ( python )
python? ( ${PYTHON_REQUIRED_USE} )
"
@@ -37,10 +35,7 @@ RDEPEND="
opencv? ( >=media-libs/opencv-3.1.0:= )
openexr? ( >=media-libs/openexr-2.2.0:= )
png? ( media-libs/libpng:0= )
- python? (
- ${PYTHON_DEPS}
- blender? ( ~media-gfx/blender-2.79b[${PYTHON_SINGLE_USEDEP}] )
- )
+ python? ( ${PYTHON_DEPS} )
qt5? ( dev-qt/qtwidgets:5 )
tiff? ( media-libs/tiff:0 )
truetype? ( media-libs/freetype:2 )
@@ -63,13 +58,6 @@ src_prepare() {
append-ldflags -pthread
cmake_src_prepare
-
- if use blender; then
- # fix PLUGIN_PATH
- sed -e "s/PLUGIN_PATH = os.path.join(__path__\[0\], 'bin'/PLUGIN_PATH = os.path.join(__path__\[0\], '"$(get_libdir)"'/" \
- -e "s/@YAFARAY_BLENDER_EXPORTER_VERSION@/v"${PV}"/" \
- -i "${WORKDIR}"/Blender-Exporter-${PV}/__init__.py || die "patching startup file failed"
- fi
}
src_configure() {
@@ -116,18 +104,6 @@ src_install() {
fi
rm -rv "${ED}"/usr/share/doc/${PN} || die
-
- if use blender; then
- pushd "${WORKDIR}/Blender-Exporter-${PV}" || die
- # grab blender version number for plugin directory
- local blender_plugin_dir=$(best_version media-gfx/blender)
- blender_plugin_dir=${blender_plugin_dir##*/} # remove category
- blender_plugin_dir=${blender_plugin_dir#*-} # remove package name
- blender_plugin_dir=${blender_plugin_dir%%-*} # remove revision number if exists
- insinto /usr/share/blender/${blender_plugin_dir}/scripts/addons/yafaray_v3
- doins -r .
- popd || die
- fi
}
pkg_postinst() {
@@ -135,10 +111,4 @@ pkg_postinst() {
einfo "yafaray-xml with /usr/share/yafaray/tests/test01/test01.xml"
einfo "as an input file, then compare the result to"
einfo "'/usr/share/yafaray/tests/test01/test01 - expected render result.png'"
- if use blender; then
- elog
- elog "To use within Blender, navigate to File -> User Preferences -> Add-ons (tab)"
- elog "and enable 'Render: YafaRay v3 Exporter'. This will make YafaRay available"
- elog "in the render engines drop-down."
- fi
}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2020-12-28 2:04 Jonas Stein
0 siblings, 0 replies; 15+ messages in thread
From: Jonas Stein @ 2020-12-28 2:04 UTC (permalink / raw
To: gentoo-commits
commit: ff2f9231ec1fbd5863b78eede1e7dc78f541d324
Author: Jonas Stein <jstein <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 02:04:22 2020 +0000
Commit: Jonas Stein <jstein <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 02:04:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff2f9231
media-gfx/yafaray: matadata QA Fix
"description" should be "name" here.
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Jonas Stein <jstein <AT> gentoo.org>
media-gfx/yafaray/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml
index 24519079a75..f4ad58bed54 100644
--- a/media-gfx/yafaray/metadata.xml
+++ b/media-gfx/yafaray/metadata.xml
@@ -7,7 +7,7 @@
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
- <description>Proxy Maintainer Team</description>
+ <name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
YafaRay is a raytracing open source render engine. Raytracing is a rendering technique for generating realistic images by tracing the path of light through a 3D scene.
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2021-02-07 17:07 Conrad Kostecki
0 siblings, 0 replies; 15+ messages in thread
From: Conrad Kostecki @ 2021-02-07 17:07 UTC (permalink / raw
To: gentoo-commits
commit: 67607a8a6b4aa6fcd9929005ef099a06572e96e3
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Sun Feb 7 16:15:50 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Feb 7 17:07:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67607a8a
media-gfx/yafaray: fix metadata email
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
media-gfx/yafaray/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml
index f4ad58bed54..2c614e94cc3 100644
--- a/media-gfx/yafaray/metadata.xml
+++ b/media-gfx/yafaray/metadata.xml
@@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>waebbl@gmail.com</email>
+ <email>waebbl-gentoo@posteo.net</email>
<name>Bernd Waibel</name>
</maintainer>
<maintainer type="project">
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2021-03-08 13:59 Joonas Niilola
0 siblings, 0 replies; 15+ messages in thread
From: Joonas Niilola @ 2021-03-08 13:59 UTC (permalink / raw
To: gentoo-commits
commit: 9a6666fb475186bd9875b2f2cbb72b74eac060fa
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Wed Mar 3 08:34:02 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar 8 13:59:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a6666fb
media-gfx/yafaray: bump to 3.5.1
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/19748
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-gfx/yafaray/Manifest | 1 +
media-gfx/yafaray/metadata.xml | 20 ++++--
media-gfx/yafaray/yafaray-3.5.1.ebuild | 109 +++++++++++++++++++++++++++++++++
3 files changed, 125 insertions(+), 5 deletions(-)
diff --git a/media-gfx/yafaray/Manifest b/media-gfx/yafaray/Manifest
index eb4cb6dcc74..e5363adde33 100644
--- a/media-gfx/yafaray/Manifest
+++ b/media-gfx/yafaray/Manifest
@@ -1 +1,2 @@
+DIST yafaray-3.5.1.tar.gz 1136455 BLAKE2B 6002f3b96f3626b83f57015eaf3ddd53dcb6b6fd863277912f7fec06e4f176ec81dc48b889a068e6259edf17727dd04d4b1bbc51b571bfe6aad5e48148201e2e SHA512 3ead4d8becd2d524aa5bb4bbde4b9d98b56f8a38d872e7aa49ba19081094406336def02e9bf1503e424ca8e6cade0db4b042214cea8f9345bd4fc542c9346dbe
DIST yafaray-core-3.4.1.tar.gz 1136077 BLAKE2B a2ce3945f52315084ee744ff4a6733255018196f0000ca6b1786fbd2ec49ade64cb62e98dfba95dca4dec361f47235d59a8c9bd95ee7d095214fc0afbdcb1ee4 SHA512 a9116273fbc2aaaadbc38a65b1eaaa502070ff06f8a2929e880714a9db57188e65cf319c20a3f96e08146af36a67aea139709a633eb024be65319a64330e6f68
diff --git a/media-gfx/yafaray/metadata.xml b/media-gfx/yafaray/metadata.xml
index 2c614e94cc3..1200537158a 100644
--- a/media-gfx/yafaray/metadata.xml
+++ b/media-gfx/yafaray/metadata.xml
@@ -10,13 +10,23 @@
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
- YafaRay is a raytracing open source render engine. Raytracing is a rendering technique for generating realistic images by tracing the path of light through a 3D scene.
- An render engine consists of a "faceless" computer program that interacts with a host 3D application to provide very specific raytracing capabilties "on demand". Blender 3D is the host application of YafaRay.
+ YafaRay is a raytracing open source render engine. Raytracing is a
+ rendering technique for generating realistic images by tracing the
+ path of light through a 3D scene.
+ An render engine consists of a "faceless" computer program that
+ interacts with a host 3D application to provide very specific
+ raytracing capabilties "on demand".
</longdescription>
<use>
- <flag name="fastmath">Enable mathematic approximations to make code faster</flag>
- <flag name="fasttrig">Enable trigonometric approximations to make code faster</flag>
- <flag name="opencv">Use <pkg>media-libs/opencv</pkg></flag>
+ <flag name="fastmath">
+ Enable mathematic approximations to make code faster
+ </flag>
+ <flag name="fasttrig">
+ Enable trigonometric approximations to make code faster
+ </flag>
+ <flag name="opencv">
+ Add support for <pkg>media-libs/opencv</pkg> image processing.
+ </flag>
</use>
</pkgmetadata>
diff --git a/media-gfx/yafaray/yafaray-3.5.1.ebuild b/media-gfx/yafaray/yafaray-3.5.1.ebuild
new file mode 100644
index 00000000000..240025c99eb
--- /dev/null
+++ b/media-gfx/yafaray/yafaray-3.5.1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+# doesn't build with ninja when qt5 and python USE flags are both enabled
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit cmake flag-o-matic python-single-r1
+
+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"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+fastmath +fasttrig jpeg opencv openexr png python qt5 tiff truetype"
+RESTRICT="test"
+
+REQUIRED_USE="
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+# Note: according to upstream, the blender plugin doesn't work with >=blender-2.8 (yet).
+RDEPEND="
+ dev-libs/libxml2:2
+ sys-libs/zlib
+ jpeg? ( virtual/jpeg )
+ opencv? ( media-libs/opencv:= )
+ openexr? ( media-libs/openexr:= )
+ png? ( media-libs/libpng:= )
+ python? ( ${PYTHON_DEPS} )
+ qt5? ( dev-qt/qtwidgets:5 )
+ tiff? ( media-libs/tiff )
+ truetype? ( media-libs/freetype:2 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="python? ( dev-lang/swig )"
+
+DOCS=( AUTHORS.md CHANGELOG.md CODING.md INSTALL.md README.md )
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ append-flags -pthread
+ append-ldflags -pthread
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ # enabling BLENDER_ADDON doesn't build anything, but set's some wierd
+ # installation paths, so keep it off and install the files manually.
+ -DBLENDER_ADDON=OFF
+ -DFAST_MATH=$(usex fastmath)
+ -DFAST_TRIG=$(usex fasttrig)
+ -DWITH_Freetype=$(usex truetype)
+ -DWITH_JPEG=$(usex jpeg)
+ -DWITH_OpenCV=$(usex opencv)
+ -DWITH_OpenEXR=$(usex openexr)
+ -DWITH_PNG=$(usex png)
+ -DWITH_QT=$(usex qt5)
+ -DWITH_TIFF=$(usex tiff)
+ -DWITH_XML_LOADER=ON
+ -DWITH_XMLImport=ON
+ -DWITH_YAF_PY_BINDINGS=$(usex python)
+ -DWITH_YAF_RUBY_BINDINGS=OFF
+ -DYAF_DOC_DIR=share/doc/${PF}
+ -DYAF_LIB_DIR=$(get_libdir)
+ )
+
+ if use python; then
+ mycmakeargs+=( -DYAF_PY_VERSION=${EPYTHON#python} )
+ fi
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use python; then
+ python_domodule "${BUILD_DIR}/src/bindings/yafaray_v3_interface.py"
+ mv "${ED}"/usr/$(get_libdir)/_yafaray_v3_interface.so "${ED}"/$(python_get_sitedir)/ || die
+ rm -v "${ED}"/usr/$(get_libdir)/yafaray_v3_interface.py || die
+
+ if use qt5; then
+ python_domodule "${BUILD_DIR}/src/bindings/yafqt.py"
+ mv "${ED}"/usr/$(get_libdir)/_yafqt.so "${ED}"/$(python_get_sitedir)/ || die
+ rm -v "${ED}"/usr/$(get_libdir)/yafqt.py || die
+ fi
+ fi
+}
+
+pkg_postinst() {
+ einfo "To confirm your installation is working as expected, run"
+ einfo "yafaray-xml with /usr/share/yafaray/tests/test01/test01.xml"
+ einfo "as an input file, then compare the result to"
+ einfo "'/usr/share/yafaray/tests/test01/test01 - expected render result.png'"
+}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2021-03-08 13:59 Joonas Niilola
0 siblings, 0 replies; 15+ messages in thread
From: Joonas Niilola @ 2021-03-08 13:59 UTC (permalink / raw
To: gentoo-commits
commit: 72f46324360c240e6d23fd19ce3386ff9e1ea55d
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 8 13:58:52 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar 8 13:59:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72f46324
media-gfx/yafaray: add PYTHON_DEPS to BDEPEND
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-gfx/yafaray/yafaray-3.5.1.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/media-gfx/yafaray/yafaray-3.5.1.ebuild b/media-gfx/yafaray/yafaray-3.5.1.ebuild
index 240025c99eb..cca93fade78 100644
--- a/media-gfx/yafaray/yafaray-3.5.1.ebuild
+++ b/media-gfx/yafaray/yafaray-3.5.1.ebuild
@@ -41,7 +41,10 @@ RDEPEND="
truetype? ( media-libs/freetype:2 )
"
DEPEND="${RDEPEND}"
-BDEPEND="python? ( dev-lang/swig )"
+BDEPEND="python? (
+ ${PYTHON_DEPS}
+ dev-lang/swig
+ )"
DOCS=( AUTHORS.md CHANGELOG.md CODING.md INSTALL.md README.md )
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2021-07-21 21:57 Marek Szuba
0 siblings, 0 replies; 15+ messages in thread
From: Marek Szuba @ 2021-07-21 21:57 UTC (permalink / raw
To: gentoo-commits
commit: b03922c254f6651f13d630601c9d8de8bfa03fdb
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Wed Jul 21 18:53:50 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Jul 21 21:57:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b03922c2
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 <AT> posteo.net>
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
...{yafaray-3.5.1.ebuild => yafaray-3.5.1-r1.ebuild} | 20 ++++++++------------
1 file 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
similarity index 92%
rename from media-gfx/yafaray/yafaray-3.5.1.ebuild
rename to media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
index 2b65a4e8f72..2e4fb63fdf4 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() {
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2022-04-23 1:22 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2022-04-23 1:22 UTC (permalink / raw
To: gentoo-commits
commit: 82e8470525cc99537b5282d1e6dbc0cdaca624ba
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 23 01:21:59 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 01:21:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e84705
media-gfx/yafaray: fix IncorrectCopyright
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-gfx/yafaray/yafaray-3.5.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild b/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
index 336f9d311dd6..9053e381aba3 100644
--- a/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
+++ b/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2022-10-30 9:43 Sam James
0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2022-10-30 9:43 UTC (permalink / raw
To: gentoo-commits
commit: 2c321cfa45359da3863c842de6d1b926645b65fd
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Tue Oct 25 12:16:43 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 30 09:41:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c321cfa
media-gfx/yafaray: disable OpenEXR support
The package currently only supports <openexr-3. Until upstream has
updated to support OpenEXR 3, we disable support for this file format.
Bump to EAPI 8, support Python 3.11
Closes: https://bugs.gentoo.org/877865
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/27942
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{yafaray-3.5.1-r1.ebuild => yafaray-3.5.1-r2.ebuild} | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild b/media-gfx/yafaray/yafaray-3.5.1-r2.ebuild
similarity index 93%
rename from media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
rename to media-gfx/yafaray/yafaray-3.5.1-r2.ebuild
index 9053e381aba3..1da10dced60a 100644
--- a/media-gfx/yafaray/yafaray-3.5.1-r1.ebuild
+++ b/media-gfx/yafaray/yafaray-3.5.1-r2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
# doesn't build with ninja when qt5 and python USE flags are both enabled
CMAKE_MAKEFILE_GENERATOR="emake"
@@ -19,7 +19,7 @@ S="${WORKDIR}/libYafaRay-${PV}"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="+fastmath +fasttrig jpeg opencv openexr png python qt5 tiff truetype"
+IUSE="+fastmath +fasttrig jpeg opencv png python qt5 tiff truetype"
RESTRICT="test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
@@ -28,9 +28,8 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
dev-libs/libxml2:2
sys-libs/zlib
- jpeg? ( virtual/jpeg )
+ jpeg? ( media-libs/libjpeg-turbo:= )
opencv? ( media-libs/opencv:= )
- openexr? ( <media-libs/openexr-3.0.0:0= )
png? ( media-libs/libpng:= )
python? ( ${PYTHON_DEPS} )
qt5? ( dev-qt/qtwidgets:5 )
@@ -73,7 +72,7 @@ src_configure() {
-DWITH_Freetype=$(usex truetype)
-DWITH_JPEG=$(usex jpeg)
-DWITH_OpenCV=$(usex opencv)
- -DWITH_OpenEXR=$(usex openexr)
+ -DWITH_OpenEXR=OFF # bug #877865
-DWITH_PNG=$(usex png)
-DWITH_QT=$(usex qt5)
-DWITH_TIFF=$(usex tiff)
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
@ 2024-07-30 9:18 Pacho Ramos
0 siblings, 0 replies; 15+ messages in thread
From: Pacho Ramos @ 2024-07-30 9:18 UTC (permalink / raw
To: gentoo-commits
commit: 94812a488c3e0810d0c273fd952daaccc22a1769
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 08:51:46 2024 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 09:18:15 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94812a48
media-gfx/yafaray: enable py3.12
Closes: https://bugs.gentoo.org/929629
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
media-gfx/yafaray/yafaray-3.5.1-r4.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-gfx/yafaray/yafaray-3.5.1-r4.ebuild b/media-gfx/yafaray/yafaray-3.5.1-r4.ebuild
index faee7f24fff4..b5253b68852e 100644
--- a/media-gfx/yafaray/yafaray-3.5.1-r4.ebuild
+++ b/media-gfx/yafaray/yafaray-3.5.1-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
# doesn't build with ninja when qt5 and python USE flags are both enabled
CMAKE_MAKEFILE_GENERATOR="emake"
^ permalink raw reply related [flat|nested] 15+ messages in thread
end of thread, other threads:[~2024-07-30 9:18 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-08 13:59 [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/ Joonas Niilola
-- strict thread matches above, loose matches on Subject: below --
2024-07-30 9:18 Pacho Ramos
2022-10-30 9:43 Sam James
2022-04-23 1:22 Sam James
2021-07-21 21:57 Marek Szuba
2021-03-08 13:59 Joonas Niilola
2021-02-07 17:07 Conrad Kostecki
2020-12-28 2:04 Jonas Stein
2020-10-03 13:43 Joonas Niilola
2020-01-03 19:08 Andreas Sturmlechner
2019-06-12 13:39 Andreas Sturmlechner
2019-06-12 13:39 Andreas Sturmlechner
2019-05-19 0:18 Michael Palimaka
2018-10-20 18:52 Pacho Ramos
2018-10-20 18:52 Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox