ChangeLog

# 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.143 2008/06/25 21:09:08 maekke Exp $

25 Jun 2008; Markus Meier blender-2.43-r2.ebuild:
does not build with python-2.5, so DEPEND on 2.4, bug #225109

24 May 2008; Luca Barbato
+files/blender-2.46-cve-2008-1103-1.patch, blender-2.46.ebuild,
blender-2.46-r1.ebuild:
Update security patches

*blender-2.46-r1 (22 May 2008)
*blender-2.46 (22 May 2008)

22 May 2008; Luca Barbato
+files/blender-2.46-ffmpeg.patch, +blender-2.46.ebuild,
+blender-2.46-r1.ebuild:
New Version

11 May 2008; Markus Meier -blender-2.43.ebuild:
old

11 May 2008; Tobias Scherbaum
blender-2.43-r2.ebuild:
ppc stable, bug #219008

09 May 2008; Markus Rothe blender-2.43-r2.ebuild:
Stable on ppc64; bug #219008

08 May 2008; Christian Faulhammer
blender-2.43-r2.ebuild:
stable x86, security bug 219008

*blender-2.45-r4 (07 May 2008)
*blender-2.43-r2 (07 May 2008)

07 May 2008; Markus Meier
+files/blender-2.45-cve-2008-1103-1.patch,
+files/blender-2.45-cve-2008-1103-2.patch, -blender-2.43-r1.ebuild,
+blender-2.43-r2.ebuild, -blender-2.45-r2.ebuild, blender-2.45-r3.ebuild,
+blender-2.45-r4.ebuild:
security bump, add CVE-2008-1103 patches from fedora, security bug #219008

01 May 2008; Markus Meier blender-2.45-r3.ebuild:
apply ffmpeg patch, bug #219935

27 Apr 2008; Markus Meier -blender-2.45.ebuild,
-blender-2.45-r1.ebuild:
old

*blender-2.45-r3 (27 Apr 2008)
*blender-2.45-r2 (27 Apr 2008)
*blender-2.43-r1 (27 Apr 2008)

27 Apr 2008; Markus Meier
+files/blender-2.45-cve-2008-1102.patch, +blender-2.43-r1.ebuild,
+blender-2.45-r2.ebuild, +blender-2.45-r3.ebuild:
revision bumps for security bug #219008

12 Apr 2008; Tiziano Müller
+files/blender-2.45-missing_includes.patch, blender-2.45.ebuild,
blender-2.45-r1.ebuild:
Added patch to make blender compile with gcc-4.3 (adds missing #includes)

07 Apr 2008; Ben de Groot blender-2.43.ebuild,
blender-2.45.ebuild:
Pkgmove x264-svn to x264

*blender-2.45-r1 (26 Mar 2008)

26 Mar 2008; Luca Barbato
+files/blender-2.45-ffmpeg.patch, +blender-2.45-r1.ebuild:
Support ffmpeg new header layout

21 Jan 2008; Markus Meier -blender-2.41-r1.ebuild,
-blender-2.42.ebuild, -blender-2.42a-r1.ebuild, -blender-2.44.ebuild,
-blender-2.44-r1.ebuild:
old

15 Jan 2008; Markus Meier files/blender.desktop:
fix .desktop entry

15 Jan 2008; Markus Meier blender-2.43.ebuild,
blender-2.45.ebuild:
add x11-proto/inputproto dep (bug #205853) and quotes

15 Jan 2008; Markus Meier blender-2.43.ebuild,
blender-2.45.ebuild:
add x11-proto/inputproto dep, bug #205853

10 Jan 2008; Luca Barbato blender-2.43.ebuild,
blender-2.44-r1.ebuild, blender-2.45.ebuild:
SDL not an optional anymore, thanks to tomciaaa for
reporting it in bug #203746

17 Nov 2007; Luca Barbato
files/blender-2.44-swscale.patch:
Fix texture import from ffmpeg, thanks again to Maciej Pawlik
for fixing the patch in bug #199448

17 Nov 2007; Luca Barbato blender-2.45.ebuild:
Fix deps, thanks to Maciej Pawlik for spotting the issue in
bug #199440

*blender-2.45 (21 Sep 2007)

21 Sep 2007; Luca Barbato +blender-2.45.ebuild:
New version, as requested in bug #193317

19 Sep 2007; Luca Barbato blender-2.44-r1.ebuild:
Update internal ffmpeg lib

*blender-2.44-r1 (19 Sep 2007)

19 Sep 2007; Luca Barbato
files/blender-2.44-swscale.patch, +blender-2.44-r1.ebuild:
Patch update and ebuild fixes by Martin Capitanio

30 Aug 2007; Bernard Cafarelli blender-2.44.ebuild:
Compilation fix for python versions other than 2.4, closes bug #152700

07 Aug 2007; Luca Barbato
+files/blender-2.44-swscale.patch, blender-2.44.ebuild:
make blender use swscale

22 Jul 2007; Donnie Berkholz ;
blender-2.41-r1.ebuild, blender-2.42.ebuild, blender-2.42a-r1.ebuild,
blender-2.43.ebuild, blender-2.44.ebuild:
Drop virtual/x11 references.

15 Jul 2007; Luca Barbato blender-2.44.ebuild:
Add verse support as requested in bug #173124

15 Jul 2007; Luca Barbato
+files/blender-2.44-scriptsdir.patch, blender-2.44.ebuild:
make scriptsdir behaviour a little different

*blender-2.44 (17 May 2007)

17 May 2007; Luca Barbato +blender-2.44.ebuild:
New ebuild contributed by Cornelius Weig
, Daniel Genrich
and mattepiu

17 Apr 2007; Tobias Scherbaum blender-2.43.ebuild:
ppc stable, bug #168907

16 Apr 2007; Gustavo Zacarias blender-2.43.ebuild:
Again ~sparc

15 Apr 2007; Markus Rothe blender-2.43.ebuild:
Stable on ppc64; bug #168907

13 Apr 2007; Peter Weller blender-2.41-r1.ebuild,
blender-2.42a-r1.ebuild, blender-2.43.ebuild:
Keywording all versions of blender ~amd64 due to security issues and bug 174345

12 Apr 2007; Raúl Porcel blender-2.43.ebuild:
x86 stable wrt security bug 168907

12 Apr 2007; Peter Weller blender-2.43.ebuild:
Stable on amd64 wrt bug 168907

25 Mar 2007; Alexis Ballier blender-2.42a-r1.ebuild:
Adjust x264-svn deps to fit with the new snapshot

07 Feb 2007; Simon Stelling blender-2.42a-r1.ebuild:
stable on amd64; bug 157814

30 Jan 2007; Luca Barbato -blender-2.42a.ebuild,
blender-2.42a-r1.ebuild:
Cleanup and minor fix to prevent upgrade/downgrade

04 Jan 2007; Christian Faulhammer
blender-2.42a-r1.ebuild:
stable x86, bug #157814

23 Dec 2006; Tobias Scherbaum
blender-2.42a-r1.ebuild:
Stable on ppc wrt bug #157814.

21 Dec 2006; Gustavo Zacarias blender-2.42a.ebuild,
blender-2.42a-r1.ebuild:
Keyworded ~sparc

21 Dec 2006; Markus Rothe blender-2.42a-r1.ebuild:
Stable on ppc64; bug #157814

07 Dec 2006; Luca Barbato blender-2.42a-r1.ebuild:
sdl it is always need now

06 Dec 2006; Chris Gianelloni
blender-2.41-r1.ebuild, blender-2.42.ebuild, blender-2.42a.ebuild,
blender-2.42a-r1.ebuild:
Removing specific version of openal since the older CVS snapshot versions
have been removed from the tree for some time now.

06 Dec 2006; Chris Gianelloni -blender-2.41.ebuild:
Removing 2.41 ebuild as it didn't work with openal 0.0.8 and the old CVS
snapshots have been removed from the tree for some time.

*blender-2.42a-r1 (11 Nov 2006)

11 Nov 2006; Luca Barbato blender-2.42a.ebuild,
+blender-2.42a-r1.ebuild:
Updated internal ffmpeg due x264 update, the next release won't need such
hacks

23 Oct 2006; Luca Barbato blender-2.42a.ebuild:
Always install scripts, fixes bug #150279

08 Sep 2006; Thomas Cort blender-2.42a.ebuild:
Added ~alpha keyword wrt Bug #96567.

16 Aug 2006; Simon Stelling blender-2.41-r1.ebuild:
stable on amd64

12 Aug 2006; Luca Barbato blender-2.42a.ebuild:
Dep pinned with ~, thanks to Jackub for making me reconsider

12 Aug 2006; Luca Barbato blender-2.42a.ebuild:
x264 silent dep of ffmpeg added (blender has an internal copy)

12 Aug 2006; Luca Barbato
-blender-2.42_pre20060703.ebuild:
Cleanup

*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

17 Jul 2006; Luca Barbato blender-2.42.ebuild:
missing dep

17 Jul 2006; Luca Barbato blender-2.42.ebuild:
ffmpeg useflag is back

16 Jul 2006; Luca Barbato blender-2.42.ebuild:
Minor fixes

*blender-2.42 (15 Jul 2006)

15 Jul 2006; Luca Barbato +blender-2.42.ebuild:
New version

*blender-2.42_pre20060703 (03 Jul 2006)

03 Jul 2006; Luca Barbato blender-2.41.ebuild,
+blender-2.42_pre20060703.ebuild:
pre ebuild, just to test and some fixes on the blender-2.41 ebuild

*blender-2.41 (03 Jul 2006)

03 Jul 2006; Luca Barbato +blender-2.41.ebuild:
Cleanup ahead of time, restored blender-2.41

02 Jul 2006; Luca Barbato -blender-2.40.ebuild,
-blender-2.41.ebuild:
Cleanup

30 Jun 2006; Chris Gianelloni blender-2.41.ebuild,
blender-2.41-r1.ebuild:
Stable on amd64 and x86 wrt bug #136784.

30 Jun 2006; Luca Barbato blender-2.41-r1.ebuild:
Marked ppc

30 Jun 2006; Luca Barbato -files/blender-2.32.patch,
-files/blender-2.36-dirs.patch, -files/blender-2.37a-dirs.patch,
-files/blender-2.37a-gcc-4.0.patch, -files/blender-2.37a-x86_64.patch,
-files/configure-fix.patch, -blender-2.36-r1.ebuild,
blender-2.41-r1.ebuild:
Cleanup

18 Jun 2006; Markus Rothe blender-2.41-r1.ebuild:
Stable on ppc64; bug #136784

*blender-2.41-r1 (16 May 2006)

16 May 2006; Chris Gianelloni
+blender-2.41-r1.ebuild:
Added new revision of blender to support the split openal/freealut ebuilds.

07 May 2006; Markus Rothe blender-2.40.ebuild:
Stable on ppc64

27 Jan 2006; Karol Pasternak blender-2.41.ebuild:
adding missing keywords

*blende-2.41 (27 Jan 2006)

27 Jan 2006; Karol Pasternak +blende-2.41.ebuild:
New version

10 Jan 2006; Simon Stelling blender-2.40.ebuild:
stable on amd64 wrt bug 118163

07 Jan 2006; Mark Loeser blender-2.40.ebuild:
Stable on x86; bug #118163

07 Jan 2006; Luca Barbato -blender-2.34.ebuild,
-blender-2.34-r1.ebuild, -blender-2.35.ebuild, -blender-2.36.ebuild,
blender-2.36-r1.ebuild, -blender-2.37.ebuild, -blender-2.37a.ebuild,
blender-2.40.ebuild:
Cleanup part I

07 Jan 2006; Luca Barbato blender-2.40.ebuild:
Marked ppc, see bug 118163

28 Dec 2005; Luca Barbato blender-2.40.ebuild:
Workaround for missing tiff header, as pointed by Maciej Pawlik
in bug #116907

27 Dec 2005; Markus Rothe blender-2.40.ebuild:
Added ~ppc64

*blender-2.40 (24 Dec 2005)

24 Dec 2005; Luca Barbato +blender-2.40.ebuild:
New version

15 Dec 2005; Donnie Berkholz ; blender-2.37a.ebuild:
Add modular X dependencies.

10 Dec 2005; Tom Gall blender-2.37.ebuild:
added ~ppc64

02 Nov 2005; Jory A. Pratt
+files/blender-2.37a-x86_64.patch:
patch added wrt bug #111237

31 Oct 2005; Simon Stelling
+files/blender-2.37a-gcc-4.0.patch, blender-2.37a.ebuild:
adding patch to make blender work with gcc 4.0

23 Aug 2005; Luca Barbato blender-2.37a.ebuild:
BSD support

02 Aug 2005; Luca Barbato blender-2.37a.ebuild:
Make sure blender can build, the newer scons are problematic

*blender-2.37a (17 Jun 2005)

17 Jun 2005; Luca Barbato
+files/blender-2.37a-dirs.patch, +blender-2.37a.ebuild:
New version

16 Jun 2005; Luca Barbato blender-2.37.ebuild:
Minor change, as requested in bug #96105

14 Jun 2005; Ferris McCormick blender-2.37.ebuild:
Add ~sparc keyword. Blender builds on sparc without incident, and
appears to run. In the past, there have been endian problems with
blender and loading .blend files, and I have not tested this. I
built blender in response to a (non-sparc) user question regarding
the necessity of emerging mesa as a separate package in order to
build blender. (1) You don't have to; (2) blender does build and
run on sparc, and it's a nice program. Hence, the ~sparc.

12 Jun 2005; Marcus D. Hanwell blender-2.36-r1.ebuild:
Stable on amd64.

03 Jun 2005; Luca Barbato metadata.xml:
Metadata fix

02 Jun 2005; Luca Barbato blender-2.37.ebuild:
Missing cvs header

*blender-2.37 (01 Jun 2005)

01 Jun 2005; Luca Barbato
+files/blender-2.37-dirs.patch, +blender-2.37.ebuild:
New version and some cleanups

26 Apr 2005; Luca Barbato blender-2.36-r1.ebuild:
inheriting python eclass

07 Apr 2005; Marcus D. Hanwell blender-2.36-r1.ebuild:
Added ~amd64 back into KEYWORDS.

28 Feb 2005; Luca Barbato blender-2.36-r1.ebuild:
Marked ppc

28 Feb 2005; Luca Barbato blender-2.36-r1.ebuild:
Marked x86

22 Jan 2005; Michael Sterrett blender-2.36-r1.ebuild:
fix use invocation

04 Jan 2005; Luca Barbato blender-2.36-r1.ebuild:
Minor fix

*blender-2.36-r1 (03 Jan 2005)

03 Jan 2005; Luca Barbato +blender-2.36-r1.ebuild,
+files/blender-2.36-dirs.patch:
Make it use saner paths, added back plugins, scripts and internationalization

03 Jan 2005; Luca Barbato -files/blender-2.12,
-files/blender-2.31a-plugins.patch, -blender-2.33a.ebuild.
-files/configure-fix-2.30.patch, -files/configure-fix-2.31.patch,
-files/configure-fix-2.31a.patch, -blender-2.30.ebuild,
-blender-2.31.ebuild, -blender-2.31a.ebuild, -blender-2.32.ebuild:
Cleanups

*blender-2.36 (25 Dec 2004)

25 Dec 2004; Luca Barbato +blender-2.36.ebuild:
New version

*blender-2.34-r1 (24 Dec 2004)

24 Dec 2004; Luca Barbato +blender-2.34-r1.ebuild:
Added back plugins and scripts

16 Nov 2004; Luca Barbato blender-2.35.ebuild:
Fixed keywords

*blender-2.35 (16 Nov 2004)

16 Nov 2004; Luca Barbato +blender-2.35.ebuild:
New version

28 Oct 2004; Sven Wegener :
Removed stray digests.

28 Oct 2004; Luca Barbato -blender-2.23-r1.ebuild,
-blender-2.26.ebuild, -blender-2.27.ebuild, -blender-2.28.ebuild,
-blender-2.28a.ebuild, -blender-2.28c.ebuild, blender-2.30.ebuild,
blender-2.31.ebuild, blender-2.31a.ebuild, blender-2.32.ebuild,
blender-2.33a.ebuild, blender-2.34.ebuild:
Marked x86 and ppc, global cleanup

09 Aug 2004; Luca Barbato blender-2.34.ebuild:
Forcing blender-game, otherwise blender won't build

*blender-2.34 (07 Aug 2004)

07 Aug 2004; Luca Barbato +blender-2.34.ebuild:
New version

21 Jul 2004; Luca Barbato :
Missing digest added

20 Jul 2004; Luca Barbato blender-2.33a.ebuild:
Typo in the patch URI

19 Jul 2004; Luca Barbato blender-2.28c.ebuild,
blender-2.33a.ebuild:
New version eventually ~arch, minor fix on IUSE

13 Jul 2004; Michael Sterrett blender-2.33a.ebuild:
header fix; replace-flags in src_compile; whitespace cleanup

*blender-2.33a (12 Jul 2004)

12 Jul 2004; Luca Barbato +blender-2.33a.ebuild:
Version bumped and marked -* since it has a feature regression

07 Jun 2004; Aron Griffis blender-2.28.ebuild,
blender-2.28a.ebuild, blender-2.28c.ebuild:
Fix use invocation

27 Apr 2004; Aron Griffis blender-2.28c.ebuild,
blender-2.30.ebuild, blender-2.31.ebuild, blender-2.31a.ebuild,
blender-2.32.ebuild:
Add inherit eutils

09 Apr 2004; Luca Barbato blender-2.32.ebuild:
Added a missing useflag to the IUSE, thanks to Carlo
for pointing it at bug #47244

21 Mar 2004; Martin Holzer blender-2.26.ebuild,
blender-2.28.ebuild, blender-2.28a.ebuild, blender-2.28c.ebuild,
blender-2.30.ebuild, blender-2.31.ebuild, blender-2.31a.ebuild,
blender-2.32.ebuild:
adding categorie. see 45110 for details

07 Mar 2004; Jon Portnoy :
Removed AMD64 keywords from all versions prior to 2.32.
Added !amd64() contruct for dev-games/ode.

18 Feb 2004; blender-2.32.ebuild:
Made 2.32 testing ~amd64.

*blender-2.32 (04 Feb 2004)

04 Feb 2004; Luca Barbato blender-2.32.ebuild,
files/blender-2.32.patch:
New blender release

07 Dec 2003; Brandy Westcott blender-2.31a.ebuild:
Added blender.desktop file.

*blender-2.31a (05 Dec 2003)

05 Dec 2003; Brandy Westcott blender-2.31a.ebuild:
Bumped to 2.31a; added patch so we can compile plugins.

04 Dec 2003; Brandy Westcott
files/configure-fix-2.31.patch:
Fixed configure-fix-2.31.patch header. Thanks to ferret
to pointing this out.

*blender-2.31 (04 Dec 2003)

04 Dec 2003; Luca Barbato blender-2.28c.ebuild,
blender-2.31.ebuild, files/configure-fix-2.31.patch:
new version, thanks to Bjarke Freund-Hansen
and Tarmo Tänav

08 Nov 2003; Brad House blender-2.30.ebuild:
add ~amd64 flag

*blender-2.30 (07 Nov 2003)

07 Nov 2003; Philip Walls blender-2.30.ebuild
files/configure-fix-2.30.patch metadata.xml:
Version bump, changed to "use foo && ..." instead of ifs. Thanks to
Dan Bryant in bug #32585 for configure
patch. Cleaned up ChangeLog.

*blender-2.28c (11 Oct 2003)

30 Oct 2003; Luca Barbato blender-2.28c.ebuild:
Moved to stable

11 Oct 2003; Luca Barbato blender-2.28c.ebuild,
blender-2.27.ebuild :
Minor fixes, blender-2.27 bumped to stable for ppc and x86

11 Oct 2003; Bart Lauwers blender-2.28c.ebuild :
Version bump.

*blender-2.28a (26 Jul 2003)

30 Sep 2003; Michael Sterrett blender-2.28.ebuild,
blender-2.28a.ebuild:
Massive whitespace cleanup

30 Sep 2003; Luca Barbato blender-2.28a.ebuild :
Version bump.

26 Jul 2003; Luca Barbato blender-2.28.ebuild :
Version bump.

*blender-2.27 (25 May 2003)

25 May 2003; Thomas Raschbacher blender-2.27.ebuild:
Version bump

*blender-2.26 (12 Feb 2003)

27 May 2003; Hanno Boeck blender-2.26.ebuild,
blender-2.27.ebuild:
Changed license, it must be GPL-2 or BL, not both.

18 Apr 2003; Philip Walls blender-2.26.ebuild :
Strip Pentium4 -march flag. Fixes bug #19526

12 Feb 2003; Hanno Boeck blender-2.26.ebuild :
Version bump.

*blender-2.26_pre20030109 (10 Jan 2003)

12 Jan 2003; Martin Holzer :
Changed Homepage. Closes #13707

10 Jan 2003; Kain blender-2.26_pre20030109.ebuild
files/digest-blender-2.26_pre20030109 :
Blender CVS snapshot source build for 2.26. I figured this would be decent
to work with, since Blender CVS is in feature freeze at the moment. This
blender works with autoconf and has GCC-3 fixes, so it builds (and runs!)
for me on PPC and x86. Testers wanted.

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

*blender-2.23-r1 (13 Feb 2003)

12 Jul 2003; Daniel Ahlberg :
Added missing changelog entry.

*blender-2.23 (15 Oct 2002)

15 Oct 2002; Matt Keadle blender-2.23-r1.ebuild
files/digest-blender-2.23-r1 :

Added sys-libs/lib-compat to RDEPEND

*blender-2.23 (19 August 2002)

19 August 2002; Sascha Schwabbauer ChangeLog, blender-2.23.ebuild :

Added -ppc to the keywords.

*blender-2.23 (15 Jun 2002)

15 Jun 2002; Daniel Robbins : The final Blender release;
no longer mirrored at blender.nl so we now download it from an unofficial mirror
(since there's no longer an official one :/ )

*blender-2.22 (1 Feb 2002)

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX blender-2.37-dirs.patch 725 RMD160 3496386616f3066e1a237921f8ecc695a21b142e SHA1 905181caae8193d212a783e4c4c938e87e136752 SHA256 18ed351fd88c1bf952c86425dc769143cda6c5cd25e948ec1e1c0a1b911d44f7
AUX blender-2.44-scriptsdir.patch 2586 RMD160 8e80859edf1fae2f401b326be4cb939108879999 SHA1 50143946828d3f2b2568e71fae5ed28f6adf7449 SHA256 a7afac10ce2431cd94d10dc3f4cae33423b5a59d0c6918199006f623cd6d68e4
AUX blender-2.44-swscale.patch 4054 RMD160 8e0f31402682e01763ccd8ad529fb57db064c423 SHA1 2e8a322644d4cfafc59f6fa33b34e46851a03836 SHA256 c74007ad24989a215b04dd275c8dee33960a05297901daf3c457e4c42de51c35
AUX blender-2.45-cve-2008-1102.patch 737 RMD160 7f55e8850638d343197ef1a7e3987fd48d35617f SHA1 bd57987f0fdfa97b2649f82b7e944a9817ce4414 SHA256 7546a4133cc682b9ed35dc6350637e535cf032ffbaa668746fb2549bcedd7c84
AUX blender-2.45-cve-2008-1103-1.patch 605 RMD160 e32bce6c420c537a8df0382660a77f2f00b15ebd SHA1 dcff3eda1905e4aea5943c26f16ce3291f465056 SHA256 28f4ae9c19a61f22f228810504afdb2fc7555a262eeae30d1ca87cc31da48d79
AUX blender-2.45-cve-2008-1103-2.patch 771 RMD160 2f4b66432a54f2b017bed81fa4c07baa4b2279d0 SHA1 52cd1ad4955e208d238d110a5c7d17dc30ee0377 SHA256 3dbfb771cd7c4fe65e3ea788794933cdfd9f5e0318fddf609d9d5c63a3a2a637
AUX blender-2.45-ffmpeg.patch 2807 RMD160 748fec0b51ee35b0524d678facecfaf91204ddb1 SHA1 2cd955967adc1bea42472a3bee8beff997cb53e5 SHA256 fe5ebbabf26544072dd44a4e952decb6e72dbc663e5cc7241527baf3b3a4ab82
AUX blender-2.45-missing_includes.patch 2314 RMD160 7f9b7205569dccb357fc82754cbe1100ca946574 SHA1 4bfdde220c3e3508e6987f0bdff654a8ed54c8e3 SHA256 f3deb71358d7b5163a5d0ea52b7891a622d0419d06fa7c33d4c3d256d512ad7d
AUX blender-2.46-cve-2008-1103-1.patch 636 RMD160 11d0b7dbff6e186334a80b7f6932ace4a1bd6628 SHA1 979fa1c2f0836b46dfd26c197798625a72e0a28b SHA256 a0dd64fb749a9577d84e22896872dc2956a8530700308d0aadad588191356b96
AUX blender-2.46-ffmpeg.patch 3823 RMD160 33f41651b1a6bc6d497ba01ab710ca3d7a1559c0 SHA1 82ce585db15a3c88625b0c04e649bd08b3c35b41 SHA256 ad75babcc08ae41f2a7c71bc457bd56a0ef39b5ae1e92ede2cdb0a34d7cbcc85
AUX blender.desktop 194 RMD160 5b154d86d52f46a3f1fcd29da90322e1727f1107 SHA1 a1b70789388f72f2a292939588365a0b845b83b7 SHA256 9d21fe8823f249f0720895107817854dd8ce64afe6586317af08805b94fe0fab
AUX blender.png 2119 RMD160 e06574002001f41198dc9408ef1bba45493fcc27 SHA1 9a0d713235ce99f8e4fde4f062209ab989e48c0f SHA256 bef633319c81323bb82db274004d89082ca05cab6650eb4c4bf43f830ccb5cad
DIST blender-2.43.tar.gz 13806334 RMD160 a43babbc816194ba3e4cfed3bd250d20406e2479 SHA1 de9ba15fb40d962e56deebdea13a3a68b3ae6532 SHA256 a48213b61302d03eb8db0cf42712b142d280d16ad111f6411cd8e43403e5e61b
DIST blender-2.45.tar.gz 14226829 RMD160 fd39b59de0f4d770fe26ce39d51356e98b1ec8ea SHA1 ff66ec5f0129fd04a2ba5c063627ef13033c0598 SHA256 921f72a15d4076f62e52674337f5d3a90cd7a82675b12bb549ebe6cd5c9027ae
DIST blender-2.46.tar.gz 20948850 RMD160 e269d6dc3e0c2fecd2f9a8f6ff6a8917c0ee6538 SHA1 c5f17700a18d44409a5920e852a97a87ff37d06e SHA256 399f3a0f565b2b07df94582c22981b9ae2daa7bdd810bed4dfd5ea7233a325d1
DIST ffmpeg-0.4.9-p20070330.tar.bz2 2192476 RMD160 e52bf6abbf7c630aa3e76243987fb7dd6d9b84a1 SHA1 bcc18c88c64f6f941eb1ac94357e0d6dcbf99045 SHA256 58a7e7d909e02fda07856ea044ae0f5f9c174791f63a449f2f23f37a78b34f95
EBUILD blender-2.43-r2.ebuild 3842 RMD160 d8f01d4265173a61388c66c62bb7e882469a26e8 SHA1 d80a1d14bebc4742ffee4ff5d03ba59fbba0e0b1 SHA256 a7350b4b9790f0f3cbe7850c2ad35d0e8ea492c4fac64ed14295814d91276811
EBUILD blender-2.45-r3.ebuild 3630 RMD160 227ddf68702a6da91e53f51696264882e4922e37 SHA1 fd6566b569a3dcee49a69f40dc46b84ea3c336ce SHA256 fce484f3d84b1faf87d1af33cca1c3df1247a859d3b7501cf0e8b029528135fa
EBUILD blender-2.45-r4.ebuild 3612 RMD160 06323ba89bfa90d3f2b3e15d5d10ff8086e2ccce SHA1 84924e4d63c6f05adabfef256eba02d1dce937bb SHA256 f8fbc98158e767f354780ae0b1d0f69ff57ef38d3850b81599f180a5773a197b
EBUILD blender-2.46-r1.ebuild 3574 RMD160 96e10ca94ed19434d850d943e57d9187f445ea23 SHA1 f83903eb21566b45d1b66669bddccc9753483c77 SHA256 8ec27cf235472c8c5d823b95f8f06ecb196f23e5df2a0c80bff84f9db2814fc4
EBUILD blender-2.46.ebuild 3545 RMD160 5aee79922d47d5d40ede7d2e4787e9ab634e1500 SHA1 5f4bdbd04b012776296a3d86acb8150be41570b8 SHA256 75ec292af92510f59147b7e0dfd574f84bb6f55bfd549aecddf9b52e2c40fa82
MISC ChangeLog 21043 RMD160 e0360c3371c5aca8cf198f95e7ce588a489a0693 SHA1 c437b0471682b268f9a899ca8f818079c7fc3ada SHA256 b46d21767c5f4b8bcb038e3b668c100afcacd7b8e850885f92f4d6790c4a7d51
MISC metadata.xml 492 RMD160 c477917476fbde6356586768276eda1ea31ae3ea SHA1 4a109fbded83a3f6c403ab5f3ec20e7113c1a26c SHA256 0ef00c095e68d12b312f8558b8909b4ae633717cf12932d7a4e479faf7fb9e18
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkhitEIACgkQkKaRLQcq0GIRcwCfU4CDS+XTTG9Pc/+LKAOQghit
WKQAoK+Tx24f+FWtQ6fWkuDb/5DRvoEM
=q3+h
-----END PGP SIGNATURE-----

blender-2.43-r2.ebuild

# 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.43-r2.ebuild,v 1.5 2008/06/25 21:09:08 maekke Exp $

inherit multilib flag-o-matic eutils python

#IUSE="jpeg mozilla png sdl static truetype"
IUSE="blender-game ffmpeg jpeg nls openal openexr png"
FFMPEG_SNAP="0.4.9-p20070330"
DESCRIPTION="3D Creation/Animation/Publishing System"
HOMEPAGE="http://www.blender.org/"
SRC_URI="http://download.blender.org/source/${P}.tar.gz
ffmpeg? ( mirror://gentoo/ffmpeg-${FFMPEG_SNAP}.tar.bz2 )"

SLOT="0"
LICENSE="|| ( GPL-2 BL )"
KEYWORDS="~amd64 ppc ppc64 ~sparc x86"

RDEPEND="=dev-lang/python-2.4*
>=dev-libs/openssl-0.9.6
ffmpeg? ( >=media-video/ffmpeg-${FFMPEG_SNAP/-/_}
media-libs/x264 )
jpeg? ( media-libs/jpeg )
media-libs/tiff
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
return 0
}

src_unpack() {
unpack ${A}
cd "${S}"/release/plugins
chmod 755 bmake
rmdir include
cp -pPR "${S}"/source/blender/blenpluginapi include

cd "${S}"
epatch "${FILESDIR}"/blender-2.37-dirs.patch
epatch "${FILESDIR}"/blender-2.45-cve-2008-1102.patch
epatch "${FILESDIR}"/blender-2.45-cve-2008-1103-1.patch
epatch "${FILESDIR}"/blender-2.45-cve-2008-1103-2.patch

if use ffmpeg ; then
cd "${S}"/extern
mv ffmpeg/Makefile ffmpeg/common.mak "${T}"
unpack ffmpeg-${FFMPEG_SNAP}.tar.bz2
mv "${T}"/Makefile "${T}"/common.mak ffmpeg
fi
# pass compiler flags to the scons build system
echo "CFLAGS += '${CFLAGS}'" >> "${S}"/user-config.py
echo "CCFLAGS += ['${CXXFLAGS//' '/','}','-DYESIAMSTUPID']" \
>> "${S}"/user-config.py
# disable blender-player and iconv
# echo "WITH_BF_PLAYER=0" >> ${S}/user-config.py
# echo "WITH_BF_ICONV=0" >> ${S}/user-config.py
}

src_compile() {
myconf="${myconf} $(blend_with openal)"
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 blender-game gameengine)"

# 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
}

blender-2.45-r3.ebuild

# 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-r3.ebuild,v 1.3 2008/05/07 21:07:25 maekke 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
epatch "${FILESDIR}"/${P}-ffmpeg.patch
epatch "${FILESDIR}"/${P}-cve-2008-1102.patch
epatch "${FILESDIR}"/${P}-cve-2008-1103-1.patch
epatch "${FILESDIR}"/${P}-cve-2008-1103-2.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
}

blender-2.45-r4.ebuild

# 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-r4.ebuild,v 1.1 2008/05/07 21:07:25 maekke 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
epatch "${FILESDIR}"/${P}-cve-2008-1102.patch
epatch "${FILESDIR}"/${P}-cve-2008-1103-1.patch
epatch "${FILESDIR}"/${P}-cve-2008-1103-2.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
}

blender-2.46-r1.ebuild

# 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.46-r1.ebuild,v 1.2 2008/05/24 13:30:43 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 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-0.98
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}"
epatch "${FILESDIR}"/blender-2.37-dirs.patch
epatch "${FILESDIR}"/blender-2.44-scriptsdir.patch
epatch "${FILESDIR}"/blender-2.46-ffmpeg.patch
epatch "${FILESDIR}"/blender-2.46-cve-2008-1103-1.patch

if use ffmpeg ; then
cd "${S}"/extern
# rm -rf ffmpeg libmp3lame x264
cat <<- EOF >> "${S}"/user-config.py
BF_FFMPEG="/usr"
BF_FFMPEG_LIB="avformat avcodec swscale avutil"
EOF
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]} || die \
"!!! Please add ${S}/scons.config when filing bugs reports to bugs.gentoo.org"

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/${PN}
doins "${WORKDIR}"/install/linux2/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
dodoc "${WORKDIR}"/install/linux2/BlenderQuickStart.pdf
}

pkg_preinst(){
if [ -h "${ROOT}/usr/$(get_libdir)/blender/plugins/include" ];
then
rm -f "${ROOT}"/usr/$(get_libdir)/blender/plugins/include
fi
}

blender-2.46.ebuild

# 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.46.ebuild,v 1.2 2008/05/24 13:30:43 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 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-0.98
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}"
epatch "${FILESDIR}"/blender-2.37-dirs.patch
epatch "${FILESDIR}"/blender-2.44-scriptsdir.patch
epatch "${FILESDIR}"/blender-2.46-cve-2008-1103-1.patch

if use ffmpeg ; then
cd "${S}"/extern
# rm -rf ffmpeg libmp3lame x264
cat <<- EOF >> "${S}"/user-config.py
BF_FFMPEG="/usr"
BF_FFMPEG_LIB="avformat avcodec swscale avutil"
EOF
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]} || die \
"!!! Please add ${S}/scons.config when filing bugs reports to bugs.gentoo.org"

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/${PN}
doins "${WORKDIR}"/install/linux2/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
dodoc "${WORKDIR}"/install/linux2/BlenderQuickStart.pdf
}

pkg_preinst(){
if [ -h "${ROOT}/usr/$(get_libdir)/blender/plugins/include" ];
then
rm -f "${ROOT}"/usr/$(get_libdir)/blender/plugins/include
fi
}

files

metadata.xml






graphics



lu_zero@gentoo.org
Luca Barbato


Blender, the open source software for 3D modeling, animation, rendering, post-production, interactive creation and playback. Available for Windows, Linux, Irix, Sun Solaris, FreeBSD or Mac OS X.