Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 373519

Summary: media-gfx/yafray-9999 ebuild REQUEST for blender 2.5x or blender-svn
Product: Gentoo Linux Reporter: tman <cornicx>
Component: New packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: roamingangel
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 276338    
Attachments: yafaray-9999.ebuild

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