diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2007-05-17 06:58:54 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2007-05-17 06:58:54 +0000 |
commit | 570104207fce254598c651c396038465351cb14f (patch) | |
tree | 3f3a413502d931e3c86535e23ea8fa02bf903103 /media-gfx | |
parent | Version bump, fix old ebuild (diff) | |
download | historical-570104207fce254598c651c396038465351cb14f.tar.gz historical-570104207fce254598c651c396038465351cb14f.tar.bz2 historical-570104207fce254598c651c396038465351cb14f.zip |
New version, see bug #178504
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/blender/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/blender/Manifest | 16 | ||||
-rw-r--r-- | media-gfx/blender/blender-2.44.ebuild | 136 | ||||
-rw-r--r-- | media-gfx/blender/files/digest-blender-2.44 | 6 |
4 files changed, 162 insertions, 5 deletions
diff --git a/media-gfx/blender/ChangeLog b/media-gfx/blender/ChangeLog index ef7b82f9bc78..5fffe9df26e3 100644 --- a/media-gfx/blender/ChangeLog +++ b/media-gfx/blender/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/blender # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.114 2007/04/17 17:23:27 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.115 2007/05/17 06:58:54 lu_zero Exp $ + +*blender-2.44 (17 May 2007) + + 17 May 2007; Luca Barbato <lu_zero@gentoo.org> +blender-2.44.ebuild: + New ebuild contributed by Cornelius Weig + <bitte.keine.werbung.einwerfen@googlemail.com>, Daniel Genrich + <daniel.genrich@gmx.net> and mattepiu 17 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org> blender-2.43.ebuild: ppc stable, bug #168907 diff --git a/media-gfx/blender/Manifest b/media-gfx/blender/Manifest index a15e68425310..467cf93fce18 100644 --- a/media-gfx/blender/Manifest +++ b/media-gfx/blender/Manifest @@ -14,6 +14,7 @@ DIST blender-2.41.tar.gz 9464385 RMD160 7857eac2acda18ee24db4bb147bcf780025e2c12 DIST blender-2.42.tar.gz 12195054 RMD160 c3a1aa1080d122867f116dd05564c77d41d55194 SHA1 a8fa45b0f032d992b20762bada931da18b716368 SHA256 c0f5f0c3d9cfbf661bba153ebbcafed21bc34524c02096050626194c9345af93 DIST blender-2.42a.tar.gz 12295244 RMD160 3178191ec9565c92f0b381fef2ad69c88873aadb SHA1 242dd751a0cc851c7436eafa73475a11be1aa453 SHA256 f046a66abe2e9a93a17ef1538f43642d2b6a6e48b55b804899fea59279dacd52 DIST blender-2.43.tar.gz 13806334 RMD160 a43babbc816194ba3e4cfed3bd250d20406e2479 SHA1 de9ba15fb40d962e56deebdea13a3a68b3ae6532 SHA256 a48213b61302d03eb8db0cf42712b142d280d16ad111f6411cd8e43403e5e61b +DIST blender-2.44.tar.gz 14362667 RMD160 65e96e03258263a7759bdff5a6d14fc65d13a816 SHA1 2716c1723e1dc3eb2fae10b5768fa7301a7430f0 SHA256 8fa5a46ea65d2a8b87fd1368d5984dfa0a41bdc3cfe24c776e069a4fe40102d1 DIST ffmpeg-0.4.9-p20061016.tar.bz2 2009859 RMD160 b41eeb50ef91e5f7a44f725d29d3b9f8104dd62c SHA1 2e15183755378b4089264be3f8865e24eeaa39dc SHA256 99d18860b5db8f3218481c3c977ad63dcff285f193740f31ae5c8e3cac79d531 DIST ffmpeg-0.4.9-p20070330.tar.bz2 2192476 RMD160 e52bf6abbf7c630aa3e76243987fb7dd6d9b84a1 SHA1 bcc18c88c64f6f941eb1ac94357e0d6dcbf99045 SHA256 58a7e7d909e02fda07856ea044ae0f5f9c174791f63a449f2f23f37a78b34f95 EBUILD blender-2.41-r1.ebuild 3529 RMD160 acb1aa14e2ac0d7de696feb8f266b133e4bfaa89 SHA1 051dae63033099b8eb98230e9035bfbcb42cfd6a SHA256 95b8ca3d65cf47a776ba8b084aee1dad0e940e7ff3ede7a8191b687c915bb598 @@ -32,10 +33,14 @@ EBUILD blender-2.43.ebuild 3633 RMD160 44d3adc3da42ff473c103647f2fc6c890e49042b MD5 61dc1930601069ae4a24d9bb3358e0e6 blender-2.43.ebuild 3633 RMD160 44d3adc3da42ff473c103647f2fc6c890e49042b blender-2.43.ebuild 3633 SHA256 dd083783c5b82ae88895e6ecd11fb120d309e35254e196922519b3b95709780f blender-2.43.ebuild 3633 -MISC ChangeLog 16053 RMD160 2f557d0f386ec0bed42ed5fb128f9d17e67d8091 SHA1 3b858cee4fff29aeca77ca59eb94ebbc14bf9da0 SHA256 36468ef3c785ccd3608ec10c82bbb8118ae7a4f504cac1a6de7da0a4aa7c4e21 -MD5 741a08363f0690b8e66eb6c9b1659113 ChangeLog 16053 -RMD160 2f557d0f386ec0bed42ed5fb128f9d17e67d8091 ChangeLog 16053 -SHA256 36468ef3c785ccd3608ec10c82bbb8118ae7a4f504cac1a6de7da0a4aa7c4e21 ChangeLog 16053 +EBUILD blender-2.44.ebuild 3465 RMD160 8be3a00bf098a6db2bbb29de540654c066bde17f SHA1 7cb91c90ca8e8358a04197db8ec7afe92998700a SHA256 08ee73ef8bed38fb784a3bd4df02d36d3e4d6382e8201f0a7b8033ca16cac1b9 +MD5 8486c8cc7a655ea20e228cfb7f059f60 blender-2.44.ebuild 3465 +RMD160 8be3a00bf098a6db2bbb29de540654c066bde17f blender-2.44.ebuild 3465 +SHA256 08ee73ef8bed38fb784a3bd4df02d36d3e4d6382e8201f0a7b8033ca16cac1b9 blender-2.44.ebuild 3465 +MISC ChangeLog 16299 RMD160 78019ced176e264ed2a2ec594d4ac5fd29a02285 SHA1 962e2991c1caf7bcee497ab65ea70866943fa020 SHA256 0365575d1500eead895a473e460169ccd034838fc2f026c1f6383225742ce6a5 +MD5 26de10ad4bde4cb611f858d92c188e60 ChangeLog 16299 +RMD160 78019ced176e264ed2a2ec594d4ac5fd29a02285 ChangeLog 16299 +SHA256 0365575d1500eead895a473e460169ccd034838fc2f026c1f6383225742ce6a5 ChangeLog 16299 MISC metadata.xml 587 RMD160 925b5c3bcf2d4f21fc82f760aad723541088bca4 SHA1 9060e32f277a506f2bbdfb7b0a9ed89ae13612b7 SHA256 4a2974916837cada500d7a764a285fa29a0471b242dff4717d60c4a7113dd45e MD5 493f38fb63d60a1ce275fdd2ea43d6e9 metadata.xml 587 RMD160 925b5c3bcf2d4f21fc82f760aad723541088bca4 metadata.xml 587 @@ -52,3 +57,6 @@ SHA256 46499abfc93e30703937df62bbef32ae82b32b403e97858e875c00e1c2a06961 files/di MD5 62194ea163aabbf04e7e0416cb7b9bba files/digest-blender-2.43 518 RMD160 f5dfd89119d035707f277f3e58482b2551cd8ce9 files/digest-blender-2.43 518 SHA256 95b235ed7ffbc0b3009ebb9e62e2a6cbaa15f5d68203b0e2191109977ba0af07 files/digest-blender-2.43 518 +MD5 6c396c0a33cc117a93305b0b4e83b8a6 files/digest-blender-2.44 518 +RMD160 dc3921dc14772fff550c7f9028be18c246869fa3 files/digest-blender-2.44 518 +SHA256 f63571ef77b63219768ece3d9404c0f3f8e398f60965fdfb38f7af043806b337 files/digest-blender-2.44 518 diff --git a/media-gfx/blender/blender-2.44.ebuild b/media-gfx/blender/blender-2.44.ebuild new file mode 100644 index 000000000000..cd71d70499cb --- /dev/null +++ b/media-gfx/blender/blender-2.44.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/blender-2.44.ebuild,v 1.1 2007/05/17 06:58:54 lu_zero Exp $ + +inherit multilib flag-o-matic eutils python + +#IUSE="jpeg mozilla png sdl static truetype" +IUSE="blender-game ffmpeg jpeg nls openal openexr png sdl" +FFMPEG_SNAP="0.4.9-p20070330" +DESCRIPTION="3D Creation/Animation/Publishing System" +HOMEPAGE="http://www.blender.org/" +SRC_URI="http://download.blender.org/source/${P}.tar.gz + ffmpeg? ( mirror://gentoo/ffmpeg-${FFMPEG_SNAP}.tar.bz2 )" + +SLOT="0" +LICENSE="|| ( GPL-2 BL )" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=dev-libs/openssl-0.9.6 + ffmpeg? ( >=media-video/ffmpeg-${FFMPEG_SNAP/-/_} + >=media-libs/x264-svn-20061014 ) + jpeg? ( media-libs/jpeg ) + media-libs/tiff + >=dev-lang/python-2.4 + nls? ( >=media-libs/freetype-2.0 + virtual/libintl + >=media-libs/ftgl-2.1 ) + openal? ( media-libs/openal + media-libs/freealut ) + openexr? ( media-libs/openexr ) + png? ( media-libs/libpng ) + sdl? ( >=media-libs/libsdl-1.2 ) + virtual/opengl" + +DEPEND="dev-util/scons + || ( x11-libs/libXt virtual/x11 ) + ${RDEPEND}" + +blend_with() { + local UWORD="$2" + if [ -z "${UWORD}" ]; then + UWORD="$1" + fi + if useq $1; then + echo "WITH_BF_${UWORD}=1" | tr '[:lower:]' '[:upper:]' \ + >> ${S}/user-config.py + else + echo "WITH_BF_${UWORD}=0" | tr '[:lower:]' '[:upper:]' \ + >> ${S}/user-config.py + fi +} + +src_unpack() { + unpack ${A} + cd ${S}/release/plugins + chmod 755 bmake + rmdir include + cp -pPR ${S}/source/blender/blenpluginapi include + + cd ${S} + epatch ${FILESDIR}/blender-2.37-dirs.patch + + if use ffmpeg ; then + cd ${S}/extern + mv ffmpeg/Makefile ffmpeg/common.mak ${T} + unpack ffmpeg-${FFMPEG_SNAP}.tar.bz2 + mv ${T}/Makefile ${T}/common.mak ffmpeg + fi + # pass compiler flags to the scons build system + # and set python version to newest stable in portage + cat <<- EOF >> ${S}/user-config.py + CFLAGS += '${CFLAGS}' + BF_PYTHON_VERSION="2.4" + BF_PYTHON_INC="/usr/include/python2.4" + BF_PYTHON_BINARY="/usr/bin/python2.4" + BF_PYTHON_LIB="python2.4" + EOF + +} + +src_compile() { + for arg in 'openal' \ + 'openexr' \ + 'jpeg' \ + 'ffmpeg' \ + 'png' \ + 'nls international' \ + 'blender-game gameengine'; do + blend_with ${arg} + done + + # scons uses -l differently -> remove it + scons ${MAKEOPTS/-l[0-9]} -h > scons.config + scons ${MAKEOPTS/-l[0-9]} || die \ + "!!! Please add ${S}/scons.config when filing bugs reports to bugs.gentoo.org" + + cd ${S}/release/plugins + emake || die +} + +src_install() { + exeinto /usr/bin/ + doexe ${WORKDIR}/install/linux2/blender + + dodir /usr/share/${PN} + + exeinto /usr/$(get_libdir)/${PN}/textures + doexe ${S}/release/plugins/texture/*.so + exeinto /usr/$(get_libdir)/${PN}/sequences + doexe ${S}/release/plugins/sequence/*.so + insinto /usr/include/${PN} + doins ${S}/release/plugins/include/*.h + + if use nls ; then + mv ${WORKDIR}/install/linux2/.blender/{.Blanguages,.bfont.ttf} \ + ${D}/usr/share/${PN} + mv ${WORKDIR}/install/linux2/.blender/locale \ + ${D}/usr/share/locale + fi + + mv ${WORKDIR}/install/linux2/.blender/scripts ${D}/usr/share/${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 "${ROOT}/usr/$(get_libdir)/blender/plugins/include" ]; + then + rm -f ${ROOT}/usr/$(get_libdir)/blender/plugins/include + fi +} diff --git a/media-gfx/blender/files/digest-blender-2.44 b/media-gfx/blender/files/digest-blender-2.44 new file mode 100644 index 000000000000..bb9865d1e41c --- /dev/null +++ b/media-gfx/blender/files/digest-blender-2.44 @@ -0,0 +1,6 @@ +MD5 7ac841f6feb27e9d7fb6d77cf137be12 blender-2.44.tar.gz 14362667 +RMD160 65e96e03258263a7759bdff5a6d14fc65d13a816 blender-2.44.tar.gz 14362667 +SHA256 8fa5a46ea65d2a8b87fd1368d5984dfa0a41bdc3cfe24c776e069a4fe40102d1 blender-2.44.tar.gz 14362667 +MD5 eb4210984880af7f2c0043c4e3f1658e ffmpeg-0.4.9-p20070330.tar.bz2 2192476 +RMD160 e52bf6abbf7c630aa3e76243987fb7dd6d9b84a1 ffmpeg-0.4.9-p20070330.tar.bz2 2192476 +SHA256 58a7e7d909e02fda07856ea044ae0f5f9c174791f63a449f2f23f37a78b34f95 ffmpeg-0.4.9-p20070330.tar.bz2 2192476 |