summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Pasternak <reb@gentoo.org>2006-01-27 10:11:50 +0000
committerKarol Pasternak <reb@gentoo.org>2006-01-27 10:11:50 +0000
commit6b28a67db7b1bb63ea8e4fc7fc378cffc1fa664a (patch)
tree52ff015d78e0807ae6c92d3159935c50d228942f /media-gfx
parentNew dep for XML-XSH (diff)
downloadgentoo-2-6b28a67db7b1bb63ea8e4fc7fc378cffc1fa664a.tar.gz
gentoo-2-6b28a67db7b1bb63ea8e4fc7fc378cffc1fa664a.tar.bz2
gentoo-2-6b28a67db7b1bb63ea8e4fc7fc378cffc1fa664a.zip
version bump
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/blender/ChangeLog7
-rw-r--r--media-gfx/blender/Manifest2
-rw-r--r--media-gfx/blender/blender-2.41.ebuild135
-rw-r--r--media-gfx/blender/files/digest-blender-2.411
4 files changed, 144 insertions, 1 deletions
diff --git a/media-gfx/blender/ChangeLog b/media-gfx/blender/ChangeLog
index 88eb0e118547..990d110a5e3f 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.73 2006/01/10 19:07:44 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.74 2006/01/27 10:11:50 reb Exp $
+
+*blende-2.41 (27 Jan 2006)
+
+ 27 Jan 2006; Karol Pasternak <reb@gentoo.org> +blende-2.41.ebuild:
+ New version
10 Jan 2006; Simon Stelling <blubb@gentoo.org> blender-2.40.ebuild:
stable on amd64 wrt bug 118163
diff --git a/media-gfx/blender/Manifest b/media-gfx/blender/Manifest
index 6a048f93dea6..06b521f68dd7 100644
--- a/media-gfx/blender/Manifest
+++ b/media-gfx/blender/Manifest
@@ -1,6 +1,7 @@
MD5 bfca8ed41a2f16172aebbed9b65777f8 ChangeLog 10793
MD5 f36308ba7cbae244f796a734dda27867 blender-2.36-r1.ebuild 3314
MD5 c76d8dc03adc519e284aac863059f8eb blender-2.40.ebuild 3475
+MD5 9b0dd44c34e2b46d0fc1d7036349487d blender-2.41.ebuild 3472
MD5 705b95605426ad9d562457fdbbff5460 files/blender-2.32.patch 2562
MD5 ee3557021be75082093de0d643b32260 files/blender-2.36-dirs.patch 1970
MD5 bcc3b86202d4c6bb85ef9cef08bfcf9e files/blender-2.37-dirs.patch 725
@@ -12,4 +13,5 @@ MD5 d95ef10fee53b71576c6da6c8163e748 files/blender.png 2119
MD5 b5356307d35d0bfe73149428cafe23ff files/configure-fix.patch 754
MD5 f65e9e32429f06fd611b9902f9d7852b files/digest-blender-2.36-r1 65
MD5 8637d60394b1e58d4f4c0fe4b71865fa files/digest-blender-2.40 65
+MD5 595a9f3015d93ffaf7ad2cef48f3b3d9 files/digest-blender-2.41 65
MD5 493f38fb63d60a1ce275fdd2ea43d6e9 metadata.xml 587
diff --git a/media-gfx/blender/blender-2.41.ebuild b/media-gfx/blender/blender-2.41.ebuild
new file mode 100644
index 000000000000..e53129e56806
--- /dev/null
+++ b/media-gfx/blender/blender-2.41.ebuild
@@ -0,0 +1,135 @@
+# 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.1 2006/01/27 10:11:50 reb 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="~x86"
+
+RDEPEND="media-libs/libsdl
+ media-libs/jpeg
+ media-libs/libpng
+ media-libs/tiff
+ >=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-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
+
+# 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/$(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/{datafile,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 release_*.txt
+
+}
+
+pkg_preinst(){
+ if [ -h "/usr/$(get_libdir)/blender/plugins/include" ];
+ then
+ rm -f /usr/$(get_libdir)/blender/plugins/include
+ fi
+}
diff --git a/media-gfx/blender/files/digest-blender-2.41 b/media-gfx/blender/files/digest-blender-2.41
new file mode 100644
index 000000000000..0b392a38634b
--- /dev/null
+++ b/media-gfx/blender/files/digest-blender-2.41
@@ -0,0 +1 @@
+MD5 f6b54ff73c37aaca4d3f5babdd156fbf blender-2.41.tar.gz 9464385