Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 199549 Details for
Bug 276338
media-gfx/blender-2.5 SVN
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-gfx/blender-9999.ebuild
blender-9999.ebuild (text/plain), 4.73 KB, created by
MT
on 2009-07-29 11:52:10 UTC
(
hide
)
Description:
media-gfx/blender-9999.ebuild
Filename:
MIME Type:
Creator:
MT
Created:
2009-07-29 11:52:10 UTC
Size:
4.73 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" >inherit subversion multilib eutils python > ># disable blender-game USE flag for now. SVN has not integrated yet ># and the build will fail with it. > >IUSE="blender-game ffmpeg nls ogg openmp verse openal" > >DESCRIPTION="3D Creation/Animation/Publishing System" >HOMEPAGE="http://www.blender.org/" >ESVN_REPO_URI="https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender/" > >SLOT="0" >LICENSE="|| ( GPL-2 BL )" >KEYWORDS="" > >RDEPEND="ffmpeg? ( >=media-video/ffmpeg-0.5 ) > media-libs/jpeg > media-libs/openjpeg > media-libs/tiff > >=dev-lang/python-2.5 > nls? ( >=media-libs/freetype-2.0 > virtual/libintl > >=media-libs/ftgl-2.1 ) > openal? ( >=media-libs/openal-1.6.372 ) > >=media-libs/freealut-1.1.0-r1 > media-libs/openexr > media-libs/libpng > blender-game? ( >=media-libs/libsdl-1.2[joystick] ) > >=media-libs/libsdl-1.2 > ogg? ( media-libs/libogg ) > virtual/opengl" > >DEPEND=">=dev-util/scons-0.98 > sys-devel/gcc[openmp?] > x11-base/xorg-server > ${RDEPEND}" > >blend_with() { > local UWORD="$2" > if [ -z "${UWORD}" ]; then > UWORD="$1" > fi > if useq $1; then > echo "WITH_BF_${UWORD}=1" | tr '[:lower:]' '[:upper:]' \ > >> "${S}"/user-config.py > else > echo "WITH_BF_${UWORD}=0" | tr '[:lower:]' '[:upper:]' \ > >> "${S}"/user-config.py > fi >} > >src_prepare() { > #is unknown if all or any of the previous patches will > #really need to be applied at this time. openjpeg.patch left > #for now for testing as we assume lib related issue from 2.49a > #will probably still exist for some users. > ># epatch "${FILESDIR}"/blender-2.48a-CVE-2008-4863.patch ># epatch "${FILESDIR}"/${PN}-2.37-dirs.patch ># epatch "${FILESDIR}"/${PN}-2.44-scriptsdir.patch > epatch "${FILESDIR}"/${PN}-2.49a-sys-openjpeg.patch > > #will have to research this if script paths change or not.. > #for PYC in "${S}"/release/scripts/bpymodules/*.pyc ; do > # rm ${PYC} || die "no ${PYC}.pyc to remove, something odd happens." > #done >} > >src_configure() { > > # add ffmpeg info to the scons build info > cat <<- EOF >> "${S}"/user-config.py > BF_FFMPEG="/usr" > BF_FFMPEG_LIB="avdevice avformat avcodec swscale avutil" > EOF > > # set python version to current version in use > python_version > cat <<- EOF >> "${S}"/user-config.py > BF_PYTHON_VERSION="${PYVER}" > BF_PYTHON_INC="/usr/include/python${PYVER}" > BF_PYTHON_BINARY="/usr/bin/python${PYVER}" > BF_PYTHON_LIB="python${PYVER}" > EOF > > # add system openjpeg into scons build. > cat <<- EOF >> "${S}"/user-config.py > BF_OPENJPEG = "/usr" > BF_OPENJPEG_INC = "/usr/include" > BF_OPENJPEG_LIB = "openjpeg" > EOF > > #set CFLAGS used in /etc/make.conf correctly > echo "CFLAGS= [`for i in ${CFLAGS[@]}; do printf "%s \'$i"\',; done`] " \ > | sed -e "s:,]: ]:" >> "${S}"/user-config.py > > echo "CXXFLAGS= [`for i in ${CFLAGS[@]}; do printf "%s \'$i"\',; done`]" \ > | sed -e "s:,]: ]:" >> "${S}"/user-config.py > > for arg in \ > 'openal'\ > 'ffmpeg' \ > 'blender-game gameengine' \ > 'blender-game player' \ > 'nls international' \ > 'ogg' \ > 'openmp' \ > 'verse' ; do > blend_with ${arg} > done >} > >src_compile() { > # scons uses -l differently -> remove it > scons ${MAKEOPTS/-l[0-9]} || die \ > '!!! Please add "${S}/scons.config" when filing bugs reports \ > to bugs.gentoo.org' > > cd "${WORKDIR}"/install/linux2/plugins > chmod 755 bmake > emake || die >} > >src_install() { > exeinto /usr/bin/ > doexe "${WORKDIR}"/install/linux2/blender > use blender-game && doexe "${WORKDIR}"/install/linux2/blenderplayer > > dodir /usr/share/${PN} > > exeinto /usr/$(get_libdir)/${PN}/textures > doexe "${WORKDIR}"/install/linux2/plugins/texture/*.so > exeinto /usr/$(get_libdir)/${PN}/sequences > doexe "${WORKDIR}"/install/linux2/plugins/sequence/*.so > insinto /usr/include/${PN} > doins "${WORKDIR}"/install/linux2/plugins/include/*.h > > if use nls ; then > mv "${WORKDIR}"/install/linux2/.blender/{.Blanguages,.bfont.ttf} \ > "${D}"/usr/share/${PN} > mv "${WORKDIR}"/install/linux2/.blender/locale \ > "${D}"/usr/share/locale > fi > > mv "${WORKDIR}"/install/linux2/.blender/scripts "${D}"/usr/share/${PN} > > insinto /usr/share/pixmaps > doins "${WORKDIR}"/install/linux2/icons/scalable/blender.svg > insinto /usr/share/applications > doins "${FILESDIR}"/${PN}.desktop > > dodoc INSTALL README > dodoc "${WORKDIR}"/install/linux2/BlenderQuickStart.pdf > >} > >pkg_preinst(){ > if [ -h "${ROOT}/usr/$(get_libdir)/blender/plugins/include" ]; > then > rm "${ROOT}"/usr/$(get_libdir)/blender/plugins/include > fi >} > >pkg_postinst(){ > elog "blender live ebuild is a work in progress from SVN." > elog "Many things are not going to work.." > echo > elog "The purpose of this ebuild is to stay on top of the build" > elog "needs of blender-2.5 in order to have a working ebuild" > elog "ready on release day. Also for the curious to see the" > elog "new interface." >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 276338
:
196474
|
196477
|
199549
|
201208
|
201222
|
201223
|
201225
|
201312
|
201684
|
201685
|
201687
|
201688
|
202454
|
204007
|
204008
|
204009
|
204010
|
204012
|
204014
|
204031
|
204216
|
204616
|
204622
|
204624
|
204625
|
205091
|
205675
|
205676
|
206068
|
206853
|
213876
|
215848
|
224099
|
224443
|
227357
|
227477
|
227479
|
227481
|
228419
|
228465
|
228519
|
238603
|
238605
|
241313
|
241315
|
246942
|
246944
|
252871
|
254325
|
255923
|
258479
|
258646
|
259906
|
263079
|
263847
|
264145
|
264655
|
265177
|
265489
|
266121
|
268743
|
269639
|
269671
|
269725
|
270319
|
271985
|
272415
|
274533
|
274535
|
277707
|
278649
|
278821
|
278823
|
278903
|
278905
|
280689
|
280693
|
282083
|
282169
|
285111
|
286065
|
286067
|
286175
|
286177
|
292059
|
292061
|
292063
|
292065
|
292067
|
292069
|
292071
|
292169
|
296945
|
297059
|
301437
|
301439
|
303799
|
307951
|
308237
|
309395
|
311773
|
316911
|
316913
|
328834