diff options
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/embree-bin/Manifest | 1 | ||||
-rw-r--r-- | media-libs/embree-bin/embree-bin-3.13.0.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/media-libs/embree-bin/Manifest b/media-libs/embree-bin/Manifest index 18144a113..b884b5159 100644 --- a/media-libs/embree-bin/Manifest +++ b/media-libs/embree-bin/Manifest @@ -1,3 +1,4 @@ DIST embree-bin-3.12.0.tar.gz 95209715 BLAKE2B 74b6a9c94ff596ebab64b7f3a1e506a4b08afabf2c86823520004bb46d67d27d136e54e20e5ae238a261a9e14372139da8d5f22a8a5db3597c43a6dc78ba5140 SHA512 5cc69d9c9dacc15433a9b9a6d50893e6f4fd4146f0a0c805802504aa7c079c8960d8cacb6bbe61195d5ee61b6b688cc9b358e5c79951a7d8371ac39d5ded02c5 DIST embree-bin-3.12.1.tar.gz 95241868 BLAKE2B 6d65916a7bf95209269ee948d4dd1c2ee2218bd186f074501abd8086bdcaa5a270fa1cd8c3029763d1da746e375a29890b7c02577992edeaa8829d0b31ed0e0f SHA512 e8c8bc63e0c56360ef02c3794c18237151554d1ebcc761a50cc887bfbc4df528e56b27c4c83f7ca0fdf952b269e207b966ecc4ffbc159b75a2172541f8b5e3fe DIST embree-bin-3.12.2.tar.gz 95365459 BLAKE2B 234aa46a6e6936591c8ad10a5bdb9f29107e1bb9a82b0f256ea23629344884fbee588dc7cf03c5bde8a8b479548cd350a645702a245452d40749b3a315357f27 SHA512 dc01aee95bef18561ec01cbc53f44c3765ffa7d25ff9289a647f86be81ab44916a6d8ba61e377de85026cac0f37eee7ccfc6c5e371cccc6d40289a8d44e4b70d +DIST embree-bin-3.13.0.tar.gz 96162228 BLAKE2B 4cb0430beca487dba34b946e0d8f05c0f8d4cc19c373e68390b26efe5c8767282367fe13a662334da04cbb80588b36787344946954fbe4ccdf52d562c468cfc8 SHA512 f7bf28d6a50fcb5bb8ac3b87841fc8f23e78865b4be8217fc12268f2e831cdc088a97bd80f1721171ac7c7d772175a4b2bf22a48af5ad18b3835c02340435272 diff --git a/media-libs/embree-bin/embree-bin-3.13.0.ebuild b/media-libs/embree-bin/embree-bin-3.13.0.ebuild new file mode 100644 index 000000000..a1cf40c1a --- /dev/null +++ b/media-libs/embree-bin/embree-bin-3.13.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 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" +RESTRICT="strip" + +QA_PREBUILT=" + /opt/embree/bin/.* + /opt/embree/lib/.* +" +QA_PRESTRIPPED="${QA_PREBUILT}" + +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" +} |