# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # By Dell'aiera Pol id jabber: [pol]@jabber.org ECVS_SERVER="cvs.blender.org:/cvsroot/bf-blender" ECVS_MODULE="blender" inherit cvs USE="sdl jpeg png mozilla truetype static python" S=${WORKDIR}/${ECVS_MODULE} DESCRIPTION="The Blender-bf from cvs ! (This is not tuhopuu)" HOMEPAGE="http://blender.org/" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" DEPEND=" virtual/x11 sdl? ( media-libs/libsdl ) jpeg? ( media-libs/jpeg ) png? ( media-libs/libpng ) mozilla? ( net-www/mozilla ) truetype? ( >=freetype-2.0 ) python? ( dev-lang/python ) >=media-libs/openal-20020127 >=media-libs/libsdl-1.2 >=media-libs/libvorbis-1.0 >=dev-libs/openssl-0.9.6 " RDEPEND=${DEPEND} src_compile() { ./bootstrap local myconf="" # Jpeg support use jpeg && myconf="${myconf} --with-libjpeg=/usr" # PNG Support use png && myconf="${myconf} --with-libpng=/usr" # TrueType support (For text objects) use truetype && myconf="${myconf} --with-freetype2=/usr" # Build Staticly use static && myconf="${myconf} --enable-blenderstatic" econf ${myconf} || die emake || die } src_install() { einstall || die exeinto /usr/lib/${PN}/textures doexe ${S}/release/plugins/texture/*.so exeinto /usr/lib/${PN}/sequences doexe ${S}/release/plugins/sequence/*.so insinto /usr/share/pixmaps doins ${FILESDIR}/${PN}.png insinto /usr/share/applications doins ${FILESDIR}/${PN}.desktop dodoc COPYING INSTALL README release_2* }