diff options
author | Simon Haegler <shaegler@esri.com> | 2013-03-12 23:13:12 +0100 |
---|---|---|
committer | Simon Haegler <shaegler@esri.com> | 2013-03-12 23:13:12 +0100 |
commit | 62b8d358b9e65aef17796ac7e01935443f7ce4eb (patch) | |
tree | a6e445412822bbcff389b8026ade30a65b7b9ff7 | |
parent | removed blender as it has been updated in the main repo (diff) | |
download | mistafunk-62b8d358b9e65aef17796ac7e01935443f7ce4eb.tar.gz mistafunk-62b8d358b9e65aef17796ac7e01935443f7ce4eb.tar.bz2 mistafunk-62b8d358b9e65aef17796ac7e01935443f7ce4eb.zip |
updated ebuild for mitsuba 0.4.4
-rw-r--r-- | media-gfx/mitsuba/Manifest | 7 | ||||
-rw-r--r-- | media-gfx/mitsuba/mitsuba-0.4.4.ebuild | 73 |
2 files changed, 77 insertions, 3 deletions
diff --git a/media-gfx/mitsuba/Manifest b/media-gfx/mitsuba/Manifest index 9f3b130..da019eb 100644 --- a/media-gfx/mitsuba/Manifest +++ b/media-gfx/mitsuba/Manifest @@ -1,3 +1,4 @@ -DIST cb6e89af8012.tar.bz2 19574819 RMD160 dd34f0717a590d1be7179ec42412369c86353298 SHA1 4e543f8d11bcd5198996a1690df9bea08edea8f8 SHA256 a661b4c554d4afd5a5d851e030eca2994ab0f3556a0d7d39adedd8b10d0ccd07 -EBUILD mitsuba-0.3.0.ebuild 1588 RMD160 4492633ff3873f866cb5f924f4d46983ebc8b440 SHA1 ab90e32de3d274c47d11f259f398669ab0ba0002 SHA256 363097ca5a99a5cb47f5f2e2d2c7e52b1964b6e5aa85664b63eba287cfc820dd -MISC mitsuba-0.3.0.ebuild~ 1533 RMD160 3dbefe7b518530df24056747ca965260ea2948eb SHA1 e76d4395db3c70986a0151acfb704d878e4077c7 SHA256 ea617d22484ba8d828aafb9d4d15aa06c1fe5f64bd4df6e11f263448b08448a5 +DIST bd6ddacdf795.tar.bz2 47361140 SHA256 861f7f8a1f8191f95819468421d8b25f831fb18f08d2f00ba9775246b8776eff SHA512 47ddbbeb0ea938daf9f93d07ed01fec6eccd58bb033b68608648e7f824b09e80d510111f6c2143e2c7547fc3d0785b6adf7c8a9dd423db4b618e9a223aa30498 WHIRLPOOL 4d63401dba1c8b17564b89ae7752f05c110b2a30d52b312853ff5f1d9b4b14afe4f8c5ff7d5cccdaeefbef1373abc09a72b60a170741877db9d5a8b3aae70356 +DIST cb6e89af8012.tar.bz2 19574819 SHA256 a661b4c554d4afd5a5d851e030eca2994ab0f3556a0d7d39adedd8b10d0ccd07 +EBUILD mitsuba-0.3.0.ebuild 1588 SHA256 363097ca5a99a5cb47f5f2e2d2c7e52b1964b6e5aa85664b63eba287cfc820dd SHA512 a3939d20228ce5da235f4dc9dea9b56e367f662b8ef744728c858d15a11daa8f45b73732505a6f85b9a6a70f69f518d620f027fe97ffc15cb0b95ac2f0024be9 WHIRLPOOL 235412e998dd03055bb2165139f3785d128e97c40e27f1a025b9a6e28e22dba39cd970fa75b1c2c3db7d5bd26e223c115b7be53a5b35a53dbbe21b941d5beab0 +EBUILD mitsuba-0.4.4.ebuild 1520 SHA256 8402d0935702529757ef45044a0bf2ac506495c86c9076643e8bd3de22d37bba SHA512 1cd5b552ba316a18b519d4e2d9345f2d59ac4f6b012a116fa6994a808fe86973f08ad0af946d36b4d618fd2860ab0d60427c6dbd62ba4b7957c579d9fe400a01 WHIRLPOOL 8a56c31f3cc89977afcb948b40ed8a79f60a33059d1bd3797c91e3a805b0500c6c09dee3c846fcfecef7b544c0d8e7ac23922cd5bf133e753b80c4f411510671 diff --git a/media-gfx/mitsuba/mitsuba-0.4.4.ebuild b/media-gfx/mitsuba/mitsuba-0.4.4.ebuild new file mode 100644 index 0000000..1eaf85c --- /dev/null +++ b/media-gfx/mitsuba/mitsuba-0.4.4.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +PYTHON_COMPAT=( python{3_2} ) +inherit scons-utils toolchain-funcs multilib python + +MY_PV="bd6ddacdf795" +MY_P="${PN}-${MY_PV}" + +SRC_URI="https://www.mitsuba-renderer.org/hg/mitsuba/archive/${MY_PV}.tar.bz2" + +DESCRIPTION="Mitsuba is a physically based renderer." +HOMEPAGE="https://www.mitsuba-renderer.org" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="${PYTHON_DEPS} + virtual/jpeg + media-libs/libpng + x11-libs/libX11 + media-libs/glew + dev-qt/qtcore + dev-qt/qtgui + dev-qt/qtopengl + media-libs/openexr + dev-libs/xerces-c + dev-libs/boost + media-libs/collada-dom" +DEPEND="dev-util/scons + ${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + python_set_active_version 3.2 +} + +src_prepare() { + mkdir -p "${S}/dependencies" + echo "${PV}" > "${S}/dependencies/version" +} + +src_configure() { + ln -s "${S}/build/config-linux-gcc.py" "${S}/config.py" + sed -i "s/'boost_python3'/'boost_python-3.2'/" "${S}/config.py" +} + +src_compile() { + tc-export CC CXX + escons || die "Scons failed" +} + +src_install() { + cd dist + + exeinto /usr/bin + doexe mitsuba mtssrv mtsgui mtsutil mtsimport || die + dolib.so libmitsuba-hw.so libmitsuba-render.so libmitsuba-core.so libmitsuba-bidir.so || die + + insinto "/usr/share/${PN}" + doins -r "${S}/data/ior" + doins -r "${S}/data/schema" + + exeinto "/usr/share/${PN}/plugins" + doexe plugins/*.so + + exeinto "/usr/share/${PN}/python" + doexe python/3.2/*.so +} |