diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2007-09-21 23:14:57 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2007-09-21 23:14:57 +0000 |
commit | 98a50133136a0c3b4006f1c50107dc7154188cf8 (patch) | |
tree | 987a2a1a2efb853e5b2f00d2401198732591fdb1 /media-gfx/blender | |
parent | Lower gnome-mag requirement (diff) | |
download | historical-98a50133136a0c3b4006f1c50107dc7154188cf8.tar.gz historical-98a50133136a0c3b4006f1c50107dc7154188cf8.tar.bz2 historical-98a50133136a0c3b4006f1c50107dc7154188cf8.zip |
New version see bug #193317
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'media-gfx/blender')
-rw-r--r-- | media-gfx/blender/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/blender/Manifest | 16 | ||||
-rw-r--r-- | media-gfx/blender/blender-2.45.ebuild | 136 | ||||
-rw-r--r-- | media-gfx/blender/files/digest-blender-2.45 | 3 |
4 files changed, 157 insertions, 5 deletions
diff --git a/media-gfx/blender/ChangeLog b/media-gfx/blender/ChangeLog index b24a02817851..283a60a2016b 100644 --- a/media-gfx/blender/ChangeLog +++ b/media-gfx/blender/ChangeLog @@ -1,6 +1,11 @@ # 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.122 2007/09/19 15:30:57 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.123 2007/09/21 23:14:57 lu_zero Exp $ + +*blender-2.45 (21 Sep 2007) + + 21 Sep 2007; Luca Barbato <lu_zero@gentoo.org> +blender-2.45.ebuild: + New version, as requested in bug #193317 19 Sep 2007; Luca Barbato <lu_zero@gentoo.org> blender-2.44-r1.ebuild: Update internal ffmpeg lib diff --git a/media-gfx/blender/Manifest b/media-gfx/blender/Manifest index b648c24b57f8..1d10d4a77ad5 100644 --- a/media-gfx/blender/Manifest +++ b/media-gfx/blender/Manifest @@ -23,6 +23,7 @@ DIST blender-2.42.tar.gz 12195054 RMD160 c3a1aa1080d122867f116dd05564c77d41d5519 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 blender-2.45.tar.gz 14226829 RMD160 fd39b59de0f4d770fe26ce39d51356e98b1ec8ea SHA1 ff66ec5f0129fd04a2ba5c063627ef13033c0598 SHA256 921f72a15d4076f62e52674337f5d3a90cd7a82675b12bb549ebe6cd5c9027ae 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 3515 RMD160 d7ec7d2df1a7efa00b19b2f0ee1a6cecb2daa10a SHA1 454a31a954273b13150f91cc0f59225c08c8f16a SHA256 41917e26381deffe9d9288621266329c1e81381525357f5a6c03abf57258b982 @@ -49,10 +50,14 @@ EBUILD blender-2.44.ebuild 3582 RMD160 297bd48e936e35a7af83a6de57db53f18bb54085 MD5 ffb617f48a9674342e64a2b36b0eaf9c blender-2.44.ebuild 3582 RMD160 297bd48e936e35a7af83a6de57db53f18bb54085 blender-2.44.ebuild 3582 SHA256 c5722206e6addd42d1fc9d39822068b994aef8099338e799e4753ff663ffdeb8 blender-2.44.ebuild 3582 -MISC ChangeLog 17389 RMD160 5431b024291ed3765257d54a7f181254f01d4438 SHA1 8064007fe981e254d2e610618e2a54b2dec10e1c SHA256 290f960127f629bdd1c17cc7334e44e66a343106c3e0427c5242785a1a8d13f6 -MD5 ba3e340e44b3043b033bae8896fb8656 ChangeLog 17389 -RMD160 5431b024291ed3765257d54a7f181254f01d4438 ChangeLog 17389 -SHA256 290f960127f629bdd1c17cc7334e44e66a343106c3e0427c5242785a1a8d13f6 ChangeLog 17389 +EBUILD blender-2.45.ebuild 3411 RMD160 ee616a366f1a1ab581ffc5f8f71957332dfbc7fe SHA1 c90a0b790124839742c5b2a5494b6acaba58fa01 SHA256 8e739560d2a95659240ac82508a3a62738bf9c00db932df458018dbd5a73a59f +MD5 1fedfa00939119cf90844daa80a3e685 blender-2.45.ebuild 3411 +RMD160 ee616a366f1a1ab581ffc5f8f71957332dfbc7fe blender-2.45.ebuild 3411 +SHA256 8e739560d2a95659240ac82508a3a62738bf9c00db932df458018dbd5a73a59f blender-2.45.ebuild 3411 +MISC ChangeLog 17533 RMD160 6a4cb9b7b408af0de5270697bdd0130946119133 SHA1 c7c7e74c056336d84a8a6a28c028e6a16f80db10 SHA256 0381f8deaa2ca5c56c8ebc35fae02d47aef8b82f14e1a0cbf42e4b2a55bb2335 +MD5 65fe35deda1f4797470fe1c503d9933a ChangeLog 17533 +RMD160 6a4cb9b7b408af0de5270697bdd0130946119133 ChangeLog 17533 +SHA256 0381f8deaa2ca5c56c8ebc35fae02d47aef8b82f14e1a0cbf42e4b2a55bb2335 ChangeLog 17533 MISC metadata.xml 492 RMD160 c477917476fbde6356586768276eda1ea31ae3ea SHA1 4a109fbded83a3f6c403ab5f3ec20e7113c1a26c SHA256 0ef00c095e68d12b312f8558b8909b4ae633717cf12932d7a4e479faf7fb9e18 MD5 cfcd6135fc23767decafee2a97f5ac0a metadata.xml 492 RMD160 c477917476fbde6356586768276eda1ea31ae3ea metadata.xml 492 @@ -75,3 +80,6 @@ SHA256 f63571ef77b63219768ece3d9404c0f3f8e398f60965fdfb38f7af043806b337 files/di MD5 8e893441e76c0815530faff58177b606 files/digest-blender-2.44-r1 244 RMD160 35d7d3aab977cb5d7e2240d466a52a06a37f6620 files/digest-blender-2.44-r1 244 SHA256 9b7ed65449bebb4afd9baf2db6cdb2c795c3cdab5822f70834f21cf464bde2dd files/digest-blender-2.44-r1 244 +MD5 dcd1f1ac928023dd992f2fc35dc3515d files/digest-blender-2.45 244 +RMD160 f05c95734e7d6c9475660b3c8625cc1905ea54a8 files/digest-blender-2.45 244 +SHA256 579d9868b6a87720184612f26bcae08140b78437da9433a19234c3cddfc95bb0 files/digest-blender-2.45 244 diff --git a/media-gfx/blender/blender-2.45.ebuild b/media-gfx/blender/blender-2.45.ebuild new file mode 100644 index 000000000000..159a7a7f5069 --- /dev/null +++ b/media-gfx/blender/blender-2.45.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.45.ebuild,v 1.1 2007/09/21 23:14:57 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 verse" +FFMPEG_SNAP="0.4.9-p20070616" +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=">=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 + ${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 + cp -pPR ${S}/source/blender/blenpluginapi include + + cd ${S} + epatch ${FILESDIR}/blender-2.37-dirs.patch + epatch ${FILESDIR}/blender-2.44-scriptsdir.patch + epatch ${FILESDIR}/blender-2.44-swscale.patch + + if use ffmpeg ; then + cd ${S}/extern + rm -rf ffmpeg + fi + # pass compiler flags to the scons build system + # and set python version to current version in use + python_version + cat <<- EOF >> ${S}/user-config.py + CFLAGS += '${CFLAGS}' + BF_PYTHON_VERSION="${PYVER}" + BF_PYTHON_INC="/usr/include/python${PYVER}" + BF_PYTHON_BINARY="/usr/bin/python${PYVER}" + BF_PYTHON_LIB="python${PYVER}" + EOF + +} + +src_compile() { + for arg in 'openal' \ + 'openexr' \ + 'jpeg' \ + 'ffmpeg' \ + 'png' \ + 'verse' \ + '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.45 b/media-gfx/blender/files/digest-blender-2.45 new file mode 100644 index 000000000000..7ab8c5ecd5ad --- /dev/null +++ b/media-gfx/blender/files/digest-blender-2.45 @@ -0,0 +1,3 @@ +MD5 1358ca481b7f2b8eadd3327ebbd563ef blender-2.45.tar.gz 14226829 +RMD160 fd39b59de0f4d770fe26ce39d51356e98b1ec8ea blender-2.45.tar.gz 14226829 +SHA256 921f72a15d4076f62e52674337f5d3a90cd7a82675b12bb549ebe6cd5c9027ae blender-2.45.tar.gz 14226829 |