Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122065 Details for
Bug 152700
unable to compile blender 2.42a with python 2.5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
blender ebuild ready for python 2.5
blender-2.44.ebuild (text/plain), 3.85 KB, created by
Jimmy.Jazz
on 2007-06-14 18:51:44 UTC
(
hide
)
Description:
blender ebuild ready for python 2.5
Filename:
MIME Type:
Creator:
Jimmy.Jazz
Created:
2007-06-14 18:51:44 UTC
Size:
3.85 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/blender-2.44.ebuild,v 1.1 2007/05/17 06:58:54 lu_zero Exp $ > >inherit multilib flag-o-matic eutils python > >#IUSE="jpeg mozilla png sdl static truetype" >IUSE="blender-game ffmpeg jpeg nls openal openexr png sdl" >FFMPEG_SNAP="0.4.9-p20070330" >DESCRIPTION="3D Creation/Animation/Publishing System" >HOMEPAGE="http://www.blender.org/" >SRC_URI="http://download.blender.org/source/${P}.tar.gz > ffmpeg? ( mirror://gentoo/ffmpeg-${FFMPEG_SNAP}.tar.bz2 )" > >SLOT="0" >LICENSE="|| ( GPL-2 BL )" >KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" > >RDEPEND=">=dev-libs/openssl-0.9.6 > ffmpeg? ( >=media-video/ffmpeg-${FFMPEG_SNAP/-/_} > >=media-libs/x264-svn-20061014 ) > jpeg? ( media-libs/jpeg ) > media-libs/tiff > >=dev-lang/python-2.4 > nls? ( >=media-libs/freetype-2.0 > virtual/libintl > >=media-libs/ftgl-2.1 ) > openal? ( media-libs/openal > media-libs/freealut ) > openexr? ( media-libs/openexr ) > png? ( media-libs/libpng ) > sdl? ( >=media-libs/libsdl-1.2 ) > virtual/opengl" > >DEPEND="dev-util/scons > || ( x11-libs/libXt virtual/x11 ) > ${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 >} > >isPython() { > > string="$1" > > set -- $($(which python) --version 2>&1) > > PYTHON_VERSION=$2 > > SEPARATORS="${IFS}" > IFS="." > set -- ${PYTHON_VERSION} > IFS="${SEPARATORS}" > > [[ "$1.$2" == "${string}" ]] >} > >src_unpack() { > unpack ${A} > cd ${S}/release/plugins > chmod 755 bmake > rmdir include > cp -pPR ${S}/source/blender/blenpluginapi include > > cd ${S} > epatch ${FILESDIR}/blender-2.37-dirs.patch > > if use ffmpeg ; then > cd ${S}/extern > mv ffmpeg/Makefile ffmpeg/common.mak ${T} > unpack ffmpeg-${FFMPEG_SNAP}.tar.bz2 > mv ${T}/Makefile ${T}/common.mak ffmpeg > fi > # pass compiler flags to the scons build system > # and set python version to the newest available in your system > > set -- $($(which python) --version 2>&1) > > PYTHON_VERSION=$2 > > SEPARATORS="${IFS}" > IFS="." > set -- ${PYTHON_VERSION} > IFS="${SEPARATORS}" > > BF_PYTHON_VERSION="$1.$2" > > cat <<- EOF > ${S}/user-config.py > CFLAGS += '${CFLAGS}' > BF_PYTHON_VERSION="${BF_PYTHON_VERSION}" > EOF > ># for i in $(ls ${S}/config/*-config.py); do ># einfo "Link $i to python ${BF_PYTHON_VERSION}" ># sed -i -e "s@^\(BF_PYTHON_VERSION = \).*@\1 '${BF_PYTHON_VERSION}'@" $i ># done > > >} > >src_compile() { > for arg in 'openal' \ > 'openexr' \ > 'jpeg' \ > 'ffmpeg' \ > 'png' \ > 'nls international' \ > 'blender-game gameengine'; do > blend_with ${arg} > done > > # scons uses -l differently -> remove it > scons ${MAKEOPTS/-l[0-9]} -h > scons.config > scons ${MAKEOPTS/-l[0-9]} || die \ > "!!! Please add ${S}/scons.config when filing bugs reports to bugs.gentoo.org" > > cd ${S}/release/plugins > emake || die >} > >src_install() { > exeinto /usr/bin/ > doexe ${WORKDIR}/install/linux2/blender > > dodir /usr/share/${PN} > > exeinto /usr/$(get_libdir)/${PN}/textures > doexe ${S}/release/plugins/texture/*.so > exeinto /usr/$(get_libdir)/${PN}/sequences > doexe ${S}/release/plugins/sequence/*.so > insinto /usr/include/${PN} > doins ${S}/release/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 ${FILESDIR}/${PN}.png > insinto /usr/share/applications > doins ${FILESDIR}/${PN}.desktop > > dodoc COPYING INSTALL README >} > >pkg_preinst(){ > if [ -h "${ROOT}/usr/$(get_libdir)/blender/plugins/include" ]; > then > rm -f ${ROOT}/usr/$(get_libdir)/blender/plugins/include > fi >}
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 152700
:
100413
|
102168
|
102251
| 122065 |
129624