diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2005-06-01 20:01:15 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2005-06-01 20:01:15 +0000 |
commit | c0ebe7691a02bfc7b24c0a015c5898bede187207 (patch) | |
tree | 318af7b2cde67a90133b59a030b0b106091b9da1 | |
parent | version bump (diff) | |
download | gentoo-2-c0ebe7691a02bfc7b24c0a015c5898bede187207.tar.gz gentoo-2-c0ebe7691a02bfc7b24c0a015c5898bede187207.tar.bz2 gentoo-2-c0ebe7691a02bfc7b24c0a015c5898bede187207.zip |
New version
(Portage version: 2.0.51.22-r1)
-rw-r--r-- | media-gfx/blender/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/blender/Manifest | 5 | ||||
-rw-r--r-- | media-gfx/blender/blender-2.37.ebuild | 129 | ||||
-rw-r--r-- | media-gfx/blender/files/blender-2.37-dirs.patch | 16 | ||||
-rw-r--r-- | media-gfx/blender/files/digest-blender-2.37 | 1 |
5 files changed, 157 insertions, 2 deletions
diff --git a/media-gfx/blender/ChangeLog b/media-gfx/blender/ChangeLog index 141bd25361ed..a42c9326ee1d 100644 --- a/media-gfx/blender/ChangeLog +++ b/media-gfx/blender/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/blender # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.54 2005/04/26 20:04:10 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.55 2005/06/01 20:01:15 lu_zero Exp $ + +*blender-2.37 (01 Jun 2005) + + 01 Jun 2005; Luca Barbato <lu_zero@gentoo.org> + +files/blender-2.37-dirs.patch, +blender-2.37.ebuild: + New version and some cleanups 26 Apr 2005; Luca Barbato <lu_zero@gentoo.org> blender-2.36-r1.ebuild: inheriting python eclass diff --git a/media-gfx/blender/Manifest b/media-gfx/blender/Manifest index bdbe87407709..8703ef942fbf 100644 --- a/media-gfx/blender/Manifest +++ b/media-gfx/blender/Manifest @@ -3,7 +3,8 @@ MD5 d319a736c17f64760fe7cfcfaf4d9ba5 blender-2.34-r1.ebuild 2931 MD5 99ad2f8fe7c190a54f498946071a613b blender-2.36.ebuild 2929 MD5 b0d03a38e564e1191b254888e6030763 blender-2.36-r1.ebuild 3312 MD5 b024660fd2067edc9a0415547d5f5406 blender-2.35.ebuild 2802 -MD5 a17758d9d7cfd73c6aba1ef6abc5b325 ChangeLog 7929 +MD5 9da57402b02b64634147e6c0c46ae9e0 blender-2.37.ebuild 3163 +MD5 d14311a3d124b9114c85940c8a7d05a1 ChangeLog 8096 MD5 66a5b30c7230910dfe5d35c16ee19763 blender-2.34.ebuild 2819 MD5 f65e9e32429f06fd611b9902f9d7852b files/digest-blender-2.36 65 MD5 f65e9e32429f06fd611b9902f9d7852b files/digest-blender-2.36-r1 65 @@ -14,4 +15,6 @@ MD5 ef66b38c216b9ab1d78968353025116f files/digest-blender-2.34-r1 66 MD5 b8e304980dc2bfd9a7157037d6ead44b files/blender.desktop 197 MD5 2fbf0a94ba625bce0c2af487d90cf7f5 files/digest-blender-2.35 66 MD5 d95ef10fee53b71576c6da6c8163e748 files/blender.png 2119 +MD5 2ba439f544d1a154d6ab27d68cd059fc files/digest-blender-2.37 65 MD5 705b95605426ad9d562457fdbbff5460 files/blender-2.32.patch 2562 +MD5 bcc3b86202d4c6bb85ef9cef08bfcf9e files/blender-2.37-dirs.patch 725 diff --git a/media-gfx/blender/blender-2.37.ebuild b/media-gfx/blender/blender-2.37.ebuild new file mode 100644 index 000000000000..5d982e92f400 --- /dev/null +++ b/media-gfx/blender/blender-2.37.ebuild @@ -0,0 +1,129 @@ +inherit flag-o-matic eutils python + +#IUSE="sdl jpeg png mozilla truetype static fmod" +IUSE="nls" #blender-game" # blender-plugin" + +DESCRIPTION="3D Creation/Animation/Publishing System" +HOMEPAGE="http://www.blender.org/" +SRC_URI="http://download.blender.org/source/${P}.tar.gz" + +SLOT="0" +LICENSE="|| (GPL-2 BL)" +KEYWORDS="~ppc ~x86 ~amd64" + +RDEPEND="virtual/x11 + media-libs/libsdl + media-libs/jpeg + media-libs/libpng + >=media-libs/freetype-2.0 + >=media-libs/openal-20020127 + >=media-libs/libsdl-1.2 + >=media-libs/libvorbis-1.0 + >=dev-libs/openssl-0.9.6 + >=media-gfx/yafray-0.0.7 + nls? ( >=media-libs/ftgl-2.1 )" + +DEPEND="dev-util/scons + ${RDEPEND}" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S}/release/plugins + chmod 755 bmake + rm -fR include + cp -a ${S}/source/blender/blenpluginapi include + cd ${S} + epatch ${FILESDIR}/${P}-dirs.patch + mkdir -p ${WORKDIR}/build/linux2/{extern,intern,source} +} + + +src_compile() { + local myconf="" + + replace-flags -march=pentium4 -march=pentium3 + scons -q + + # SDL Support + #use sdl && myconf="${myconf} --with-sdl=/usr" + # || myconf="${myconf} --without-sdl" + + # Jpeg support + #use jpeg && myconf="${myconf} --with-libjpeg=/usr" + + # PNG Support + #use png && myconf="${myconf} --with-libpng=/usr" + + # ./configure points at the wrong mozilla directories and will fail + # with this enabled. (A simple patch should take care of this) + #use mozilla && myconf="${myconf} --with-mozilla=/usr" + + # TrueType support (For text objects) + #use truetype && myconf="${myconf} --with-freetype2=/usr" + + # Build Staticly + #use static && myconf="${myconf} --enable-blenderstatic" + + # Build the game engine +# use blender-game && \ + einfo "enabling game engine" + sed -i -e "s:BUILD_GAMEENGINE.*$:BUILD_GAMEENGINE = 'true':" \ + config.opts + + if use nls ; + then + einfo "enabling internationalization" + sed -i -e "s:USE_INTERNATIONAL.*$:USE_INTERNATIONAL = 'true':" \ + -e "s:FTGL_INCLUDE.*$:FTGL_INCLUDE = ['/usr/include/FTGL']:" \ + -e "s:FTGL_LIBPATH.*$:FTGL_LIBPATH = ['/usr/lib']:" \ + config.opts + fi + +# use blender-game || \ +# ( einfo "disabling game engine" +# sed -i -e "s:BUILD_GAMEENGINE = 'true':BUILD_GAMEENGINE = 'false':" \ +# ${S}/config.opts ) + + # Build the plugin +# use blender-plugin && \ +# ( einfo "enabling mozilla plugin" +# sed -i -e "s:BUILD_BLENDER_PLUGIN.*$:BUILD_BLENDER_PLUGIN = 'true':" \ +# config.opts ) + + sed -i -e "s/-O2/${CFLAGS// /\' ,\'}/g" ${S}/SConstruct + scons ${MAKEOPTS} || die + cd ${S}/release/plugins + emake || die + +} + +src_install() { + exeinto /usr/bin/ + doexe ${S}/blender + doexe ${S}/blenderplayer + + + exeinto /usr/lib/${PN}/textures + doexe ${S}/release/plugins/texture/*.so + exeinto /usr/lib/${PN}/sequences + doexe ${S}/release/plugins/sequence/*.so + cp -a ${S}/release/{bpydata,plugins,scripts} ${D}/usr/lib/${PN} + use nls && \ + cp -a ${S}/bin/.blender/{.Blanguages,.bfont.ttf,locale} ${D}/usr/lib/${PN} + insinto /usr/share/pixmaps + doins ${FILESDIR}/${PN}.png + insinto /usr/share/applications + doins ${FILESDIR}/${PN}.desktop + + dodoc COPYING INSTALL README release_237.txt + +} + +pkg_preinst(){ + if [ -h "/usr/lib/blender/plugins/include" ]; + then + rm -f /usr/lib/blender/plugins/include + fi +} diff --git a/media-gfx/blender/files/blender-2.37-dirs.patch b/media-gfx/blender/files/blender-2.37-dirs.patch new file mode 100644 index 000000000000..3ac7b9242a7b --- /dev/null +++ b/media-gfx/blender/files/blender-2.37-dirs.patch @@ -0,0 +1,16 @@ +diff -ruN blender.orig/source/blender/src/language.c blender/source/blender/src/language.c +--- blender.orig/source/blender/src/language.c 2005-06-01 10:59:36.000000000 +0200 ++++ blender/source/blender/src/language.c 2005-06-01 11:07:15.000000000 +0200 +@@ -358,9 +358,9 @@ + strcpy(name, bundlePath); + strcat(name, "/Contents/Resources/.Blanguages"); + #else +- /* Check the CWD. Takes care of the case where users +- * unpack blender tarball; cd blender-dir; ./blender */ +- strcpy(name, ".blender/.Blanguages"); ++ /* Check the standar location. Takes care of the case ++ * in which the distribution installs blender */ ++ strcpy(name, "/usr/lib/blender/.Blanguages"); + #endif + lines= BLI_read_file_as_lines(name); + diff --git a/media-gfx/blender/files/digest-blender-2.37 b/media-gfx/blender/files/digest-blender-2.37 new file mode 100644 index 000000000000..b50c85e3fef6 --- /dev/null +++ b/media-gfx/blender/files/digest-blender-2.37 @@ -0,0 +1 @@ +MD5 a233a77abcc5561fbe2c5fe307654b41 blender-2.37.tar.gz 7953131 |