diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2005-12-24 14:41:22 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2005-12-24 14:41:22 +0000 |
commit | 2d359c33eb45eeccbc945c2e03f43fd3b19cb54e (patch) | |
tree | 55c7e03f6bbe58706e4c477c3197eafe9d893a4d /media-gfx | |
parent | dev-perl/Graph stable on ppc. (diff) | |
download | gentoo-2-2d359c33eb45eeccbc945c2e03f43fd3b19cb54e.tar.gz gentoo-2-2d359c33eb45eeccbc945c2e03f43fd3b19cb54e.tar.bz2 gentoo-2-2d359c33eb45eeccbc945c2e03f43fd3b19cb54e.zip |
New version, more changes will follow later
(Portage version: 2.0.53)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/blender/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/blender/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/blender/blender-2.40.ebuild | 132 | ||||
-rw-r--r-- | media-gfx/blender/files/digest-blender-2.40 | 1 |
4 files changed, 142 insertions, 2 deletions
diff --git a/media-gfx/blender/ChangeLog b/media-gfx/blender/ChangeLog index 0589a5a068e0..e18f08a686b3 100644 --- a/media-gfx/blender/ChangeLog +++ b/media-gfx/blender/ChangeLog @@ -1,6 +1,6 @@ # 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.67 2005/12/15 04:59:59 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.68 2005/12/24 14:41:22 lu_zero Exp $ 15 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; blender-2.37a.ebuild: Add modular X dependencies. @@ -8,6 +8,11 @@ 10 Dec 2005; Tom Gall <tgall@gentoo.org> blender-2.37.ebuild: added ~ppc64 +*blender-2.40 (24 Dec 2005) + + 24 Dec 2005; Luca Barbato <lu_zero@gentoo.org> +blender-2.40.ebuild: + New version + 02 Nov 2005; Jory A. Pratt <anarchy@gentoo.org> +files/blender-2.37a-x86_64.patch: patch added wrt bug #111237 diff --git a/media-gfx/blender/Manifest b/media-gfx/blender/Manifest index a7c49942f5cb..00a761a67684 100644 --- a/media-gfx/blender/Manifest +++ b/media-gfx/blender/Manifest @@ -1,4 +1,4 @@ -MD5 b74676383e8c98171d46e680f6779d85 ChangeLog 9870 +MD5 88f485e8c9928a694932bd63dcfa9d45 ChangeLog 9985 MD5 748a22317a9c9448af9e97a5a2900155 blender-2.34-r1.ebuild 2912 MD5 c2f4a5861dcc36216ddc1e7592141dd1 blender-2.34.ebuild 2800 MD5 36142769a0a67d234b09973eb7117367 blender-2.35.ebuild 2801 @@ -6,6 +6,7 @@ MD5 8a390c3a50c2abbcfa3fbbb7b87a8c54 blender-2.36-r1.ebuild 3309 MD5 99ad2f8fe7c190a54f498946071a613b blender-2.36.ebuild 2929 MD5 1642695ed007cd3b2ea25e09b276c690 blender-2.37.ebuild 3349 MD5 a1cc145d9fb0161bb84c7cd4b3e841dd blender-2.37a.ebuild 3492 +MD5 54808c4906c9914b569e84b13f73969a blender-2.40.ebuild 3444 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 @@ -22,4 +23,5 @@ MD5 f65e9e32429f06fd611b9902f9d7852b files/digest-blender-2.36 65 MD5 f65e9e32429f06fd611b9902f9d7852b files/digest-blender-2.36-r1 65 MD5 2ba439f544d1a154d6ab27d68cd059fc files/digest-blender-2.37 65 MD5 052c6c1c8bb6f7abaef2c5a615d6995e files/digest-blender-2.37a 66 +MD5 8637d60394b1e58d4f4c0fe4b71865fa files/digest-blender-2.40 65 MD5 493f38fb63d60a1ce275fdd2ea43d6e9 metadata.xml 587 diff --git a/media-gfx/blender/blender-2.40.ebuild b/media-gfx/blender/blender-2.40.ebuild new file mode 100644 index 000000000000..0548e2955750 --- /dev/null +++ b/media-gfx/blender/blender-2.40.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.40.ebuild,v 1.1 2005/12/24 14:41:22 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="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-0.96.1 + || ( x11-libs/libXt virtual/x11 ) + ${RDEPEND}" + +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.40 b/media-gfx/blender/files/digest-blender-2.40 new file mode 100644 index 000000000000..68855471ae1a --- /dev/null +++ b/media-gfx/blender/files/digest-blender-2.40 @@ -0,0 +1 @@ +MD5 3b58026ca9d0b26292ef39d7e2353f31 blender-2.40.tar.gz 9298365 |