From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6950F1382C5 for ; Thu, 20 May 2021 23:13:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E5F0E087C; Thu, 20 May 2021 23:13:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 73ADDE087C for ; Thu, 20 May 2021 23:13:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 306FD340C36 for ; Thu, 20 May 2021 23:13:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7AC6878E for ; Thu, 20 May 2021 23:13:41 +0000 (UTC) From: "Aisha Tammy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" Message-ID: <1621552399.f4af58480670bba61090f89c2d7f1b3f1df26d66.epsilon-0@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: media-libs/embree-bin/ X-VCS-Repository: proj/sci X-VCS-Files: media-libs/embree-bin/embree-bin-3.13.0.ebuild X-VCS-Directories: media-libs/embree-bin/ X-VCS-Committer: epsilon-0 X-VCS-Committer-Name: Aisha Tammy X-VCS-Revision: f4af58480670bba61090f89c2d7f1b3f1df26d66 X-VCS-Branch: master Date: Thu, 20 May 2021 23:13:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 117c8267-b94a-4247-a80c-2e60d72e8ea2 X-Archives-Hash: 29e00e8beeeaf1ee9685334e985a51d6 commit: f4af58480670bba61090f89c2d7f1b3f1df26d66 Author: Aisha Tammy aisha cc> AuthorDate: Thu May 20 23:13:08 2021 +0000 Commit: Aisha Tammy aisha cc> CommitDate: Thu May 20 23:13:19 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f4af5848 media-libs/embree-bin: version bump to 3.13.0 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Aisha Tammy aisha.cc> media-libs/embree-bin/embree-bin-3.13.0.ebuild | 58 ++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) 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" +}