diff options
author | 2020-10-01 21:12:55 +0000 | |
---|---|---|
committer | 2020-10-01 21:12:55 +0000 | |
commit | f3bf57ead3c8d57d2a6d1a531314c41d4e67feed (patch) | |
tree | a68734f154036e2dbcd934a22ee5f7c9b98916a0 /media-libs | |
parent | sci-libs/lapackpp: drop dead package (diff) | |
download | sci-f3bf57ead3c8d57d2a6d1a531314c41d4e67feed.tar.gz sci-f3bf57ead3c8d57d2a6d1a531314c41d4e67feed.tar.bz2 sci-f3bf57ead3c8d57d2a6d1a531314c41d4e67feed.zip |
media-libs/embree-bin: efficient cpu ray tracer
from intel
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/embree-bin/Manifest | 1 | ||||
-rw-r--r-- | media-libs/embree-bin/embree-bin-3.12.0.ebuild | 54 | ||||
-rw-r--r-- | media-libs/embree-bin/files/00embree_bin | 1 | ||||
-rw-r--r-- | media-libs/embree-bin/metadata.xml | 12 |
4 files changed, 68 insertions, 0 deletions
diff --git a/media-libs/embree-bin/Manifest b/media-libs/embree-bin/Manifest new file mode 100644 index 000000000..1cf4987a2 --- /dev/null +++ b/media-libs/embree-bin/Manifest @@ -0,0 +1 @@ +DIST embree-bin-3.12.0.tar.gz 95209715 BLAKE2B 74b6a9c94ff596ebab64b7f3a1e506a4b08afabf2c86823520004bb46d67d27d136e54e20e5ae238a261a9e14372139da8d5f22a8a5db3597c43a6dc78ba5140 SHA512 5cc69d9c9dacc15433a9b9a6d50893e6f4fd4146f0a0c805802504aa7c079c8960d8cacb6bbe61195d5ee61b6b688cc9b358e5c79951a7d8371ac39d5ded02c5 diff --git a/media-libs/embree-bin/embree-bin-3.12.0.ebuild b/media-libs/embree-bin/embree-bin-3.12.0.ebuild new file mode 100644 index 000000000..77e7a248a --- /dev/null +++ b/media-libs/embree-bin/embree-bin-3.12.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="high-performance ray tracing kernels from intel" +HOMEPAGE="https://github.com/embree/embree" +SRC_URI="https://github.com/embree/embree/releases/download/v${PV}/embree-${PV}.x86_64.linux.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/embree-${PV}.x86_64.linux +RESTRICT="mirror" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64" +SLOT="0" + +QA_PREBUILT="opt/embree/bin/.*" +QA_PRESTRIPPED="opt/embree/lib/libembree3.so.3" + +RDEPEND=" + dev-cpp/tbb + dev-lang/ispc + media-libs/glfw + media-libs/glu + virtual/jpeg:0 + virtual/opengl + x11-libs/libxcb + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp +" + +src_compile() { + true +} + +src_install() { + dodir /opt/embree + cp -r "${S}"/* "${ED}"/opt/embree/ || die + + doenvd "${FILESDIR}"/00embree_bin +} + +pkg_postinst() { + elog "Embree has been installed to /opt/embree" + elog "you are all set to start using it as binary package" + elog "after you refresh your environment with" + elog " env-update && . /etc/profile" + elog "If you want to use embree as a library and wist to" + elog "do development using embree, you need to source" + elog "the appropriate shell script from either" + elog " . /opt/embree/embree-vars.sh" + elog "or if you are using csh" + elog " . /opt/embree/embree-vars.csh" +} diff --git a/media-libs/embree-bin/files/00embree_bin b/media-libs/embree-bin/files/00embree_bin new file mode 100644 index 000000000..9588b61e8 --- /dev/null +++ b/media-libs/embree-bin/files/00embree_bin @@ -0,0 +1 @@ +PATH="/opt/embree/bin" diff --git a/media-libs/embree-bin/metadata.xml b/media-libs/embree-bin/metadata.xml new file mode 100644 index 000000000..e97c4322a --- /dev/null +++ b/media-libs/embree-bin/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gentoo@aisha.cc</email> + <name>Aisha Tammy</name> + </maintainer> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> +</pkgmetadata> |