public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/
Date: Sat, 20 Oct 2018 18:52:07 +0000 (UTC)	[thread overview]
Message-ID: <1540061462.a32b23bdd9ad7b4cf2e025a5b35f52fb636324c7.pacho@gentoo> (raw)

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
-}


             reply	other threads:[~2018-10-20 18:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-20 18:52 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-10-20 18:52 [gentoo-commits] repo/gentoo:master commit in: media-gfx/yafaray/ Pacho Ramos
2019-05-19  0:18 Michael Palimaka
2019-06-12 13:39 Andreas Sturmlechner
2019-06-12 13:39 Andreas Sturmlechner
2020-01-03 19:08 Andreas Sturmlechner
2020-10-03 13:43 Joonas Niilola
2020-12-28  2:04 Jonas Stein
2021-02-07 17:07 Conrad Kostecki
2021-03-08 13:59 Joonas Niilola
2021-03-08 13:59 Joonas Niilola
2021-07-21 21:57 Marek Szuba
2022-04-23  1:22 Sam James
2022-10-30  9:43 Sam James
2024-07-30  9:18 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1540061462.a32b23bdd9ad7b4cf2e025a5b35f52fb636324c7.pacho@gentoo \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox