diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-07-20 13:38:46 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-07-20 13:38:46 +0000 |
commit | 55f632a52c33eac3db1ead77c18a9520e253c87b (patch) | |
tree | b211e443ad620aaafd17f68953dca244b897bd8d /media-gfx/yafray | |
parent | media-gfx/yafray:openexr (diff) | |
download | historical-55f632a52c33eac3db1ead77c18a9520e253c87b.tar.gz historical-55f632a52c33eac3db1ead77c18a9520e253c87b.tar.bz2 historical-55f632a52c33eac3db1ead77c18a9520e253c87b.zip |
New version
Package-Manager: portage-2.1.1_pre2-r4
Diffstat (limited to 'media-gfx/yafray')
-rw-r--r-- | media-gfx/yafray/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/yafray/Manifest | 24 | ||||
-rw-r--r-- | media-gfx/yafray/files/digest-yafray-0.0.9 | 3 | ||||
-rw-r--r-- | media-gfx/yafray/files/yafray-0.0.9-libdir.patch | 30 | ||||
-rw-r--r-- | media-gfx/yafray/files/yafray-0.0.9-scons.patch | 25 | ||||
-rw-r--r-- | media-gfx/yafray/yafray-0.0.9.ebuild | 51 |
6 files changed, 137 insertions, 5 deletions
diff --git a/media-gfx/yafray/ChangeLog b/media-gfx/yafray/ChangeLog index 7c3b9a79fde1..02ae15cf768b 100644 --- a/media-gfx/yafray/ChangeLog +++ b/media-gfx/yafray/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/yafray # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/ChangeLog,v 1.30 2006/06/30 00:35:52 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/ChangeLog,v 1.31 2006/07/20 13:38:46 lu_zero Exp $ + +*yafray-0.0.9 (20 Jul 2006) + + 20 Jul 2006; Luca Barbato <lu_zero@gentoo.org> + +files/yafray-0.0.9-libdir.patch, +files/yafray-0.0.9-scons.patch, + +yafray-0.0.9.ebuild: + New version 30 Jun 2006; Luca Barbato <lu_zero@gentoo.org> yafray-0.0.8.ebuild: Make scons parallebuild work diff --git a/media-gfx/yafray/Manifest b/media-gfx/yafray/Manifest index 806c3ea90479..9419e733f992 100644 --- a/media-gfx/yafray/Manifest +++ b/media-gfx/yafray/Manifest @@ -14,8 +14,17 @@ AUX yafray-0.0.8-scons.patch 782 RMD160 4d182595997c4d6fbdc68479840bb2096c7233fd MD5 78f9242de2b0493dab84891fe6c9e2eb files/yafray-0.0.8-scons.patch 782 RMD160 4d182595997c4d6fbdc68479840bb2096c7233fd files/yafray-0.0.8-scons.patch 782 SHA256 aaf938314209f4439d6136ee93e098dcd3c0d4b53104777b589f583de49e2af1 files/yafray-0.0.8-scons.patch 782 +AUX yafray-0.0.9-libdir.patch 983 RMD160 6d71bf07095bdc0ac403914dcc2eba5400c0d12a SHA1 8064b584f5e5068dbb13bcc3844435447a817c4c SHA256 5cf70c22d2197bb5a96fd29b69ea8f2a5eb926aa581bc28e117ca9c023df12dd +MD5 db5d4136e1fbb46cffeba80632bfb76f files/yafray-0.0.9-libdir.patch 983 +RMD160 6d71bf07095bdc0ac403914dcc2eba5400c0d12a files/yafray-0.0.9-libdir.patch 983 +SHA256 5cf70c22d2197bb5a96fd29b69ea8f2a5eb926aa581bc28e117ca9c023df12dd files/yafray-0.0.9-libdir.patch 983 +AUX yafray-0.0.9-scons.patch 780 RMD160 4b0993a1495d3a947eb5caa89b210b73779452a5 SHA1 b4ca3dfe8bb5b3b18343c8125140f57c2dfa19ec SHA256 feb2fc791d743d24cd876122e75634165b9ffc042277cc77e2daa1327ff31bf3 +MD5 45585b98f2e7eeabb4179d5786a51967 files/yafray-0.0.9-scons.patch 780 +RMD160 4b0993a1495d3a947eb5caa89b210b73779452a5 files/yafray-0.0.9-scons.patch 780 +SHA256 feb2fc791d743d24cd876122e75634165b9ffc042277cc77e2daa1327ff31bf3 files/yafray-0.0.9-scons.patch 780 DIST yafray-0.0.7.tar.gz 695231 DIST yafray-0.0.8.tar.gz 304717 RMD160 130d9f4ac415520e3e9ecd220d879d16045df87d SHA1 d055e3071e78c0f64f1f6ea8c64e306b497e41f7 SHA256 02e3d7319b7f7d02e1411f308fd011c171db405c3a576ed52490963407bce252 +DIST yafray-0.0.9.tar.gz 316033 RMD160 4bad504cf78e86718869b9ced3967d31ec66a608 SHA1 30eaf082f66da4948cc6fb9651b4945914929f74 SHA256 f803e7058fb65cab9c0d00599daa85ca291fb57941822d622426e3466ec0aefb EBUILD yafray-0.0.7.ebuild 995 RMD160 dc8b7c2f091ac9bd3860bbea6b23cd46f99dafe8 SHA1 de0af4be7d14baa1495ca0adfcd3b6ab2d00ccc5 SHA256 a4decb5c9b1bee6f7c02e29f108b6e6b87e91c160d63f2f8bcbc6f0e815c4331 MD5 a998d11d232890b45f990edea55e4fa5 yafray-0.0.7.ebuild 995 RMD160 dc8b7c2f091ac9bd3860bbea6b23cd46f99dafe8 yafray-0.0.7.ebuild 995 @@ -24,10 +33,14 @@ EBUILD yafray-0.0.8.ebuild 1167 RMD160 642e8aa67afdaf9b3f2d485f1d42535382137ce1 MD5 a50ce3769319a1cbc2458da4771e7c4e yafray-0.0.8.ebuild 1167 RMD160 642e8aa67afdaf9b3f2d485f1d42535382137ce1 yafray-0.0.8.ebuild 1167 SHA256 6f92d91ec216f6066d8ff53c464d0198a7673cce974d9f2d3c1caccfbce77e89 yafray-0.0.8.ebuild 1167 -MISC ChangeLog 3796 RMD160 7b67965a8371cef479f2bfdb3246ea9680fc7782 SHA1 422e37ad47307016989a5245ab330697c733bb22 SHA256 c9898d43bc0932c8796d6b9fc9cb7d8a9d61a333e419362268f6f428e18dc2c4 -MD5 cf137236694028675249e5b0792c5b99 ChangeLog 3796 -RMD160 7b67965a8371cef479f2bfdb3246ea9680fc7782 ChangeLog 3796 -SHA256 c9898d43bc0932c8796d6b9fc9cb7d8a9d61a333e419362268f6f428e18dc2c4 ChangeLog 3796 +EBUILD yafray-0.0.9.ebuild 1250 RMD160 8f21576e772d3ac724b6bcbf41a445daeef14fc5 SHA1 99af6876b53f68427e126b0b11d33a2d933e9dbb SHA256 00eb863b3bc8f0b10aa383517fc87048d76c431d6310cb352fddc9a23ec42553 +MD5 d24d2b2ea772065538b0f02b351a59f7 yafray-0.0.9.ebuild 1250 +RMD160 8f21576e772d3ac724b6bcbf41a445daeef14fc5 yafray-0.0.9.ebuild 1250 +SHA256 00eb863b3bc8f0b10aa383517fc87048d76c431d6310cb352fddc9a23ec42553 yafray-0.0.9.ebuild 1250 +MISC ChangeLog 3982 RMD160 3f38c221772ab61b5de2f572a1a68e071b55ec21 SHA1 fa85c24ccbc71308831373c6ae32c6100223e5be SHA256 2b59c2869347ee2876bdefafa35a710918e4db95fca4bc368d8986b1b6e403b4 +MD5 335b32f19308b29b978017bf3d312960 ChangeLog 3982 +RMD160 3f38c221772ab61b5de2f572a1a68e071b55ec21 ChangeLog 3982 +SHA256 2b59c2869347ee2876bdefafa35a710918e4db95fca4bc368d8986b1b6e403b4 ChangeLog 3982 MISC metadata.xml 161 RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 SHA1 1c35398222ef7ed670c31965e42cca77fe4b1da6 SHA256 e8daadc5e27e3ef1148993b5b48d96e93bc36d798a1f416693f7f8c84be427e1 MD5 5fc54c5d01402d0610fafa96961bb8e0 metadata.xml 161 RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 metadata.xml 161 @@ -38,3 +51,6 @@ SHA256 a51091c7f8421ea1a695ba043a53fbb34352a1169410eca04289eb4f30625646 files/di MD5 1b41d911338b1f541e7fde94960bf0ca files/digest-yafray-0.0.8 238 RMD160 c2b833ad55e30e3d5a5fb753f565d4d06ab84c54 files/digest-yafray-0.0.8 238 SHA256 f0109b6c66dc52b226c3b0b8888a3f24e94f99eaa5c6afbfccf4c7e402f1d1db files/digest-yafray-0.0.8 238 +MD5 fa101844a617396ff91cb0b406e2865e files/digest-yafray-0.0.9 238 +RMD160 c45f85e90df28997e94550777d7c2882c11d0fe6 files/digest-yafray-0.0.9 238 +SHA256 167d7e042f7c81316edbc1e66810f67158bea16d29ed6973fbb09247f8d556ad files/digest-yafray-0.0.9 238 diff --git a/media-gfx/yafray/files/digest-yafray-0.0.9 b/media-gfx/yafray/files/digest-yafray-0.0.9 new file mode 100644 index 000000000000..59d123f564c0 --- /dev/null +++ b/media-gfx/yafray/files/digest-yafray-0.0.9 @@ -0,0 +1,3 @@ +MD5 7365122e0ca6f439988f51e8b4db935c yafray-0.0.9.tar.gz 316033 +RMD160 4bad504cf78e86718869b9ced3967d31ec66a608 yafray-0.0.9.tar.gz 316033 +SHA256 f803e7058fb65cab9c0d00599daa85ca291fb57941822d622426e3466ec0aefb yafray-0.0.9.tar.gz 316033 diff --git a/media-gfx/yafray/files/yafray-0.0.9-libdir.patch b/media-gfx/yafray/files/yafray-0.0.9-libdir.patch new file mode 100644 index 000000000000..11ceef96110b --- /dev/null +++ b/media-gfx/yafray/files/yafray-0.0.9-libdir.patch @@ -0,0 +1,30 @@ +--- yafray.old/linux-settings.py 2006-07-14 12:14:52.000000000 +0200 ++++ yafray/linux-settings.py 2006-07-20 14:38:26.000000000 +0200 +@@ -5,13 +5,15 @@ + + srcroot = os.getcwd() + prefix = '' ++libdif = '' + + def init(args): +- global prefix ++ global prefix, libdir + prefix = args.get('prefix','/usr/local') ++ libdir = args.get('libdir','/lib') + +-def get_libpath(args): return prefix+"/lib" +-def get_pluginpath(args): return prefix+"/lib/yafray" ++def get_libpath(args): return prefix+libdif ++def get_pluginpath(args): return prefix+libdir+"/yafray" + def get_binpath(args): return prefix+"/bin" + def get_confpath(args): return prefix+"/etc" + def get_cxxflags(args): +@@ -40,7 +42,7 @@ + return False + + def get_include(args): return [ exr.PATH + "/include/OpenEXR" ] +- def get_libpath(args): return [ exr.PATH + "/lib" ] ++ def get_libpath(args): return [ exr.PATH + libdir ] + def get_libs(args): return ['IlmImf', 'Imath', 'Iex', 'Half'] + + class jpeg(globalinfo.library): diff --git a/media-gfx/yafray/files/yafray-0.0.9-scons.patch b/media-gfx/yafray/files/yafray-0.0.9-scons.patch new file mode 100644 index 000000000000..7d286a7c1097 --- /dev/null +++ b/media-gfx/yafray/files/yafray-0.0.9-scons.patch @@ -0,0 +1,25 @@ +--- yafray.old/SConstruct 2006-06-20 19:24:00.000000000 +0200 ++++ yafray/SConstruct 2006-07-20 14:53:59.000000000 +0200 +@@ -3,6 +3,7 @@ + import configio + import globalinfo + ++destdir=ARGUMENTS.get('destdir','') + prefix=ARGUMENTS.get('prefix','/usr/local') + + ficheros = { +@@ -36,10 +37,10 @@ + + class config: + cxxflags = confer.get_cxxflags(A) +- libpath = confer.get_libpath(A) +- pluginpath = confer.get_pluginpath(A) +- binpath = confer.get_binpath(A) +- confpath = confer.get_confpath(A) ++ libpath = destdir + confer.get_libpath(A) ++ pluginpath = destdir + confer.get_pluginpath(A) ++ binpath = destdir + confer.get_binpath(A) ++ confpath = destdir + confer.get_confpath(A) + rootpath = Dir('.').srcnode().abspath + + for name,val in confer.__dict__.items(): diff --git a/media-gfx/yafray/yafray-0.0.9.ebuild b/media-gfx/yafray/yafray-0.0.9.ebuild new file mode 100644 index 000000000000..3434982bd015 --- /dev/null +++ b/media-gfx/yafray/yafray-0.0.9.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/yafray-0.0.9.ebuild,v 1.1 2006/07/20 13:38:46 lu_zero Exp $ + +inherit eutils python multilib + +DESCRIPTION="Yet Another Free Raytracer" +HOMEPAGE="http://www.yafray.org/" +SRC_URI="http://www.yafray.org/sec/2/downloads/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="openexr" + +RDEPEND="media-libs/jpeg + sys-libs/zlib" +DEPEND="${RDEPEND} + >=sys-devel/gcc-3.3 + >=sys-apps/sed-4 + dev-util/scons" + +export WANT_AUTOMAKE="1.7" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-scons.patch + epatch ${FILESDIR}/${P}-libdir.patch + # Dirty hack for a dirty buildsystem. + sed -i -e "s:-O3:${CXXFLAGS} -fsigned-char:g" *-settings.py +} + +src_compile() { + local exr_path="" + use openexr && exr_path="/usr" + + scons ${MAKEOPTS} prefix="/usr" \ + libdir="/$(get_libdir)" + exr_path="$exr_path" || die +} + +src_install() { + scons prefix="/usr" destdir="${D}" libdir="/$(get_libdir)" install || die + + find ${D} -name .sconsign -exec rm \{\} \; + dodoc AUTHORS || die "dodoc failed" + dohtml doc/doc.html || die "dohtml failed" +} |