Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373519 - media-gfx/yafray-9999 ebuild REQUEST for blender 2.5x or blender-svn
Summary: media-gfx/yafray-9999 ebuild REQUEST for blender 2.5x or blender-svn
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 276338
  Show dependency tree
 
Reported: 2011-06-29 23:47 UTC by tman
Modified: 2015-04-26 13:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
yafaray-9999.ebuild (yafaray-9999.ebuild,2.49 KB, text/plain)
2011-08-12 02:07 UTC, Shannon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2011-06-29 23:47:45 UTC
one of the best render for blender is this. but unofrtunatelly its still only support old blender.

i would to ask u all for an nice life ebuild for this nice render for blender-9999 from https://bugs.gentoo.org/show_bug.cgi?id=276338.

thanks u @ll very much

Reproducible: Always
Comment 1 Shannon 2011-08-12 02:07:29 UTC
Created attachment 282975 [details]
yafaray-9999.ebuild

This is my attempt to get it to work in Blender. 

I added all the use flags because it was easy with the CMake build system. I don't know if we really need all them. Probably need to add some logic to make sure at least one picture format is selected.

Currently the python eclass only supports up to eapi=3. My understanding is that since Blender uses python 3 that yafaray needs to too. And python.eclass made it easy. 

I found somewhere some information about use flags depending on other use flags in the same package. But I can't find it again for some reason. Yafaray has bindings for python (which blender requires) and ruby (which I haven't ever used). At some point these should be made use flags with proper dependencies.

This ebuild installs the python bindings to the python site-packages dir and then symlinks them to the Blender addons directory.

Anyway I tested it with the default scene in Blender and it works. Enjoy!
Comment 2 Pacho Ramos gentoo-dev 2015-04-26 13:01:07 UTC
dropped