summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@zonker.localdomain>2011-08-28 15:02:21 +0200
committerroot <root@zonker.localdomain>2011-08-28 15:02:21 +0200
commit6cb061d2be719a36cdec9a595c792a782b068736 (patch)
tree487e26a8855b1369b9cad57ef8ff8d1051ac0935 /media-libs/luxrays/luxrays-9999.ebuild
parentcleanup (diff)
downloadmistafunk-6cb061d2be719a36cdec9a595c792a782b068736.tar.gz
mistafunk-6cb061d2be719a36cdec9a595c792a782b068736.tar.bz2
mistafunk-6cb061d2be719a36cdec9a595c792a782b068736.zip
added luxrender/luxrays/luxblend25 live ebuilds
Diffstat (limited to 'media-libs/luxrays/luxrays-9999.ebuild')
-rw-r--r--media-libs/luxrays/luxrays-9999.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/luxrays/luxrays-9999.ebuild b/media-libs/luxrays/luxrays-9999.ebuild
new file mode 100644
index 0000000..23bebad
--- /dev/null
+++ b/media-libs/luxrays/luxrays-9999.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit cmake-utils mercurial flag-o-matic
+#inherit cmake-utils flag-o-matic
+
+DESCRIPTION="Library to accelerate the ray intersection process by using GPUs \
+(this pkg provides only CPU support atm)"
+HOMEPAGE="http://www.luxrender.net"
+EHG_REPO_URI="https://bitbucket.org/luxrender/luxrays"
+#EHG_REVISION="29e1c03a4ae3"
+#SRC_URI="https://bitbucket.org/luxrender/luxrays/get/${EHG_REVISION}.tar.bz2"
+
+#S="${WORKDIR}/luxrender-luxrays-${EHG_REVISION}/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND=">=dev-libs/boost-1.43
+ media-libs/freeimage
+ virtual/opengl"
+
+CMAKE_IN_SOURCE_BUILD=1
+
+src_configure() {
+ append-flags "-fPIC -DLUXRAYS_DISABLE_OPENCL"
+ use debug && append-flags -ggdb
+
+ mycmakeargs=( -DLUXRAYS_DISABLE_OPENCL=ON -Wno-dev )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_make luxrays
+}
+
+src_install() {
+ dodoc AUTHORS.txt
+
+ insinto /usr/include
+ doins -r include/luxrays
+
+ dolib.a lib/libluxrays.a
+}