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
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
: 140807 140841 (view as bug list)
Depends on:
Blocks:
 
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: ---


Attachments

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"
 HOMEPAGE="http://www.blender.org/"
@@ -27,6 +27,7 @@
        openal? ( ~media-libs/openal-0.0.8
                           media-libs/freealut )
        sdl? ( >=media-libs/libsdl-1.2 )
+       ffmpeg? ( media-video/ffmpeg )
        >=dev-libs/openssl-0.9.6
        >=media-gfx/yafray-0.0.7
        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} \
                        WITH_BF_PLAYER=0
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. ***