summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2007-01-30 13:18:31 +0000
committerLuca Barbato <lu_zero@gentoo.org>2007-01-30 13:18:31 +0000
commitf459aff2e62096009074aeaea82352f6f25654c9 (patch)
treebd704a86c7146684e223f7b39c1d281eb0351935 /media-gfx/blender
parentVersion bump with minor ebuild cleanup. (diff)
downloadgentoo-2-f459aff2e62096009074aeaea82352f6f25654c9.tar.gz
gentoo-2-f459aff2e62096009074aeaea82352f6f25654c9.tar.bz2
gentoo-2-f459aff2e62096009074aeaea82352f6f25654c9.zip
Cleanup and minor fix to prevent upgrade/downgrade
(Portage version: 2.1.2-r5)
Diffstat (limited to 'media-gfx/blender')
-rw-r--r--media-gfx/blender/ChangeLog6
-rw-r--r--media-gfx/blender/blender-2.42a-r1.ebuild4
-rw-r--r--media-gfx/blender/blender-2.42a.ebuild127
-rw-r--r--media-gfx/blender/files/digest-blender-2.42a3
4 files changed, 7 insertions, 133 deletions
diff --git a/media-gfx/blender/ChangeLog b/media-gfx/blender/ChangeLog
index afa3c265376a..7c574b8beaaa 100644
--- a/media-gfx/blender/ChangeLog
+++ b/media-gfx/blender/ChangeLog
@@ -1,6 +1,10 @@
# 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.105 2007/01/04 18:52:13 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.106 2007/01/30 13:18:31 lu_zero Exp $
+
+ 30 Jan 2007; Luca Barbato <lu_zero@gentoo.org> -blender-2.42a.ebuild,
+ blender-2.42a-r1.ebuild:
+ Cleanup and minor fix to prevent upgrade/downgrade
04 Jan 2007; Christian Faulhammer <opfer@gentoo.org>
blender-2.42a-r1.ebuild:
diff --git a/media-gfx/blender/blender-2.42a-r1.ebuild b/media-gfx/blender/blender-2.42a-r1.ebuild
index cf3a1ec26dbc..7dd9fec74376 100644
--- a/media-gfx/blender/blender-2.42a-r1.ebuild
+++ b/media-gfx/blender/blender-2.42a-r1.ebuild
@@ -1,6 +1,6 @@
# 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.42a-r1.ebuild,v 1.7 2007/01/04 18:52:13 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/blender-2.42a-r1.ebuild,v 1.8 2007/01/30 13:18:31 lu_zero Exp $
inherit multilib flag-o-matic eutils python
@@ -28,7 +28,7 @@ RDEPEND="
openal? ( media-libs/openal
media-libs/freealut )
>=media-libs/libsdl-1.2
- ffmpeg? ( ~media-video/ffmpeg-${FFMPEG_SNAP/-/_}
+ ffmpeg? ( >=media-video/ffmpeg-${FFMPEG_SNAP/-/_}
~media-libs/x264-svn-20061014 )
>=dev-libs/openssl-0.9.6
>=media-gfx/yafray-0.0.7
diff --git a/media-gfx/blender/blender-2.42a.ebuild b/media-gfx/blender/blender-2.42a.ebuild
deleted file mode 100644
index 9847ab8d3d71..000000000000
--- a/media-gfx/blender/blender-2.42a.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# 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.8 2006/12/21 23:08:30 gustavoz 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="~alpha ~amd64 ~ppc ~ppc64 ~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
- media-libs/freealut )
- sdl? ( >=media-libs/libsdl-1.2 )
- ffmpeg? ( ~media-video/ffmpeg-0.4.9_p20060530 )
- ~media-libs/x264-svn-20060612
- >=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
- || ( 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 || die
-
-# 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/{.Blanguages,.bfont.ttf,locale}\
- ${D}/usr/share/${PN}
- cp -pPR ${WORKDIR}/install/linux2/.blender/scripts ${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
deleted file mode 100644
index 91e8fe1cdeee..000000000000
--- a/media-gfx/blender/files/digest-blender-2.42a
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 3d60b7ebe0dea47da12744fe2462d96c blender-2.42a.tar.gz 12295244
-RMD160 3178191ec9565c92f0b381fef2ad69c88873aadb blender-2.42a.tar.gz 12295244
-SHA256 f046a66abe2e9a93a17ef1538f43642d2b6a6e48b55b804899fea59279dacd52 blender-2.42a.tar.gz 12295244