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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 35A3815ACFB for ; Sun, 16 Apr 2023 03:30:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 710B2E08EF; Sun, 16 Apr 2023 03:30:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 43C83E08EF for ; Sun, 16 Apr 2023 03:30:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 74552340DDE for ; Sun, 16 Apr 2023 03:30:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1200A44 for ; Sun, 16 Apr 2023 03:30:11 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1681613159.c313bd382752056f998eb9f456a08107060dbeb5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/openpgl/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/openpgl/Manifest media-libs/openpgl/metadata.xml media-libs/openpgl/openpgl-0.5.0.ebuild X-VCS-Directories: media-libs/openpgl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c313bd382752056f998eb9f456a08107060dbeb5 X-VCS-Branch: master Date: Sun, 16 Apr 2023 03:30:11 +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: 7855762b-d153-4ef8-97b0-728e5c1c9cbb X-Archives-Hash: c0d4ca8ae543d470314b8b8b837f18e1 commit: c313bd382752056f998eb9f456a08107060dbeb5 Author: Sebastian Parborg gmail com> AuthorDate: Mon Apr 3 16:25:46 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Apr 16 02:45:59 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c313bd38 media-libs/openpgl: New package OpenPGL is a pathguiding library developed by Intel. This can be used in raytracing engines to guide rays in clever ways to reduce the overall noise of the picture in difficult lighting situations. Signed-off-by: Sebastian Parborg gmail.com> Signed-off-by: Sam James gentoo.org> media-libs/openpgl/Manifest | 1 + media-libs/openpgl/metadata.xml | 24 ++++++++++++++++++++++ media-libs/openpgl/openpgl-0.5.0.ebuild | 36 +++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/media-libs/openpgl/Manifest b/media-libs/openpgl/Manifest new file mode 100644 index 000000000000..6b2d7becd00d --- /dev/null +++ b/media-libs/openpgl/Manifest @@ -0,0 +1 @@ +DIST openpgl-0.5.0.tar.gz 10767365 BLAKE2B 051b26c17300506dd20989ba9dc1aa83b0baf77c5f24650c74518ae56081b5a0ecca88c13d5d79a71cb0b6fa4a5b4841ee03e5223ec91ab16bb5655f2e52a9d7 SHA512 9b992ffa17ad6f9fcde48add5d9cc1e58be2daacd40478fb1babe0741a6c7a64f12f36c9c1f7d5ec6f79cdd847c082d39e03e58cfd9af1a903adca56f1ac19e1 diff --git a/media-libs/openpgl/metadata.xml b/media-libs/openpgl/metadata.xml new file mode 100644 index 000000000000..362878695f7a --- /dev/null +++ b/media-libs/openpgl/metadata.xml @@ -0,0 +1,24 @@ + + + + + darkdefende@gmail.com + Sebastian Parborg + + + proxy-maint@gentoo.org + Proxy Maintainers + + + The IntelĀ® Open Path Guiding Library (IntelĀ® Open PGL) implements a set of + representations and training algorithms needed to integrate path guiding + into a renderer. Open PGL offers implementations of current state-of-the-art + path guiding methods, which increase the sampling quality and, therefore, + the efficiency of a renderer. The goal of Open PGL is to provide + implementations that are well tested and robust enough to be used in a + production environment. + + + OpenPathGuidingLibrary/openpgl + + diff --git a/media-libs/openpgl/openpgl-0.5.0.ebuild b/media-libs/openpgl/openpgl-0.5.0.ebuild new file mode 100644 index 000000000000..9c6a928d4802 --- /dev/null +++ b/media-libs/openpgl/openpgl-0.5.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Intel Open Path Guiding Library" +HOMEPAGE="https://github.com/OpenPathGuidingLibrary/openpgl" +SRC_URI="https://github.com/OpenPathGuidingLibrary/openpgl/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +X86_CPU_FLAGS=( sse4_2 avx2 avx512dq ) +CPU_FLAGS=( ${X86_CPU_FLAGS[@]/#/cpu_flags_x86_} ) +IUSE="${CPU_FLAGS[@]%:*} debug" +SLOT="0" + +RDEPEND=" + media-libs/embree + dev-cpp/tbb:= +" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + -DOPENPGL_ISA_AVX2=$(usex cpu_flags_x86_avx2) + -DOPENPGL_ISA_AVX512=$(usex cpu_flags_x86_avx512dq) + -DOPENPGL_ISA_SSE4=$(usex cpu_flags_x86_sse4_2) + ) + + # Disable asserts + append-cppflags $(usex debug '' '-DNDEBUG') + + cmake_src_configure +}