summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-07-03 13:56:39 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-07-03 13:56:39 +0000
commitaf4d9301b6e108804bc3596610826d28e229bf0e (patch)
tree2e13026dd7f230709c5a610834d149382237b0d9 /media-gfx/blender
parentFixed ChangeLog for the last commit of nichoj. (diff)
downloadhistorical-af4d9301b6e108804bc3596610826d28e229bf0e.tar.gz
historical-af4d9301b6e108804bc3596610826d28e229bf0e.tar.bz2
historical-af4d9301b6e108804bc3596610826d28e229bf0e.zip
Restore blender-2.41
Package-Manager: portage-2.1.1_pre2-r1
Diffstat (limited to 'media-gfx/blender')
-rw-r--r--media-gfx/blender/ChangeLog7
-rw-r--r--media-gfx/blender/Manifest15
-rw-r--r--media-gfx/blender/blender-2.41.ebuild137
3 files changed, 154 insertions, 5 deletions
diff --git a/media-gfx/blender/ChangeLog b/media-gfx/blender/ChangeLog
index 85069a675784..ab8f2903c5a1 100644
--- a/media-gfx/blender/ChangeLog
+++ b/media-gfx/blender/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/blender
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.83 2006/07/02 03:28:07 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.84 2006/07/03 13:56:39 lu_zero Exp $
+
+*blender-2.41 (03 Jul 2006)
+
+ 03 Jul 2006; Luca Barbato <lu_zero@gentoo.org> +blender-2.41.ebuild:
+ Cleanup ahead of time, restored blender-2.41
02 Jul 2006; Luca Barbato <lu_zero@gentoo.org> -blender-2.40.ebuild,
-blender-2.41.ebuild:
diff --git a/media-gfx/blender/Manifest b/media-gfx/blender/Manifest
index 626fb6dc6211..e683ea73b6bb 100644
--- a/media-gfx/blender/Manifest
+++ b/media-gfx/blender/Manifest
@@ -15,14 +15,21 @@ EBUILD blender-2.41-r1.ebuild 3539 RMD160 753d77f68be694f50cdd658a965c97cdf2e535
MD5 d6d2115f56bfe61aa67baefd097ab739 blender-2.41-r1.ebuild 3539
RMD160 753d77f68be694f50cdd658a965c97cdf2e535f5 blender-2.41-r1.ebuild 3539
SHA256 2b384390a114f198df61eeb40de32f1e2d05d5a75f45b90a4c5124a9f8a46443 blender-2.41-r1.ebuild 3539
-MISC ChangeLog 12029 RMD160 82b06effebd5700ff5699c0b40676b624cea0fee SHA1 027d78bc3f70d76f01b282dd88cb1fbdac607453 SHA256 12efd00ac530c13e5008ba120645022261a9c9d9caa6b128721b3a911b26c438
-MD5 b0e0afef68c651aff8c33adec4bc4017 ChangeLog 12029
-RMD160 82b06effebd5700ff5699c0b40676b624cea0fee ChangeLog 12029
-SHA256 12efd00ac530c13e5008ba120645022261a9c9d9caa6b128721b3a911b26c438 ChangeLog 12029
+EBUILD blender-2.41.ebuild 3524 RMD160 b7a1a80118ab9ae90ce1379093fb879314d5a67a SHA1 4d3c99bd4d9d31be29d46bd4779c0b29d52733a4 SHA256 10df448711ada984d482e3eaf37a5113ce0d2ecee76e635f730bb62f6d4a4cf9
+MD5 734741e725e3d1479742ffb340e76c40 blender-2.41.ebuild 3524
+RMD160 b7a1a80118ab9ae90ce1379093fb879314d5a67a blender-2.41.ebuild 3524
+SHA256 10df448711ada984d482e3eaf37a5113ce0d2ecee76e635f730bb62f6d4a4cf9 blender-2.41.ebuild 3524
+MISC ChangeLog 12177 RMD160 e6f6e4c3ffdc8e860546a5033a02b4fcc068533a SHA1 b5e1fef3c12caa3665b3a6a3455d573b34bf9acc SHA256 da707f944123a5ea82e3e7dded92c0e3ae677e064a864f60ad5d42f1f7a6d82c
+MD5 711c201c7fb3d4f979284f257b53dedc ChangeLog 12177
+RMD160 e6f6e4c3ffdc8e860546a5033a02b4fcc068533a ChangeLog 12177
+SHA256 da707f944123a5ea82e3e7dded92c0e3ae677e064a864f60ad5d42f1f7a6d82c ChangeLog 12177
MISC metadata.xml 587 RMD160 925b5c3bcf2d4f21fc82f760aad723541088bca4 SHA1 9060e32f277a506f2bbdfb7b0a9ed89ae13612b7 SHA256 4a2974916837cada500d7a764a285fa29a0471b242dff4717d60c4a7113dd45e
MD5 493f38fb63d60a1ce275fdd2ea43d6e9 metadata.xml 587
RMD160 925b5c3bcf2d4f21fc82f760aad723541088bca4 metadata.xml 587
SHA256 4a2974916837cada500d7a764a285fa29a0471b242dff4717d60c4a7113dd45e metadata.xml 587
+MD5 2a86080873a0cb2b7cbb6c6f91b64401 files/digest-blender-2.41 241
+RMD160 bd03e47f6dd9aef4c06f89e03d015495cdabf6dc files/digest-blender-2.41 241
+SHA256 64d11d6125385ca32c8f8ae4de0c196a9567729a26d971f49199329a14ca4bee files/digest-blender-2.41 241
MD5 2a86080873a0cb2b7cbb6c6f91b64401 files/digest-blender-2.41-r1 241
RMD160 bd03e47f6dd9aef4c06f89e03d015495cdabf6dc files/digest-blender-2.41-r1 241
SHA256 64d11d6125385ca32c8f8ae4de0c196a9567729a26d971f49199329a14ca4bee files/digest-blender-2.41-r1 241
diff --git a/media-gfx/blender/blender-2.41.ebuild b/media-gfx/blender/blender-2.41.ebuild
new file mode 100644
index 000000000000..186d4e23de90
--- /dev/null
+++ b/media-gfx/blender/blender-2.41.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/blender-2.41.ebuild,v 1.5 2006/07/03 13:56:39 lu_zero Exp $
+
+inherit multilib 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 ppc64 ~sparc x86"
+
+RDEPEND="media-libs/libsdl
+ media-libs/jpeg
+ media-libs/libpng
+ media-libs/tiff
+ >=media-libs/freetype-2.0
+ !=media-libs/openal-0.0.8
+ >=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-0.96.1
+ || ( x11-libs/libXt virtual/x11 )
+ ${RDEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/release/plugins
+ chmod 755 bmake
+ rm -fR include
+ cp -pPR ${S}/source/blender/blenpluginapi include
+ cd ${S}
+ epatch ${FILESDIR}/blender-2.37-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/$(get_libdir)']:" \
+ config.opts
+ fi
+
+# sed -i \
+# -e "s:'openal':'openal','alut':" \
+# config.opts
+
+# 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
+
+ exeinto /usr/$(get_libdir)/${PN}/textures
+ doexe ${S}/release/plugins/texture/*.so
+ exeinto /usr/$(get_libdir)/${PN}/sequences
+ doexe ${S}/release/plugins/sequence/*.so
+ cp -pPR ${S}/release/{datafiles,plugins,scripts} \
+ ${D}/usr/$(get_libdir)/${PN}
+ use nls && \
+ cp -pPR ${S}/bin/.blender/{.Blanguages,.bfont.ttf,locale} \
+ ${D}/usr/$(get_libdir)/${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 "/usr/$(get_libdir)/blender/plugins/include" ];
+ then
+ rm -f /usr/$(get_libdir)/blender/plugins/include
+ fi
+}