summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2008-04-27 12:24:08 +0000
committerMarkus Meier <maekke@gentoo.org>2008-04-27 12:24:08 +0000
commita477087f5e1f876cb555c0aff7ed0005fb410c7b (patch)
tree378e24f8be0f5988073f3decfc584ba23207b5cb /media-gfx
parentrevision bumps for security bug #219008 (diff)
downloadgentoo-2-a477087f5e1f876cb555c0aff7ed0005fb410c7b.tar.gz
gentoo-2-a477087f5e1f876cb555c0aff7ed0005fb410c7b.tar.bz2
gentoo-2-a477087f5e1f876cb555c0aff7ed0005fb410c7b.zip
old
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/blender/ChangeLog6
-rw-r--r--media-gfx/blender/blender-2.45-r1.ebuild136
-rw-r--r--media-gfx/blender/blender-2.45.ebuild137
3 files changed, 5 insertions, 274 deletions
diff --git a/media-gfx/blender/ChangeLog b/media-gfx/blender/ChangeLog
index 28350aa4adb4..40bb5205d558 100644
--- a/media-gfx/blender/ChangeLog
+++ b/media-gfx/blender/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/blender
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.133 2008/04/27 12:19:52 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/ChangeLog,v 1.134 2008/04/27 12:24:08 maekke Exp $
+
+ 27 Apr 2008; Markus Meier <maekke@gentoo.org> -blender-2.45.ebuild,
+ -blender-2.45-r1.ebuild:
+ old
*blender-2.45-r3 (27 Apr 2008)
*blender-2.45-r2 (27 Apr 2008)
diff --git a/media-gfx/blender/blender-2.45-r1.ebuild b/media-gfx/blender/blender-2.45-r1.ebuild
deleted file mode 100644
index 03ef8306e016..000000000000
--- a/media-gfx/blender/blender-2.45-r1.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/blender/blender-2.45-r1.ebuild,v 1.2 2008/04/12 10:22:13 dev-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 verse"
-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-0.4.9_p20080326 )
- 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 )
- >=media-libs/libsdl-1.2
- virtual/opengl"
-
-DEPEND="dev-util/scons
- x11-libs/libXt
- x11-proto/inputproto
- ${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
- epatch "${FILESDIR}"/${P}-missing_includes.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 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/blender-2.45.ebuild b/media-gfx/blender/blender-2.45.ebuild
deleted file mode 100644
index e16addb25e19..000000000000
--- a/media-gfx/blender/blender-2.45.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2008 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.6 2008/04/12 10:22:13 dev-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 verse"
-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-0.4.9_p20070616-r1
- media-libs/x264 )
- 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 )
- >=media-libs/libsdl-1.2
- virtual/opengl"
-
-DEPEND="dev-util/scons
- x11-libs/libXt
- x11-proto/inputproto
- ${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
- epatch "${FILESDIR}"/${P}-missing_includes.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 INSTALL README
-}
-
-pkg_preinst(){
- if [ -h "${ROOT}/usr/$(get_libdir)/blender/plugins/include" ];
- then
- rm -f "${ROOT}"/usr/$(get_libdir)/blender/plugins/include
- fi
-}