Summary: | media-gfx/yafray-9999 ebuild REQUEST for blender 2.5x or blender-svn | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tman <cornicx> |
Component: | New packages | Assignee: | 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
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!
dropped |