From a43b1bb0452404f13b6e3c20005383ed2f734794 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sun, 6 Aug 2006 00:48:09 +0000 Subject: [PATCH] New version Package-Manager: portage-2.1.1_pre4-r1 --- media-gfx/blender/ChangeLog | 7 +- media-gfx/blender/Manifest | 16 ++- media-gfx/blender/blender-2.42a.ebuild | 125 +++++++++++++++++++ media-gfx/blender/files/digest-blender-2.42a | 3 + 4 files changed, 146 insertions(+), 5 deletions(-) create mode 100644 media-gfx/blender/blender-2.42a.ebuild create mode 100644 media-gfx/blender/files/digest-blender-2.42a diff --git a/media-gfx/blender/ChangeLog b/media-gfx/blender/ChangeLog index e6c29afbc142..d5a59aab1a9a 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.90 2006/07/20 12:33:52 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.91 2006/08/06 00:48:09 lu_zero Exp $ + +*blender-2.42a (06 Aug 2006) + + 06 Aug 2006; Luca Barbato +blender-2.42a.ebuild: + New version 20 Jul 2006; Luca Barbato blender-2.42.ebuild: Saner paths, plugins path not yet sane diff --git a/media-gfx/blender/Manifest b/media-gfx/blender/Manifest index 98d756b77493..80aec86fa7f7 100644 --- a/media-gfx/blender/Manifest +++ b/media-gfx/blender/Manifest @@ -13,6 +13,7 @@ SHA256 bef633319c81323bb82db274004d89082ca05cab6650eb4c4bf43f830ccb5cad files/bl DIST blender-2.41.tar.gz 9464385 RMD160 7857eac2acda18ee24db4bb147bcf780025e2c12 SHA1 839dfece3b6efbf10694ac535d88e3745c3253ec SHA256 743a78648773619d3153a16c0a5b67f960b2fec026bcb75d0175e52e8e8aadd1 DIST blender-2.42.tar.gz 12195054 RMD160 c3a1aa1080d122867f116dd05564c77d41d55194 SHA1 a8fa45b0f032d992b20762bada931da18b716368 SHA256 c0f5f0c3d9cfbf661bba153ebbcafed21bc34524c02096050626194c9345af93 DIST blender-2.42_pre20060703.tar.bz2 10334584 RMD160 14167584240e553f9d546071b280394766add8c5 SHA1 5397175758b2b2662f4b77b77890199cddb9bf39 SHA256 90a5e714626b4bf9052a432bde591cb1af2a24f130c782f4ff48f479fdeb449f +DIST blender-2.42a.tar.gz 12295244 RMD160 3178191ec9565c92f0b381fef2ad69c88873aadb SHA1 242dd751a0cc851c7436eafa73475a11be1aa453 SHA256 f046a66abe2e9a93a17ef1538f43642d2b6a6e48b55b804899fea59279dacd52 EBUILD blender-2.41-r1.ebuild 3539 RMD160 9bbabd06c1d5461945f90ca580a41be8e243e684 SHA1 a1717e8e682fbf6ce997b67ab37d112420743a45 SHA256 4fe029f47f89bc7716f2d2272f230587dceac0aeecf066087ced66cfdf2fe082 MD5 d51dd3ceeaf51feaffe20c524f0b65a5 blender-2.41-r1.ebuild 3539 RMD160 9bbabd06c1d5461945f90ca580a41be8e243e684 blender-2.41-r1.ebuild 3539 @@ -29,10 +30,14 @@ EBUILD blender-2.42_pre20060703.ebuild 3110 RMD160 b3c9bd3eb21e5dd3052e0cbd706d7 MD5 bb6f28102c019b01adc9fc8cb4a28c5d blender-2.42_pre20060703.ebuild 3110 RMD160 b3c9bd3eb21e5dd3052e0cbd706d7efd0e841111 blender-2.42_pre20060703.ebuild 3110 SHA256 ea10db41a3978a10c75513b2ccbe9cdda1c8fb5541ae80b48ca7cbec06d4c487 blender-2.42_pre20060703.ebuild 3110 -MISC ChangeLog 12887 RMD160 0be2ec33d9df3c6e88cdd3383f425e77f8e15f2a SHA1 8fcbd56a5824f086676363994f7ab006b38a9909 SHA256 02a2063eadd85523e6b09c5cd24165956d5d5eb4ae33f7dd1be99d6f3df6b77f -MD5 5e66bbc9ee768e97ad9272ebbc946b0f ChangeLog 12887 -RMD160 0be2ec33d9df3c6e88cdd3383f425e77f8e15f2a ChangeLog 12887 -SHA256 02a2063eadd85523e6b09c5cd24165956d5d5eb4ae33f7dd1be99d6f3df6b77f ChangeLog 12887 +EBUILD blender-2.42a.ebuild 3111 RMD160 d5048baaa2013546a9d0f9568f99a1278944bef0 SHA1 8f44ad6f9301ddaa50de190eba5a59532c98e723 SHA256 481554a1fda1243b25a805820dd524d3a551d2067e28954eedc1e36ad22f1beb +MD5 89dcb1ef5a006478257295006c896912 blender-2.42a.ebuild 3111 +RMD160 d5048baaa2013546a9d0f9568f99a1278944bef0 blender-2.42a.ebuild 3111 +SHA256 481554a1fda1243b25a805820dd524d3a551d2067e28954eedc1e36ad22f1beb blender-2.42a.ebuild 3111 +MISC ChangeLog 13004 RMD160 c70730ba5cf5c8f99d3f03020870d0ed6f918286 SHA1 48a58788c9bbb5bd66fe6160aabbe65c42e97d28 SHA256 8f2d3bc115e808b45ff279e5264046e36e0c16232cd4ee0f66c3c6b2a7f16279 +MD5 587d7179dc572e3dad46ee0e3b61d85a ChangeLog 13004 +RMD160 c70730ba5cf5c8f99d3f03020870d0ed6f918286 ChangeLog 13004 +SHA256 8f2d3bc115e808b45ff279e5264046e36e0c16232cd4ee0f66c3c6b2a7f16279 ChangeLog 13004 MISC metadata.xml 587 RMD160 925b5c3bcf2d4f21fc82f760aad723541088bca4 SHA1 9060e32f277a506f2bbdfb7b0a9ed89ae13612b7 SHA256 4a2974916837cada500d7a764a285fa29a0471b242dff4717d60c4a7113dd45e MD5 493f38fb63d60a1ce275fdd2ea43d6e9 metadata.xml 587 RMD160 925b5c3bcf2d4f21fc82f760aad723541088bca4 metadata.xml 587 @@ -49,3 +54,6 @@ SHA256 81385a4f674d43c047eeadd3b65956475dffab2e10c1f820db2076c32a712374 files/di MD5 1ad4b29cbef2b7da4f817ba996f11036 files/digest-blender-2.42_pre20060703 283 RMD160 f7461777932578c29a27a4a708b9e16a691c5051 files/digest-blender-2.42_pre20060703 283 SHA256 bfbb23ce3d2ebffec1b08e78952bdc30ed723aebb8520f1d41c6577429c47dc0 files/digest-blender-2.42_pre20060703 283 +MD5 f54a3a7abac166235de1a9d8a0c4674d files/digest-blender-2.42a 247 +RMD160 23d052a2086d9f6f17a9c1224b6c68782da66cc2 files/digest-blender-2.42a 247 +SHA256 cac4e18c76afbd32b8de6a3d17e23f5d834f87cf8ab122e7a93c90b71ea4406b files/digest-blender-2.42a 247 diff --git a/media-gfx/blender/blender-2.42a.ebuild b/media-gfx/blender/blender-2.42a.ebuild new file mode 100644 index 000000000000..898bd21080b9 --- /dev/null +++ b/media-gfx/blender/blender-2.42a.ebuild @@ -0,0 +1,125 @@ +# 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.42a.ebuild,v 1.1 2006/08/06 00:48:09 lu_zero Exp $ + +inherit multilib flag-o-matic eutils python + +#IUSE="sdl jpeg png mozilla truetype static fmod" +IUSE="openal sdl openexr jpeg png nls iconv blender-game ffmpeg" + +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=" + jpeg? ( media-libs/jpeg ) + png? ( media-libs/libpng ) + media-libs/tiff + nls? ( >=media-libs/freetype-2.0 + virtual/libintl ) + iconv? ( virtual/libiconv ) + openal? ( ~media-libs/openal-0.0.8 + media-libs/freealut ) + sdl? ( >=media-libs/libsdl-1.2 ) + ffmpeg? ( media-video/ffmpeg ) + >=dev-libs/openssl-0.9.6 + >=media-gfx/yafray-0.0.7 + nls? ( >=media-libs/ftgl-2.1 ) + openexr? ( media-libs/openexr ) + virtual/opengl" + +DEPEND="=dev-util/scons-0.96.1 + || ( 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:]' + else + echo "WITH_BF_${UWORD}=0" | tr '[:lower:]' '[:upper:]' + fi + +return 0 +} + +src_unpack() { + unpack ${A} + mkdir -p ${WORKDIR}/install/linux2/plugins/ +# chmod 755 bmake +# rm -fR include + cd ${WORKDIR}/install/linux2/plugins/ + 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="" + + myconf="${myconf} $(blend_with openal)" + myconf="${myconf} $(blend_with sdl)" + myconf="${myconf} $(blend_with openexr)" + myconf="${myconf} $(blend_with jpeg)" + myconf="${myconf} $(blend_with ffmpeg)" + myconf="${myconf} $(blend_with png)" + myconf="${myconf} $(blend_with nls international)" + myconf="${myconf} $(blend_with iconv)" + myconf="${myconf} $(blend_with blender-game gameengine)" + + scons ${MAKEOPTS} ${myconf} \ + WITH_BF_PLAYER=0 + +# sed -i -e "s/-O2/${CFLAGS// /\' ,\'}/g" ${S}/SConstruct +# scons ${MAKEOPTS} || die + cd ${WORKDIR}/install/linux2/plugins/ + chmod 755 bmake + emake || die + +} + +src_install() { + exeinto /usr/bin/ + doexe ${WORKDIR}/install/linux2/blender + + dodir /usr/share/${PN} + + exeinto /usr/$(get_libdir)/${PN}/textures + doexe ${WORKDIR}/install/linux2/plugins/texture/*.so + exeinto /usr/$(get_libdir)/${PN}/sequences + doexe ${WORKDIR}/install/linux2/plugins/sequence/*.so + insinto /usr/include/blender/ + doins ${WORKDIR}/install/linux2/plugins/include/*.h + use nls && \ + cp -pPR ${WORKDIR}/install/linux2/.blender/* \ + ${D}/usr/share/${PN} + + mv ${D}/usr/share/${PN}/locale ${D}/usr/share + + 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 +} diff --git a/media-gfx/blender/files/digest-blender-2.42a b/media-gfx/blender/files/digest-blender-2.42a new file mode 100644 index 000000000000..91e8fe1cdeee --- /dev/null +++ b/media-gfx/blender/files/digest-blender-2.42a @@ -0,0 +1,3 @@ +MD5 3d60b7ebe0dea47da12744fe2462d96c blender-2.42a.tar.gz 12295244 +RMD160 3178191ec9565c92f0b381fef2ad69c88873aadb blender-2.42a.tar.gz 12295244 +SHA256 f046a66abe2e9a93a17ef1538f43642d2b6a6e48b55b804899fea59279dacd52 blender-2.42a.tar.gz 12295244 -- 2.26.2