diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2005-06-17 12:48:52 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2005-06-17 12:48:52 +0000 |
commit | 9838cad49cc558c12d30e25dbbd2073c8006734e (patch) | |
tree | ef6f9bde72a50522a0aed682501b1352a7f07067 /media-gfx | |
parent | Stable on sparc (diff) | |
download | historical-9838cad49cc558c12d30e25dbbd2073c8006734e.tar.gz historical-9838cad49cc558c12d30e25dbbd2073c8006734e.tar.bz2 historical-9838cad49cc558c12d30e25dbbd2073c8006734e.zip |
New version
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/blender/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/blender/Manifest | 5 | ||||
-rw-r--r-- | media-gfx/blender/blender-2.37a.ebuild | 132 | ||||
-rw-r--r-- | media-gfx/blender/files/blender-2.37a-dirs.patch | 16 | ||||
-rw-r--r-- | media-gfx/blender/files/digest-blender-2.37a | 1 |
5 files changed, 160 insertions, 2 deletions
diff --git a/media-gfx/blender/ChangeLog b/media-gfx/blender/ChangeLog index 3f2a429131a8..cb447c799fb8 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.60 2005/06/16 18:15:02 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.61 2005/06/17 12:48:52 lu_zero Exp $ + +*blender-2.37a (17 Jun 2005) + + 17 Jun 2005; Luca Barbato <lu_zero@gentoo.org> + +files/blender-2.37a-dirs.patch, +blender-2.37a.ebuild: + New version 16 Jun 2005; Luca Barbato <lu_zero@gentoo.org> blender-2.37.ebuild: Minor change, as requested in bug #96105 diff --git a/media-gfx/blender/Manifest b/media-gfx/blender/Manifest index 59fca289e6d8..4fb9542646ac 100644 --- a/media-gfx/blender/Manifest +++ b/media-gfx/blender/Manifest @@ -4,15 +4,18 @@ MD5 99ad2f8fe7c190a54f498946071a613b blender-2.36.ebuild 2929 MD5 8a390c3a50c2abbcfa3fbbb7b87a8c54 blender-2.36-r1.ebuild 3309 MD5 b024660fd2067edc9a0415547d5f5406 blender-2.35.ebuild 2802 MD5 1c05b0353b0755a5bd402b6c2e588d62 blender-2.37.ebuild 3344 -MD5 c58e8f9bce5660ef08b3ae3d2e90d6c4 ChangeLog 9022 +MD5 0ee359b893fd40fd40c0a5a28e655819 blender-2.37a.ebuild 3345 +MD5 10771f906ca263395f91ca41459efb39 ChangeLog 9174 MD5 66a5b30c7230910dfe5d35c16ee19763 blender-2.34.ebuild 2819 MD5 f65e9e32429f06fd611b9902f9d7852b files/digest-blender-2.36 65 MD5 f65e9e32429f06fd611b9902f9d7852b files/digest-blender-2.36-r1 65 +MD5 052c6c1c8bb6f7abaef2c5a615d6995e files/digest-blender-2.37a 66 MD5 ef66b38c216b9ab1d78968353025116f files/digest-blender-2.34 66 MD5 b5356307d35d0bfe73149428cafe23ff files/configure-fix.patch 754 MD5 ee3557021be75082093de0d643b32260 files/blender-2.36-dirs.patch 1970 MD5 ef66b38c216b9ab1d78968353025116f files/digest-blender-2.34-r1 66 MD5 b8e304980dc2bfd9a7157037d6ead44b files/blender.desktop 197 +MD5 bcc3b86202d4c6bb85ef9cef08bfcf9e files/blender-2.37a-dirs.patch 725 MD5 2fbf0a94ba625bce0c2af487d90cf7f5 files/digest-blender-2.35 66 MD5 d95ef10fee53b71576c6da6c8163e748 files/blender.png 2119 MD5 2ba439f544d1a154d6ab27d68cd059fc files/digest-blender-2.37 65 diff --git a/media-gfx/blender/blender-2.37a.ebuild b/media-gfx/blender/blender-2.37a.ebuild new file mode 100644 index 000000000000..167281af8cbc --- /dev/null +++ b/media-gfx/blender/blender-2.37a.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/blender-2.37a.ebuild,v 1.1 2005/06/17 12:48:52 lu_zero Exp $ + +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="~amd64 ~ppc ~sparc ~x86" + +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="" + + 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.37a-dirs.patch b/media-gfx/blender/files/blender-2.37a-dirs.patch new file mode 100644 index 000000000000..3ac7b9242a7b --- /dev/null +++ b/media-gfx/blender/files/blender-2.37a-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.37a b/media-gfx/blender/files/digest-blender-2.37a new file mode 100644 index 000000000000..45179efde268 --- /dev/null +++ b/media-gfx/blender/files/digest-blender-2.37a @@ -0,0 +1 @@ +MD5 dd0002c09ecd68b3cb3e3d8f4ce31e83 blender-2.37a.tar.gz 7990789 |