Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140748 - blender-2.42.ebuild is missing use flags for ffmpeg and ode
Summary: blender-2.42.ebuild is missing use flags for ffmpeg and ode
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luca Barbato
: 140807 140841 (view as bug list)
Depends on:
Reported: 2006-07-17 02:40 UTC by Dave Cameron
Modified: 2006-07-17 15:04 UTC (History)
4 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Dave Cameron 2006-07-17 02:40:53 UTC
blender-2.42.ebuild is missing use flags for ffmpeg and ode, blender-2.42_pre20060703.ebuild has them. here is a patch to add them to 2.42.ebuild

--- blender-2.42.ebuild 2006-07-16 21:12:29.000000000 +1200
+++ blender-2.42-r1.ebuild      2006-07-17 21:30:28.000000000 +1200
@@ -5,7 +5,7 @@
 inherit multilib flag-o-matic eutils python

 #IUSE="sdl jpeg png mozilla truetype static fmod"
-IUSE="openal sdl openexr jpeg png nls iconv blender-game"
+IUSE="openal sdl openexr jpeg png nls iconv blender-game ffmpeg ode"

 DESCRIPTION="3D Creation/Animation/Publishing System"
@@ -27,6 +27,7 @@
        openal? ( ~media-libs/openal-0.0.8
                           media-libs/freealut )
        sdl? ( >=media-libs/libsdl-1.2 )
+       ffmpeg? ( media-video/ffmpeg )
        nls? ( >=media-libs/ftgl-2.1 )
@@ -74,11 +75,13 @@
        myconf="${myconf} $(blend_with openal)"
        myconf="${myconf} $(blend_with sdl)"
        myconf="${myconf} $(blend_with openexr)"
+       myconf="${myconf} $(blend_with ffmpeg)"
        myconf="${myconf} $(blend_with jpeg)"
        myconf="${myconf} $(blend_with png)"
        myconf="${myconf} $(blend_with nls international)"
        myconf="${myconf} $(blend_with iconv)"
        myconf="${myconf} $(blend_with blender-game gameengine)"
+       myconf="${myconf} $(blend_with ode)"

        scons ${MAKEOPTS} ${myconf} \
Comment 1 Dave Cameron 2006-07-17 03:27:20 UTC
Ok, I've built and tested it with all use flags enabled except openal (because it blocks), it runs, and seems to work, haven't tested ode as I don't know what it does.
Comment 2 Luca Barbato gentoo-dev 2006-07-17 04:31:18 UTC
Upstream asked me to remove ode and ffmpeg since scons could mishandle them

(ode is experimental and deprecated in favour of internal Bullet engine, ffmpeg should build using an internal copy in any case, enabling ffmpeg will just try to link to the system lib after all)
Comment 3 onip 2006-07-17 05:58:32 UTC
and so what about blender and ffmpeg integration? Is it precluded to gentoo users?
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-07-17 11:23:27 UTC
*** Bug 140807 has been marked as a duplicate of this bug. ***
Comment 5 Ian Gowen 2006-07-17 11:28:08 UTC
Since blender has an internal ffmpeg version, why not use that by default? Not doing so removes one of the most useful new features in 2.42.
Comment 6 Luca Barbato gentoo-dev 2006-07-17 13:28:45 UTC
ffmpeg added back
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-07-17 15:04:52 UTC
*** Bug 140841 has been marked as a duplicate of this bug. ***