public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2017-01-15 11:14 David Seifert
  0 siblings, 0 replies; 26+ messages in thread
From: David Seifert @ 2017-01-15 11:14 UTC (permalink / raw
  To: gentoo-commits

commit:     382a648334ac66b50d68f02d3fe65502e750aa03
Author:     Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Sat Jan 14 16:41:29 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 11:14:26 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=382a6483

media-libs/opensubdiv: Version bump to 3.3.1

* Removed test USE Flag as they are broken. Upstream is working on
  a fix. Will re-enable when fixed.
Closes: https://github.com/gentoo/gentoo/pull/3472

 media-libs/opensubdiv/Manifest                |  1 +
 media-libs/opensubdiv/opensubdiv-3.1.1.ebuild | 60 +++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/media-libs/opensubdiv/Manifest b/media-libs/opensubdiv/Manifest
index 74e0750..a86411c 100644
--- a/media-libs/opensubdiv/Manifest
+++ b/media-libs/opensubdiv/Manifest
@@ -1 +1,2 @@
 DIST opensubdiv-3.1.0.tar.gz 18014579 SHA256 ff3f2cdeeaa8ac4abe83394b1fea27ea3ade8258aff86da5fdfba37415485aba SHA512 9b59cb4e5b124e222b67a48986251cff91bcdc2aee9f71c4b653ad7bb089e860c5954c251a91c0004fa5c28fc4524a0dcbf51d3ae51ea86ee7665ba05d8ec97f WHIRLPOOL 0765a01209781b237df9f51717d7e14dcde57b5e00e7cfaa81e02d6fd409bb2df3bc7c95f26b5ed20bb8cbd6c2b3aaa9ad28861198c25ffd3ec3c6b699a32444
+DIST opensubdiv-3.1.1.tar.gz 18014871 SHA256 6a2043c0c8b6e85bdc34dbd6d05e6bc7504a4d01dcfb165b4abe180c50d41164 SHA512 700db7e1dde3e916011721a5b42d5e32ea4ae355ab5e3e415541d62efa2059d56d5f30cef853285e95a93f3a3b5fe24a906547a52cce94d47b101ae20021d5b5 WHIRLPOOL b36136cc88e2f68d6ddb94ad500b449fb8ea9c0104b864d873ac7fd2966ac8ee44d7f4296ad96bcb65ae9f7858f1c6a9703f6d90754bd0dd1ad27db1b9fc1628

diff --git a/media-libs/opensubdiv/opensubdiv-3.1.1.ebuild b/media-libs/opensubdiv/opensubdiv-3.1.1.ebuild
new file mode 100644
index 00000000..4f305e5
--- /dev/null
+++ b/media-libs/opensubdiv/opensubdiv-3.1.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit cmake-utils toolchain-funcs versionator
+
+DESCRIPTION="An Open-Source subdivision surface library"
+HOMEPAGE="http://graphics.pixar.com/opensubdiv/"
+
+MY_PV="$(replace_all_version_separators '_')"
+
+SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+IUSE="cuda doc examples opencl openmp ptex tbb tutorials"
+
+# OpenCL does not work with Open Source drivers or nVidia binaries.
+RDEPEND="media-libs/glew:=
+	media-libs/glfw:=
+	opencl? ( x11-drivers/ati-drivers:* )
+	cuda? ( dev-util/nvidia-cuda-toolkit:* )
+	ptex? ( media-libs/ptex )"
+
+DEPEND="${RDEPEND}
+	tbb? ( dev-cpp/tbb )
+	doc? ( dev-python/docutils app-doc/doxygen )"
+
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}"/OpenSubdiv-${MY_PV}
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DNO_MAYA=1
+		-DNO_CLEW=1
+		-DNO_DOC=$(usex !doc)
+		-DNO_TBB=$(usex !tbb)
+		-DNO_PTEX=$(usex !ptex)
+		-DNO_OMP=$(usex !openmp)
+		-DNO_OPENCL=$(usex !opencl)
+		-DNO_CUDA=$(usex !cuda)
+		-DNO_REGRESSION=1 # The don't work with certain settings
+		-DNO_EXAMPLES=$(usex !examples)
+		-DNO_TUTORIALS=$(usex !tutorials)
+		-DGLEW_LOCATION="${EPREFIX}/usr/$(get_libdir)"
+		-DGLFW_LOCATION="${EPREFIX}/usr/$(get_libdir)"
+	)
+
+	cmake-utils_src_configure
+}


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2017-10-15 21:11 Patrice Clement
  0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2017-10-15 21:11 UTC (permalink / raw
  To: gentoo-commits

commit:     aa959c1ca7cb3dc2b9006f27256646e411967149
Author:     Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Sat Oct 14 14:52:16 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Oct 15 21:11:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa959c1c

media-libs/opensubdiv: add missing virtual/opencl depend.

* This use flag is masked for OpenSubDiv, but this is in prep of
unmasking it after new Blender is in main repo.

 media-libs/opensubdiv/opensubdiv-3.3.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild b/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild
index 28ba08cb7a5..1c1abebee36 100644
--- a/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild
@@ -17,6 +17,7 @@ IUSE="cuda doc opencl openmp ptex tbb"
 RDEPEND="media-libs/glew:=
 	media-libs/glfw:=
 	cuda? ( dev-util/nvidia-cuda-toolkit:* )
+	opencl? ( virtual/opencl )
 	ptex? ( media-libs/ptex )"
 
 DEPEND="${RDEPEND}


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2017-10-15 21:11 Patrice Clement
  0 siblings, 0 replies; 26+ messages in thread
From: Patrice Clement @ 2017-10-15 21:11 UTC (permalink / raw
  To: gentoo-commits

commit:     91bc5e72afb058ff82626e49cacb9515d0e22307
Author:     Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Wed Oct 11 18:15:27 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Oct 15 21:11:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91bc5e72

media-libs/opensubdiv: ebuild and metadata fixes.

* remove tutorial use flag from metadata.xml.
* remove examples and tutorials as they violate installation
  location rules.

Closes: https://bugs.gentoo.org/633756
Closes: https://github.com/gentoo/gentoo/pull/5919

 media-libs/opensubdiv/metadata.xml            | 2 --
 media-libs/opensubdiv/opensubdiv-3.1.0.ebuild | 6 +++---
 media-libs/opensubdiv/opensubdiv-3.1.1.ebuild | 6 +++---
 media-libs/opensubdiv/opensubdiv-3.3.0.ebuild | 8 ++++----
 4 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/media-libs/opensubdiv/metadata.xml b/media-libs/opensubdiv/metadata.xml
index f4db4009bdd..8a3f73ac7b2 100644
--- a/media-libs/opensubdiv/metadata.xml
+++ b/media-libs/opensubdiv/metadata.xml
@@ -33,8 +33,6 @@
 			Enable OpenCL support through
 			<pkg>virtual/opencl</pkg>.
 		</flag>
-		<flag name="tutorials">
-		</flag>
 	</use>
 	<upstream>
 		<remote-id type="github">PixarAnimationStudios/OpenSubdiv</remote-id>

diff --git a/media-libs/opensubdiv/opensubdiv-3.1.0.ebuild b/media-libs/opensubdiv/opensubdiv-3.1.0.ebuild
index d822c40cc99..aa63d90eeda 100644
--- a/media-libs/opensubdiv/opensubdiv-3.1.0.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.1.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.t
 
 LICENSE="ZLIB"
 SLOT="0"
-IUSE="cuda doc examples opencl openmp ptex tbb test tutorials"
+IUSE="cuda doc opencl openmp ptex tbb test"
 
 RDEPEND="media-libs/glew:=
 	media-libs/glfw:=
@@ -49,8 +49,8 @@ src_configure() {
 		-DNO_OPENCL=$(usex !opencl)
 		-DNO_CUDA=$(usex !cuda)
 		-DNO_REGRESSION=$(usex !test)
-		-DNO_EXAMPLES=$(usex !examples)
-		-DNO_TUTORIALS=$(usex !tutorials)
+		-DNO_EXAMPLES=1 # broken
+		-DNO_TUTORIALS=1 # broken
 		-DGLEW_LOCATION="${EPREFIX}/usr/$(get_libdir)"
 		-DGLFW_LOCATION="${EPREFIX}/usr/$(get_libdir)"
 	)

diff --git a/media-libs/opensubdiv/opensubdiv-3.1.1.ebuild b/media-libs/opensubdiv/opensubdiv-3.1.1.ebuild
index 0003926a6d4..5c1768b6b37 100644
--- a/media-libs/opensubdiv/opensubdiv-3.1.1.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.1.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.t
 
 LICENSE="ZLIB"
 SLOT="0"
-IUSE="cuda doc examples opencl openmp ptex tbb tutorials"
+IUSE="cuda doc opencl openmp ptex tbb"
 
 RDEPEND="media-libs/glew:=
 	media-libs/glfw:=
@@ -54,8 +54,8 @@ src_configure() {
 		-DNO_OPENCL=$(usex !opencl)
 		-DNO_CUDA=$(usex !cuda)
 		-DNO_REGRESSION=1 # The don't work with certain settings
-		-DNO_EXAMPLES=$(usex !examples)
-		-DNO_TUTORIALS=$(usex !tutorials)
+		-DNO_EXAMPLES=1 # Broken
+		-DNO_TUTORIALS=1 # Broken
 		-DGLEW_LOCATION="${EPREFIX}/usr/$(get_libdir)"
 		-DGLFW_LOCATION="${EPREFIX}/usr/$(get_libdir)"
 	)

diff --git a/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild b/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild
index b73f2a25deb..28ba08cb7a5 100644
--- a/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.t
 LICENSE="ZLIB"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="cuda doc examples opencl openmp ptex tbb tutorials"
+IUSE="cuda doc opencl openmp ptex tbb"
 
 RDEPEND="media-libs/glew:=
 	media-libs/glfw:=
@@ -21,7 +21,7 @@ RDEPEND="media-libs/glew:=
 
 DEPEND="${RDEPEND}
 	tbb? ( dev-cpp/tbb )
-	doc? ( 
+	doc? (
 		dev-python/docutils
 		app-doc/doxygen
 	)"
@@ -52,8 +52,8 @@ src_configure() {
 		-DNO_OPENCL=$(usex !opencl)
 		-DNO_CUDA=$(usex !cuda)
 		-DNO_REGRESSION=1 # They don't work with certain settings
-		-DNO_EXAMPLES=$(usex !examples)
-		-DNO_TUTORIALS=$(usex !tutorials)
+		-DNO_EXAMPLES=1 # Not needed.
+		-DNO_TUTORIALS=1 # They install illegally. Need to find a better solution.
 		-DGLEW_LOCATION="${EPREFIX}/usr/$(get_libdir)"
 		-DGLFW_LOCATION="${EPREFIX}/usr/$(get_libdir)"
 		-DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2018-01-27 17:19 Jonathan Scruggs
  0 siblings, 0 replies; 26+ messages in thread
From: Jonathan Scruggs @ 2018-01-27 17:19 UTC (permalink / raw
  To: gentoo-commits

commit:     38c4932b93aa143c977a6c3370cbbb740e812852
Author:     Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Sat Jan 27 14:54:07 2018 +0000
Commit:     Jonathan Scruggs <dracwyrm <AT> gentoo <DOT> org>
CommitDate: Sat Jan 27 17:19:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38c4932b

media-libs/opensubdiv: update metadata information

 media-libs/opensubdiv/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/opensubdiv/metadata.xml b/media-libs/opensubdiv/metadata.xml
index 8a3f73ac7b2..864dbf3fb2b 100644
--- a/media-libs/opensubdiv/metadata.xml
+++ b/media-libs/opensubdiv/metadata.xml
@@ -2,7 +2,7 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 	<maintainer restrict="&gt;=media-libs/opensubdiv-3.0.5" type="person">
-		<email>j.scruggs@gmail.com</email>
+		<email>dracwyrm@gentoo.org</email>
 		<name>Jonathan Scruggs</name>
 	</maintainer>
 	<maintainer restrict="&gt;=media-libs/opensubdiv-3.0.5" type="person">


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2018-03-30 16:04 Aaron Bauman
  0 siblings, 0 replies; 26+ messages in thread
From: Aaron Bauman @ 2018-03-30 16:04 UTC (permalink / raw
  To: gentoo-commits

commit:     3fbcb778a0b1252341532a73d47c7c6ac069f3fe
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 30 15:37:18 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Mar 30 16:04:08 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fbcb778

media-libs/opensubdiv: amd64 stable

Bug: https://bugs.gentoo.org/639806
Package-Manager: Portage-2.3.26, Repoman-2.3.7

 media-libs/opensubdiv/opensubdiv-3.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild b/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild
index f34298cd596..31007283c41 100644
--- a/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.t
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="cuda doc opencl openmp ptex tbb"
 
 RDEPEND="media-libs/glew:=


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2018-08-07 12:51 Jonathan Scruggs
  0 siblings, 0 replies; 26+ messages in thread
From: Jonathan Scruggs @ 2018-08-07 12:51 UTC (permalink / raw
  To: gentoo-commits

commit:     c022871e406b1a2a84e3d490da42cfc41f38d09a
Author:     Jonathan Scruggs <dracwyrm <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  7 12:51:01 2018 +0000
Commit:     Jonathan Scruggs <dracwyrm <AT> gentoo <DOT> org>
CommitDate: Tue Aug  7 12:51:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c022871e

media-libs/opensubdiv: remove no_maya configuration option

This option does not exist anymore.
CLoses: https://bugs.gentoo.org/659506
Package-Manager: Portage-2.3.44, Repoman-2.3.10

 media-libs/opensubdiv/opensubdiv-3.3.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild b/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild
index 31007283c41..fc3580b365e 100644
--- a/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild
@@ -45,7 +45,6 @@ pkg_setup() {
 
 src_configure() {
 	local mycmakeargs=(
-		-DNO_MAYA=1
 		-DNO_CLEW=1
 		-DNO_DOC=$(usex !doc)
 		-DNO_TBB=$(usex !tbb)


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2018-08-07 12:53 Jonathan Scruggs
  0 siblings, 0 replies; 26+ messages in thread
From: Jonathan Scruggs @ 2018-08-07 12:53 UTC (permalink / raw
  To: gentoo-commits

commit:     1ddbf737efc7d93b883dcb909afdfc68011ca1c2
Author:     Jonathan Scruggs <dracwyrm <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  7 12:53:26 2018 +0000
Commit:     Jonathan Scruggs <dracwyrm <AT> gentoo <DOT> org>
CommitDate: Tue Aug  7 12:53:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ddbf737

media-libs/opensubdiv: version bump to 3.3.3

Package-Manager: Portage-2.3.44, Repoman-2.3.10

 media-libs/opensubdiv/Manifest                |  1 +
 media-libs/opensubdiv/opensubdiv-3.3.3.ebuild | 64 +++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/media-libs/opensubdiv/Manifest b/media-libs/opensubdiv/Manifest
index 91635b62171..54d1559b5b3 100644
--- a/media-libs/opensubdiv/Manifest
+++ b/media-libs/opensubdiv/Manifest
@@ -1 +1,2 @@
 DIST opensubdiv-3.3.0.tar.gz 19263469 BLAKE2B f169b5c58877d1dd4ea45cb04d52567803da7c2d11edab072e2b65583109c7c2d52abe07f5bd2b03cba215cdb524a0468900419d8381e95c35eb2f3f4bebe02b SHA512 7c17d847187d46182d08fbee9396fd8793ac04591821084d40da475c9d25560d01575282946e1a30252bba12db9ea06cbf50ff649f91adce72f6127ad6a36418
+DIST opensubdiv-3.3.3.tar.gz 19286806 BLAKE2B 05e25f28a6f2194122d9d4e5299e6d68e236c1e78b4e8494a70191dfb37e45da30968322719bbb784a15d698206fea9e26e92d4689668592bc9ec9bccbc0201d SHA512 65cd72b4240eeb3fdb6d52497a2daa2fc68e10c25c41ffa0cf81449ebcb860e303539043c672265916267a0115f250566570b5705fd5da54f46abe7b9f7baf81

diff --git a/media-libs/opensubdiv/opensubdiv-3.3.3.ebuild b/media-libs/opensubdiv/opensubdiv-3.3.3.ebuild
new file mode 100644
index 00000000000..043b810269d
--- /dev/null
+++ b/media-libs/opensubdiv/opensubdiv-3.3.3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils toolchain-funcs eapi7-ver
+
+MY_PV="$(ver_rs "1-3" '_')"
+DESCRIPTION="An Open-Source subdivision surface library"
+HOMEPAGE="http://graphics.pixar.com/opensubdiv/"
+SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cuda doc opencl openmp ptex tbb"
+
+RDEPEND="media-libs/glew:=
+	media-libs/glfw:=
+	cuda? ( dev-util/nvidia-cuda-toolkit:* )
+	opencl? ( virtual/opencl )
+	ptex? ( media-libs/ptex )"
+
+DEPEND="${RDEPEND}
+	doc? (
+		dev-python/docutils
+		app-doc/doxygen
+	)
+	tbb? ( dev-cpp/tbb )"
+
+S="${WORKDIR}/OpenSubdiv-${MY_PV}"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-3.3.0-fix-quotes.patch"
+	"${FILESDIR}/${PN}-3.3.0-use-gnuinstalldirs.patch"
+	"${FILESDIR}/${PN}-3.3.0-add-CUDA9-compatibility.patch"
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DNO_CLEW=1
+		-DNO_DOC=$(usex !doc)
+		-DNO_TBB=$(usex !tbb)
+		-DNO_PTEX=$(usex !ptex)
+		-DNO_OMP=$(usex !openmp)
+		-DNO_OPENCL=$(usex !opencl)
+		-DNO_CUDA=$(usex !cuda)
+		-DNO_REGRESSION=1 # They don't work with certain settings
+		-DNO_EXAMPLES=1 # Not needed.
+		-DNO_TUTORIALS=1 # They install illegally. Need to find a better solution.
+		-DGLEW_LOCATION="${EPREFIX}/usr/$(get_libdir)"
+		-DGLFW_LOCATION="${EPREFIX}/usr/$(get_libdir)"
+	)
+
+	cmake-utils_src_configure
+}


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2019-04-07 14:22 Michał Górny
  0 siblings, 0 replies; 26+ messages in thread
From: Michał Górny @ 2019-04-07 14:22 UTC (permalink / raw
  To: gentoo-commits

commit:     d31beeaf34beb7090c51cfe1975facf00b225095
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  7 14:21:35 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr  7 14:22:24 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d31beeaf

media-libs/opensubdiv: Remove unnecessary maint restrict

Remove restrict="" attribute from <maintainer/> (which was missing
for proxy-maint, by the way) since there is no older versions around.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-libs/opensubdiv/metadata.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/opensubdiv/metadata.xml b/media-libs/opensubdiv/metadata.xml
index 864dbf3fb2b..6256d93f312 100644
--- a/media-libs/opensubdiv/metadata.xml
+++ b/media-libs/opensubdiv/metadata.xml
@@ -1,11 +1,11 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer restrict="&gt;=media-libs/opensubdiv-3.0.5" type="person">
+	<maintainer type="person">
 		<email>dracwyrm@gentoo.org</email>
 		<name>Jonathan Scruggs</name>
 	</maintainer>
-	<maintainer restrict="&gt;=media-libs/opensubdiv-3.0.5" type="person">
+	<maintainer type="person">
 		<email>agrigo2001@yahoo.com.au</email>
 		<name>Adrian Grigo</name>
 	</maintainer>


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2019-05-25  8:52 Mikle Kolyada
  0 siblings, 0 replies; 26+ messages in thread
From: Mikle Kolyada @ 2019-05-25  8:52 UTC (permalink / raw
  To: gentoo-commits

commit:     17eb4866bd370b8058295413f929e2c7e2f24f3e
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat May 25 08:51:45 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat May 25 08:51:45 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17eb4866

media-libs/opensubdiv: amd64 stable wrt bug #639806

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 media-libs/opensubdiv/opensubdiv-3.3.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/opensubdiv/opensubdiv-3.3.3.ebuild b/media-libs/opensubdiv/opensubdiv-3.3.3.ebuild
index 043b810269d..eedadea9985 100644
--- a/media-libs/opensubdiv/opensubdiv-3.3.3.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.3.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.t
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="cuda doc opencl openmp ptex tbb"
 
 RDEPEND="media-libs/glew:=


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2019-06-06 20:33 Andreas Sturmlechner
  0 siblings, 0 replies; 26+ messages in thread
From: Andreas Sturmlechner @ 2019-06-06 20:33 UTC (permalink / raw
  To: gentoo-commits

commit:     4e69aa4975188a533a004f69d9746bd21b7524e7
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  6 19:28:46 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jun  6 20:33:15 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e69aa49

media-libs/opensubdiv: Drop 3.3.0

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/opensubdiv/Manifest                |  1 -
 media-libs/opensubdiv/opensubdiv-3.3.0.ebuild | 64 ---------------------------
 2 files changed, 65 deletions(-)

diff --git a/media-libs/opensubdiv/Manifest b/media-libs/opensubdiv/Manifest
index 54d1559b5b3..379d12df0ac 100644
--- a/media-libs/opensubdiv/Manifest
+++ b/media-libs/opensubdiv/Manifest
@@ -1,2 +1 @@
-DIST opensubdiv-3.3.0.tar.gz 19263469 BLAKE2B f169b5c58877d1dd4ea45cb04d52567803da7c2d11edab072e2b65583109c7c2d52abe07f5bd2b03cba215cdb524a0468900419d8381e95c35eb2f3f4bebe02b SHA512 7c17d847187d46182d08fbee9396fd8793ac04591821084d40da475c9d25560d01575282946e1a30252bba12db9ea06cbf50ff649f91adce72f6127ad6a36418
 DIST opensubdiv-3.3.3.tar.gz 19286806 BLAKE2B 05e25f28a6f2194122d9d4e5299e6d68e236c1e78b4e8494a70191dfb37e45da30968322719bbb784a15d698206fea9e26e92d4689668592bc9ec9bccbc0201d SHA512 65cd72b4240eeb3fdb6d52497a2daa2fc68e10c25c41ffa0cf81449ebcb860e303539043c672265916267a0115f250566570b5705fd5da54f46abe7b9f7baf81

diff --git a/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild b/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild
deleted file mode 100644
index fc3580b365e..00000000000
--- a/media-libs/opensubdiv/opensubdiv-3.3.0.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit cmake-utils toolchain-funcs versionator
-
-MY_PV="$(replace_all_version_separators '_')"
-DESCRIPTION="An Open-Source subdivision surface library"
-HOMEPAGE="http://graphics.pixar.com/opensubdiv/"
-SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-IUSE="cuda doc opencl openmp ptex tbb"
-
-RDEPEND="media-libs/glew:=
-	media-libs/glfw:=
-	cuda? ( dev-util/nvidia-cuda-toolkit:* )
-	opencl? ( virtual/opencl )
-	ptex? ( media-libs/ptex )"
-
-DEPEND="${RDEPEND}
-	tbb? ( dev-cpp/tbb )
-	doc? (
-		dev-python/docutils
-		app-doc/doxygen
-	)"
-
-S="${WORKDIR}/OpenSubdiv-${MY_PV}"
-
-PATCHES=(
-	"${FILESDIR}/${P}-fix-quotes.patch"
-	"${FILESDIR}/${P}-use-gnuinstalldirs.patch"
-	"${FILESDIR}/${P}-add-CUDA9-compatibility.patch"
-)
-
-pkg_pretend() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DNO_CLEW=1
-		-DNO_DOC=$(usex !doc)
-		-DNO_TBB=$(usex !tbb)
-		-DNO_PTEX=$(usex !ptex)
-		-DNO_OMP=$(usex !openmp)
-		-DNO_OPENCL=$(usex !opencl)
-		-DNO_CUDA=$(usex !cuda)
-		-DNO_REGRESSION=1 # They don't work with certain settings
-		-DNO_EXAMPLES=1 # Not needed.
-		-DNO_TUTORIALS=1 # They install illegally. Need to find a better solution.
-		-DGLEW_LOCATION="${EPREFIX}/usr/$(get_libdir)"
-		-DGLFW_LOCATION="${EPREFIX}/usr/$(get_libdir)"
-		-DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
-	)
-
-	cmake-utils_src_configure
-}


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2020-06-08  7:46 Joonas Niilola
  0 siblings, 0 replies; 26+ messages in thread
From: Joonas Niilola @ 2020-06-08  7:46 UTC (permalink / raw
  To: gentoo-commits

commit:     ac3aeef7d2de3c20b7e53c4faf3d30ac894137bf
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  8 07:22:45 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jun  8 07:45:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3aeef7

media-libs/opensubdiv: redundant long description

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/opensubdiv/metadata.xml | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/media-libs/opensubdiv/metadata.xml b/media-libs/opensubdiv/metadata.xml
index bc4eae250ff..b043cddb448 100644
--- a/media-libs/opensubdiv/metadata.xml
+++ b/media-libs/opensubdiv/metadata.xml
@@ -9,28 +9,25 @@
 		<email>proxy-maint@gentoo.org</email>
 		<name>Proxy Maintainers</name>
 	</maintainer>
-	<longdescription>
-		An Open-Source subdivision surface library.
-	</longdescription>
 	<use>
 		<flag name="cuda">
 			Enable NVIDIA CUDA Toolkit support through
-			<pkg>dev-util/nvidia-cuda-toolkit</pkg>.
+			<pkg>dev-util/nvidia-cuda-toolkit</pkg>
 		</flag>
 		<flag name="opencl">
 			Enable OpenCL support through
-			<pkg>virtual/opencl</pkg>.
+			<pkg>virtual/opencl</pkg>
 		</flag>
 		<flag name="ptex">
 			Adds support for faster per-face texture mapping through
-			<pkg>media-libs/ptex</pkg>.
+			<pkg>media-libs/ptex</pkg>
 		</flag>
 		<flag name="tbb">
 			Enable multithreading with the Intel Threads Building Blocks through
-			<pkg>dev-cpp/tbb</pkg>.
+			<pkg>dev-cpp/tbb</pkg>
 		</flag>
 		<flag name="tutorials">
-			Install the tutorials.
+			Install the tutorials
 		</flag>
 	</use>
 	<upstream>


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2020-06-08  7:46 Joonas Niilola
  0 siblings, 0 replies; 26+ messages in thread
From: Joonas Niilola @ 2020-06-08  7:46 UTC (permalink / raw
  To: gentoo-commits

commit:     d8b704713c1d3d78108d58c2b6aab617f59c4841
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  8 07:27:26 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jun  8 07:45:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8b70471

media-libs/opensubdiv: undo changes to stable ebuild

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/opensubdiv/opensubdiv-3.3.3.ebuild | 64 +++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/media-libs/opensubdiv/opensubdiv-3.3.3.ebuild b/media-libs/opensubdiv/opensubdiv-3.3.3.ebuild
new file mode 100644
index 00000000000..cbbf0be097d
--- /dev/null
+++ b/media-libs/opensubdiv/opensubdiv-3.3.3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils toolchain-funcs eapi7-ver
+
+MY_PV="$(ver_rs "1-3" '_')"
+DESCRIPTION="An Open-Source subdivision surface library"
+HOMEPAGE="http://graphics.pixar.com/opensubdiv/"
+SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="amd64 ~x86"
+IUSE="cuda doc opencl openmp ptex tbb"
+
+RDEPEND="media-libs/glew:=
+	media-libs/glfw:=
+	cuda? ( dev-util/nvidia-cuda-toolkit:* )
+	opencl? ( virtual/opencl )
+	ptex? ( media-libs/ptex )"
+
+DEPEND="${RDEPEND}
+	doc? (
+		dev-python/docutils
+		app-doc/doxygen
+	)
+	tbb? ( dev-cpp/tbb )"
+
+S="${WORKDIR}/OpenSubdiv-${MY_PV}"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-3.3.0-fix-quotes.patch"
+	"${FILESDIR}/${PN}-3.3.0-use-gnuinstalldirs.patch"
+	"${FILESDIR}/${PN}-3.3.0-add-CUDA9-compatibility.patch"
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DNO_CLEW=1
+		-DNO_DOC=$(usex !doc)
+		-DNO_TBB=$(usex !tbb)
+		-DNO_PTEX=$(usex !ptex)
+		-DNO_OMP=$(usex !openmp)
+		-DNO_OPENCL=$(usex !opencl)
+		-DNO_CUDA=$(usex !cuda)
+		-DNO_REGRESSION=1 # They don't work with certain settings
+		-DNO_EXAMPLES=1 # Not needed.
+		-DNO_TUTORIALS=1 # They install illegally. Need to find a better solution.
+		-DGLEW_LOCATION="${EPREFIX}/usr/$(get_libdir)"
+		-DGLFW_LOCATION="${EPREFIX}/usr/$(get_libdir)"
+	)
+
+	cmake-utils_src_configure
+}


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2020-06-08  7:46 Joonas Niilola
  0 siblings, 0 replies; 26+ messages in thread
From: Joonas Niilola @ 2020-06-08  7:46 UTC (permalink / raw
  To: gentoo-commits

commit:     cb3a876d48da1635dc54a759b29ef5ef90a0666f
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  8 07:27:00 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jun  8 07:45:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb3a876d

media-libs/opensubdiv: clean ebuilds

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../{opensubdiv-3.3.3.ebuild => opensubdiv-3.3.3-r1.ebuild}       | 8 ++++----
 media-libs/opensubdiv/opensubdiv-3.4.3.ebuild                     | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/media-libs/opensubdiv/opensubdiv-3.3.3.ebuild b/media-libs/opensubdiv/opensubdiv-3.3.3-r1.ebuild
similarity index 98%
rename from media-libs/opensubdiv/opensubdiv-3.3.3.ebuild
rename to media-libs/opensubdiv/opensubdiv-3.3.3-r1.ebuild
index c0ddde3439a..92f1b42c70a 100644
--- a/media-libs/opensubdiv/opensubdiv-3.3.3.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.3.3-r1.ebuild
@@ -17,17 +17,17 @@ SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.t
 # See for example CMakeLists.txt for details.
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="~amd64 ~x86"
 IUSE="cuda doc examples opencl openmp ptex tbb test tutorials"
 
 RDEPEND="
-	${PYTHON_DEPENDS}
+	${PYTHON_DEPS}
 	media-libs/glew:=
 	media-libs/glfw:=
+	x11-libs/libXinerama
 	cuda? ( dev-util/nvidia-cuda-toolkit:* )
 	opencl? ( virtual/opencl )
 	ptex? ( media-libs/ptex )
-	x11-libs/libXinerama
 "
 DEPEND="
 	${RDEPEND}
@@ -35,8 +35,8 @@ DEPEND="
 "
 BDEPEND="
 	doc? (
-		dev-python/docutils
 		app-doc/doxygen
+		dev-python/docutils
 	)
 	cuda? ( <sys-devel/gcc-9[cxx] )
 "

diff --git a/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild b/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild
index 825694ee567..92f1b42c70a 100644
--- a/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild
@@ -21,13 +21,13 @@ KEYWORDS="~amd64 ~x86"
 IUSE="cuda doc examples opencl openmp ptex tbb test tutorials"
 
 RDEPEND="
-	${PYTHON_DEPENDS}
+	${PYTHON_DEPS}
 	media-libs/glew:=
 	media-libs/glfw:=
+	x11-libs/libXinerama
 	cuda? ( dev-util/nvidia-cuda-toolkit:* )
 	opencl? ( virtual/opencl )
 	ptex? ( media-libs/ptex )
-	x11-libs/libXinerama
 "
 DEPEND="
 	${RDEPEND}
@@ -35,8 +35,8 @@ DEPEND="
 "
 BDEPEND="
 	doc? (
-		dev-python/docutils
 		app-doc/doxygen
+		dev-python/docutils
 	)
 	cuda? ( <sys-devel/gcc-9[cxx] )
 "


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2020-11-08 10:29 Sam James
  0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2020-11-08 10:29 UTC (permalink / raw
  To: gentoo-commits

commit:     fa578f1157e7a15e47f88b3d6c1588300cde8e7a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  8 10:28:21 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov  8 10:28:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa578f11

media-libs/opensubdiv: Stabilize 3.4.3 amd64, #746740

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/opensubdiv/opensubdiv-3.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild b/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild
index 92f1b42c70a..6944163c7df 100644
--- a/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.t
 # See for example CMakeLists.txt for details.
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="cuda doc examples opencl openmp ptex tbb test tutorials"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2021-02-22  7:12 Sam James
  0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2021-02-22  7:12 UTC (permalink / raw
  To: gentoo-commits

commit:     b9e4b426fc860f4433a6c91c18ce6e4f75e42a0e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 22 07:12:28 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 07:12:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e4b426

media-libs/opensubdiv: Keyword 3.4.3 arm, #556758

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/opensubdiv/opensubdiv-3.4.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild b/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild
index 6944163c7df..51707c88fe7 100644
--- a/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.t
 # See for example CMakeLists.txt for details.
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 ~arm ~x86"
 IUSE="cuda doc examples opencl openmp ptex tbb test tutorials"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2021-03-05 18:39 Sam James
  0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2021-03-05 18:39 UTC (permalink / raw
  To: gentoo-commits

commit:     cbb1d24e63e4026b2e4929b455cd272614079755
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  5 18:38:46 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar  5 18:38:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb1d24e

media-libs/opensubdiv: Keyword 3.4.3 arm64, #556758

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/opensubdiv/opensubdiv-3.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild b/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild
index 51707c88fe7..765b0146696 100644
--- a/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.t
 # See for example CMakeLists.txt for details.
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
 IUSE="cuda doc examples opencl openmp ptex tbb test tutorials"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2021-10-09  4:21 Sam James
  0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2021-10-09  4:21 UTC (permalink / raw
  To: gentoo-commits

commit:     e4dfe173407c47cbd202d3fd062f949a11b31e12
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  9 04:16:23 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  9 04:21:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4dfe173

media-libs/opensubdiv: add 3.4.4

Drops docs support as it requires Python 2.

Closes: https://bugs.gentoo.org/774264
Closes: https://bugs.gentoo.org/815172
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/opensubdiv/Manifest                |  1 +
 media-libs/opensubdiv/opensubdiv-3.4.4.ebuild | 85 +++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/media-libs/opensubdiv/Manifest b/media-libs/opensubdiv/Manifest
index 9d551e63ade..ab281bfc665 100644
--- a/media-libs/opensubdiv/Manifest
+++ b/media-libs/opensubdiv/Manifest
@@ -1 +1,2 @@
 DIST opensubdiv-3.4.3.tar.gz 39225589 BLAKE2B adb3a3e786999029e5b71659425ed49ea1939a92e2d8ba39ae6abf25ec02c873b8b1bdd34d2e32f843911c7acf5e277a779f82621863fbe0641f772e7603beed SHA512 44fd1361d9e7f48c3fa84f3420ed34743571220602aefb082a42f769ca5b8e9ac21907ce8714f6e3a2caadd75adae03c535a1949a8e6450dfea9ae7a2247cfc2
+DIST opensubdiv-3.4.4.tar.gz 39228037 BLAKE2B 53bada3ff2652c6041a3becaf037b593c0e1e4c1bd57a285e6c068c11060b06f9ab0617284a57d0e8974f80082abd6563930ede8b1d6bfb801bfa61dd3256445 SHA512 fc8f28b79347015c8991150535c1339e695d96947c72fadd4fa27b546a0813c1125cd175ee03bed5aacdb3609f74c4e526ef70103d1195ba9f7df041e73ea9fb

diff --git a/media-libs/opensubdiv/opensubdiv-3.4.4.ebuild b/media-libs/opensubdiv/opensubdiv-3.4.4.ebuild
new file mode 100644
index 00000000000..20acfdfe73a
--- /dev/null
+++ b/media-libs/opensubdiv/opensubdiv-3.4.4.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_MAKEFILE_GENERATOR=emake
+
+inherit cmake toolchain-funcs
+
+MY_PV="$(ver_rs "1-3" '_')"
+DESCRIPTION="An Open-Source subdivision surface library"
+HOMEPAGE="https://graphics.pixar.com/opensubdiv/docs/intro.html"
+SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/OpenSubdiv-${MY_PV}"
+
+# Modfied Apache-2.0 license, where section 6 has been replaced.
+# See for example CMakeLists.txt for details.
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="cuda examples opencl openmp ptex tbb test tutorials"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	media-libs/glew:=
+	media-libs/glfw:=
+	x11-libs/libXinerama
+	cuda? ( dev-util/nvidia-cuda-toolkit:* )
+	opencl? ( virtual/opencl )
+	ptex? ( media-libs/ptex )
+"
+DEPEND="
+	${RDEPEND}
+	tbb? ( dev-cpp/tbb )
+"
+BDEPEND="
+	cuda? ( <sys-devel/gcc-9[cxx] )
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-3.3.0-use-gnuinstalldirs.patch"
+	"${FILESDIR}/${PN}-3.3.0-add-CUDA9-compatibility.patch"
+	"${FILESDIR}/${PN}-3.4.3-install-tutorials-into-bin.patch"
+)
+
+pkg_pretend() {
+	if use cuda; then
+		[[ $(gcc-major-version) -gt 8 ]] && \
+		eerror "USE=cuda requires gcc < 9. Run gcc-config to switch your default compiler" && \
+		die "Need gcc version earlier than 9"
+	fi
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+	# GLTESTS are disabled as portage is unable to open a display during test phase
+	# TODO: virtx work?
+	local mycmakeargs=(
+		-DGLEW_LOCATION="${ESYSROOT}/usr/$(get_libdir)"
+		-DGLFW_LOCATION="${ESYSROOT}/usr/$(get_libdir)"
+		-DNO_CLEW=ON
+		-DNO_CUDA=$(usex !cuda)
+		# Docs needed Python 2 so disabled
+		# bug #815172
+		-DNO_DOC=ON
+		-DNO_EXAMPLES=$(usex !examples)
+		-DNO_GLTESTS=ON
+		-DNO_OMP=$(usex !openmp)
+		-DNO_OPENCL=$(usex !opencl)
+		-DNO_PTEX=$(usex !ptex)
+		-DNO_REGRESSION=$(usex !test)
+		-DNO_TBB=$(usex !tbb)
+		-DNO_TESTS=$(usex !test)
+		-DNO_TUTORIALS=$(usex !tutorials)
+	)
+
+	# Fails with building cuda kernels when using multiple jobs
+	export MAKEOPTS="-j1"
+
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2021-10-29 22:23 Sam James
  0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2021-10-29 22:23 UTC (permalink / raw
  To: gentoo-commits

commit:     d4ecda6ce14e21362d2a26a582d651c1dc9ed93a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 22:16:33 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 22:22:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4ecda6c

media-libs/opensubdiv: add tbb subslot operator

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../opensubdiv/{opensubdiv-3.4.3.ebuild => opensubdiv-3.4.3-r1.ebuild}  | 2 +-
 .../opensubdiv/{opensubdiv-3.4.4.ebuild => opensubdiv-3.4.4-r1.ebuild}  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild b/media-libs/opensubdiv/opensubdiv-3.4.3-r1.ebuild
similarity index 98%
rename from media-libs/opensubdiv/opensubdiv-3.4.3.ebuild
rename to media-libs/opensubdiv/opensubdiv-3.4.3-r1.ebuild
index 765b0146696..69421b7d9ef 100644
--- a/media-libs/opensubdiv/opensubdiv-3.4.3.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.4.3-r1.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
 "
 DEPEND="
 	${RDEPEND}
-	tbb? ( dev-cpp/tbb )
+	tbb? ( dev-cpp/tbb:= )
 "
 BDEPEND="
 	doc? (

diff --git a/media-libs/opensubdiv/opensubdiv-3.4.4.ebuild b/media-libs/opensubdiv/opensubdiv-3.4.4-r1.ebuild
similarity index 98%
rename from media-libs/opensubdiv/opensubdiv-3.4.4.ebuild
rename to media-libs/opensubdiv/opensubdiv-3.4.4-r1.ebuild
index 20acfdfe73a..7f1794750aa 100644
--- a/media-libs/opensubdiv/opensubdiv-3.4.4.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.4.4-r1.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
 "
 DEPEND="
 	${RDEPEND}
-	tbb? ( dev-cpp/tbb )
+	tbb? ( dev-cpp/tbb:= )
 "
 BDEPEND="
 	cuda? ( <sys-devel/gcc-9[cxx] )


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2021-10-30 17:18 Sam James
  0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2021-10-30 17:18 UTC (permalink / raw
  To: gentoo-commits

commit:     3f32f880956e37949253999b88bf267ce8c56b78
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 30 17:17:53 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 30 17:17:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f32f880

media-libs/opensubdiv: needs deprecated TBB features, depend on older version

Bug: https://bugs.gentoo.org/820824
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/opensubdiv/opensubdiv-3.4.3-r1.ebuild | 2 +-
 media-libs/opensubdiv/opensubdiv-3.4.4-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/opensubdiv/opensubdiv-3.4.3-r1.ebuild b/media-libs/opensubdiv/opensubdiv-3.4.3-r1.ebuild
index 69421b7d9ef..f9593b44235 100644
--- a/media-libs/opensubdiv/opensubdiv-3.4.3-r1.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.4.3-r1.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
 "
 DEPEND="
 	${RDEPEND}
-	tbb? ( dev-cpp/tbb:= )
+	tbb? ( <dev-cpp/tbb-2021.4.0:= )
 "
 BDEPEND="
 	doc? (

diff --git a/media-libs/opensubdiv/opensubdiv-3.4.4-r1.ebuild b/media-libs/opensubdiv/opensubdiv-3.4.4-r1.ebuild
index 7f1794750aa..533364777c1 100644
--- a/media-libs/opensubdiv/opensubdiv-3.4.4-r1.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.4.4-r1.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
 "
 DEPEND="
 	${RDEPEND}
-	tbb? ( dev-cpp/tbb:= )
+	tbb? ( <dev-cpp/tbb-2021.4.0:= )
 "
 BDEPEND="
 	cuda? ( <sys-devel/gcc-9[cxx] )


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2021-10-30 17:21 Agostino Sarubbo
  0 siblings, 0 replies; 26+ messages in thread
From: Agostino Sarubbo @ 2021-10-30 17:21 UTC (permalink / raw
  To: gentoo-commits

commit:     dd99aec351497f8d85138b9b73278d7d31610067
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 30 17:21:56 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Oct 30 17:21:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd99aec3

media-libs/opensubdiv: amd64 stable wrt bug #815172

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 media-libs/opensubdiv/opensubdiv-3.4.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/opensubdiv/opensubdiv-3.4.4-r1.ebuild b/media-libs/opensubdiv/opensubdiv-3.4.4-r1.ebuild
index 533364777c1..fe2e02e7075 100644
--- a/media-libs/opensubdiv/opensubdiv-3.4.4-r1.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.4.4-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/OpenSubdiv-${MY_PV}"
 # See for example CMakeLists.txt for details.
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
 IUSE="cuda examples opencl openmp ptex tbb test tutorials"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2022-03-20 16:53 Sam James
  0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2022-03-20 16:53 UTC (permalink / raw
  To: gentoo-commits

commit:     6d05aa7b786ea74b1ed7f88fe4b2c3c4ed3b0512
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 16:52:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 16:52:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d05aa7b

media-libs/opensubdiv: Stabilize 3.4.4-r3 amd64, #835590

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/opensubdiv/opensubdiv-3.4.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/opensubdiv/opensubdiv-3.4.4-r3.ebuild b/media-libs/opensubdiv/opensubdiv-3.4.4-r3.ebuild
index 524b64930836..97c11871340d 100644
--- a/media-libs/opensubdiv/opensubdiv-3.4.4-r3.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.4.4-r3.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/OpenSubdiv-${MY_PV}"
 # See for example CMakeLists.txt for details.
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
 IUSE="cuda examples opencl openmp ptex tbb test tutorials"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2024-01-20 12:32 Sam James
  0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2024-01-20 12:32 UTC (permalink / raw
  To: gentoo-commits

commit:     c645a8f22e320746e5111d59a500fe37acdd9179
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Fri Dec  8 14:19:10 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 12:29:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c645a8f2

media-libs/opensubdiv: add 3.5.1, 3.6.0

Closes: https://bugs.gentoo.org/903982
Closes: https://bugs.gentoo.org/891301
Closes: https://bugs.gentoo.org/884463
Closes: https://bugs.gentoo.org/835589
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34546
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/opensubdiv/Manifest                |   2 +
 media-libs/opensubdiv/opensubdiv-3.5.1.ebuild | 121 ++++++++++++++++++++++++++
 media-libs/opensubdiv/opensubdiv-3.6.0.ebuild | 121 ++++++++++++++++++++++++++
 3 files changed, 244 insertions(+)

diff --git a/media-libs/opensubdiv/Manifest b/media-libs/opensubdiv/Manifest
index f158e1b146bd..819ea2eabdac 100644
--- a/media-libs/opensubdiv/Manifest
+++ b/media-libs/opensubdiv/Manifest
@@ -1,2 +1,4 @@
 DIST opensubdiv-3.4.4.tar.gz 39228037 BLAKE2B 53bada3ff2652c6041a3becaf037b593c0e1e4c1bd57a285e6c068c11060b06f9ab0617284a57d0e8974f80082abd6563930ede8b1d6bfb801bfa61dd3256445 SHA512 fc8f28b79347015c8991150535c1339e695d96947c72fadd4fa27b546a0813c1125cd175ee03bed5aacdb3609f74c4e526ef70103d1195ba9f7df041e73ea9fb
 DIST opensubdiv-3.5.0.tar.gz 40740801 BLAKE2B 08ad5cdc4b38b9862e62a8871fa1ed9ee5d9ff3b617c1f5627c2b773804d207028e29517d3e7015c8712b5f8ac378f3e35811de2c67711ff4a320d00bd6ce1a7 SHA512 7ede8f3f335a6306486d649199117401ab4285d360a3b53a536f25046d94741b5e7eacbc06a55d8a0bd5798c810c1b3cfd7964859f04f95363ad26411310b320
+DIST opensubdiv-3.5.1.tar.gz 40743642 BLAKE2B 2e4cf93c38daccc383c9af0c8602e28920be92427ee3aa0eca58d698ce3768fd5a6b030a8942f128500b608ad97e95a8c2e675f4660ae373b3bf5f99084360ab SHA512 ac028a10de9ebe907f573d2a2c7f30cea8ffefbe8c4859035d1782d27128051f8753dba16f9478a0f4e8f1d03ddddcf12cece98031e19cabf24f98c0bda9058d
+DIST opensubdiv-3.6.0.tar.gz 40746688 BLAKE2B 23f92fa028ae32b430350998299dab3fbb87b8530755abd435ce059223998a8f3d48de17c746028362fd1d2eee33e8a4c7a55b8cf4083202cfd0b6d27de008c7 SHA512 a976733a26e2c0f6510f59d4372b1b33f5404a9d536bcbd6ae3a1a0ffd1bba5495df7108bebc854d5c069575772c97c0d00f0f16f79e87611376ba84e9ae7a4b

diff --git a/media-libs/opensubdiv/opensubdiv-3.5.1.ebuild b/media-libs/opensubdiv/opensubdiv-3.5.1.ebuild
new file mode 100644
index 000000000000..8ddbb2e65dac
--- /dev/null
+++ b/media-libs/opensubdiv/opensubdiv-3.5.1.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake cuda toolchain-funcs
+
+MY_PV="$(ver_rs "1-3" '_')"
+
+DESCRIPTION="An Open-Source subdivision surface library"
+HOMEPAGE="https://graphics.pixar.com/opensubdiv/docs/intro.html"
+SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/OpenSubdiv-${MY_PV}"
+
+# Modfied Apache-2.0 license, where section 6 has been replaced.
+# See for example CMakeLists.txt for details.
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="cuda examples opencl openmp ptex tbb test tutorials"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	examples? (
+		media-libs/glew:=
+		media-libs/glfw:=
+		x11-libs/libXinerama
+	)
+	cuda? ( dev-util/nvidia-cuda-toolkit:* )
+	opencl? ( virtual/opencl )
+	ptex? ( media-libs/ptex )
+"
+DEPEND="
+	${RDEPEND}
+	tbb? ( dev-cpp/tbb:= )
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-3.3.0-use-gnuinstalldirs.patch"
+	"${FILESDIR}/${PN}-3.4.3-install-tutorials-into-bin.patch"
+	"${FILESDIR}/${PN}-3.4.4-tbb-2021.patch"
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_prepare() {
+	cmake_src_prepare
+
+	use cuda && cuda_src_prepare
+}
+
+src_configure() {
+	# GLTESTS are disabled as portage is unable to open a display during test phase
+	# TODO: virtx work?
+	local mycmakeargs=(
+		-DGLEW_LOCATION="${ESYSROOT}/usr/$(get_libdir)"
+		-DGLFW_LOCATION="${ESYSROOT}/usr/$(get_libdir)"
+		-DNO_CLEW=ON
+		-DNO_CUDA=$(usex !cuda)
+		# Docs needed Python 2 so disabled
+		# bug #815172
+		-DNO_DOC=ON
+		-DNO_EXAMPLES=$(usex !examples)
+		-DNO_GLTESTS=ON
+		-DNO_OMP=$(usex !openmp)
+		-DNO_OPENCL=$(usex !opencl)
+		-DNO_PTEX=$(usex !ptex)
+		-DNO_REGRESSION=$(usex !test)
+		-DNO_TBB=$(usex !tbb)
+		-DNO_TESTS=$(usex !test)
+		-DNO_TUTORIALS=$(usex !tutorials)
+	)
+
+	if use cuda; then
+		# old cmake CUDA module doesn't use environment variable to initialize flags
+		mycmakeargs+=( -DCUDA_NVCC_FLAGS="${NVCCFLAGS}" )
+
+		# check if user provided --gpu-architecture/-arch flag and prevent cmake from overriding it if so
+		for f in ${NVCCFLAGS}; do
+			if [[ ${f} == -arch* || ${f} == --gpu-architecture* ]]; then
+				mycmakeargs+=( -DOSD_CUDA_NVCC_FLAGS="" )
+				break
+			fi
+		done
+	fi
+
+	cmake_src_configure
+}
+
+src_test() {
+	CMAKE_SKIP_TESTS=(
+		"far_tutorial_1_2"
+	)
+
+	cmake_src_test
+}
+
+src_install() {
+	cmake_src_install
+
+	rm -f "${ED}/usr/lib64/libosdCPU.a" || die
+	if use cuda || use opencl ; then
+		rm -f "${ED}/usr/lib64/libosdGPU.a" || die
+	fi
+	if use test; then
+		rm -f \
+			"${ED}/usr/bin/bfr_evaluate" \
+			"${ED}/usr/bin/far_perf" \
+			"${ED}/usr/bin/far_regression" \
+			"${ED}/usr/bin/hbr_baseline" \
+			"${ED}/usr/bin/hbr_regression" \
+			"${ED}/usr/bin/osd_regression" \
+			|| die
+	fi
+}

diff --git a/media-libs/opensubdiv/opensubdiv-3.6.0.ebuild b/media-libs/opensubdiv/opensubdiv-3.6.0.ebuild
new file mode 100644
index 000000000000..8670a76affd4
--- /dev/null
+++ b/media-libs/opensubdiv/opensubdiv-3.6.0.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake cuda toolchain-funcs
+
+MY_PV="$(ver_rs "1-3" '_')"
+
+DESCRIPTION="An Open-Source subdivision surface library"
+HOMEPAGE="https://graphics.pixar.com/opensubdiv/docs/intro.html"
+SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/OpenSubdiv-${MY_PV}"
+
+# Modfied Apache-2.0 license, where section 6 has been replaced.
+# See for example CMakeLists.txt for details.
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="cuda examples opencl openmp ptex tbb test tutorials"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	examples? (
+		media-libs/glew:=
+		media-libs/glfw:=
+		x11-libs/libXinerama
+	)
+	cuda? ( dev-util/nvidia-cuda-toolkit:* )
+	opencl? ( virtual/opencl )
+	ptex? ( media-libs/ptex )
+"
+DEPEND="
+	${RDEPEND}
+	tbb? ( dev-cpp/tbb:= )
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-3.3.0-use-gnuinstalldirs.patch"
+	"${FILESDIR}/${PN}-3.4.3-install-tutorials-into-bin.patch"
+	# "${FILESDIR}/${PN}-3.4.4-tbb-2021.patch"
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_prepare() {
+	cmake_src_prepare
+
+	use cuda && cuda_src_prepare
+}
+
+src_configure() {
+	# GLTESTS are disabled as portage is unable to open a display during test phase
+	# TODO: virtx work?
+	local mycmakeargs=(
+		-DGLEW_LOCATION="${ESYSROOT}/usr/$(get_libdir)"
+		-DGLFW_LOCATION="${ESYSROOT}/usr/$(get_libdir)"
+		-DNO_CLEW=ON
+		-DNO_CUDA=$(usex !cuda)
+		# Docs needed Python 2 so disabled
+		# bug #815172
+		-DNO_DOC=ON
+		-DNO_EXAMPLES=$(usex !examples)
+		-DNO_GLTESTS=ON
+		-DNO_OMP=$(usex !openmp)
+		-DNO_OPENCL=$(usex !opencl)
+		-DNO_PTEX=$(usex !ptex)
+		-DNO_REGRESSION=$(usex !test)
+		-DNO_TBB=$(usex !tbb)
+		-DNO_TESTS=$(usex !test)
+		-DNO_TUTORIALS=$(usex !tutorials)
+	)
+
+	if use cuda; then
+		# old cmake CUDA module doesn't use environment variable to initialize flags
+		mycmakeargs+=( -DCUDA_NVCC_FLAGS="${NVCCFLAGS}" )
+
+		# check if user provided --gpu-architecture/-arch flag and prevent cmake from overriding it if so
+		for f in ${NVCCFLAGS}; do
+			if [[ ${f} == -arch* || ${f} == --gpu-architecture* ]]; then
+				mycmakeargs+=( -DOSD_CUDA_NVCC_FLAGS="" )
+				break
+			fi
+		done
+	fi
+
+	cmake_src_configure
+}
+
+src_test() {
+	CMAKE_SKIP_TESTS=(
+		"far_tutorial_1_2"
+	)
+
+	cmake_src_test
+}
+
+src_install() {
+	cmake_src_install
+
+	rm -f "${ED}/usr/lib64/libosdCPU.a" || die
+	if use cuda || use opencl ; then
+		rm -f "${ED}/usr/lib64/libosdGPU.a" || die
+	fi
+	if use test; then
+		rm -f \
+			"${ED}/usr/bin/bfr_evaluate" \
+			"${ED}/usr/bin/far_perf" \
+			"${ED}/usr/bin/far_regression" \
+			"${ED}/usr/bin/hbr_baseline" \
+			"${ED}/usr/bin/hbr_regression" \
+			"${ED}/usr/bin/osd_regression" \
+			|| die
+	fi
+}


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2024-01-20 12:32 Sam James
  0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2024-01-20 12:32 UTC (permalink / raw
  To: gentoo-commits

commit:     9411e1cc1def1926057d4c18b118096e147f05bd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 20 12:30:50 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 12:30:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9411e1cc

media-libs/opensubdiv: use get_libdir

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/opensubdiv/opensubdiv-3.5.1.ebuild | 6 +++---
 media-libs/opensubdiv/opensubdiv-3.6.0.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/media-libs/opensubdiv/opensubdiv-3.5.1.ebuild b/media-libs/opensubdiv/opensubdiv-3.5.1.ebuild
index 8ddbb2e65dac..9eaf58f5eead 100644
--- a/media-libs/opensubdiv/opensubdiv-3.5.1.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -104,9 +104,9 @@ src_test() {
 src_install() {
 	cmake_src_install
 
-	rm -f "${ED}/usr/lib64/libosdCPU.a" || die
+	rm -f "${ED}/usr/$(get_libdir)/libosdCPU.a" || die
 	if use cuda || use opencl ; then
-		rm -f "${ED}/usr/lib64/libosdGPU.a" || die
+		rm -f "${ED}/usr/$(get_libdir)/libosdGPU.a" || die
 	fi
 	if use test; then
 		rm -f \

diff --git a/media-libs/opensubdiv/opensubdiv-3.6.0.ebuild b/media-libs/opensubdiv/opensubdiv-3.6.0.ebuild
index 8670a76affd4..571914ada18c 100644
--- a/media-libs/opensubdiv/opensubdiv-3.6.0.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -104,9 +104,9 @@ src_test() {
 src_install() {
 	cmake_src_install
 
-	rm -f "${ED}/usr/lib64/libosdCPU.a" || die
+	rm -f "${ED}/usr/$(get_libdir)/libosdCPU.a" || die
 	if use cuda || use opencl ; then
-		rm -f "${ED}/usr/lib64/libosdGPU.a" || die
+		rm -f "${ED}/usr/$(get_libdir)/libosdGPU.a" || die
 	fi
 	if use test; then
 		rm -f \


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2024-02-14  9:29 Joonas Niilola
  0 siblings, 0 replies; 26+ messages in thread
From: Joonas Niilola @ 2024-02-14  9:29 UTC (permalink / raw
  To: gentoo-commits

commit:     b9e73f3a9b0d7d5d7d8c8efb6a27d397a4322378
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 14 09:28:32 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Feb 14 09:28:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e73f3a

media-libs/opensubdiv: revbump 3.6.0 due to previous enhancements

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../opensubdiv/{opensubdiv-3.6.0.ebuild => opensubdiv-3.6.0-r1.ebuild}    | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/media-libs/opensubdiv/opensubdiv-3.6.0.ebuild b/media-libs/opensubdiv/opensubdiv-3.6.0-r1.ebuild
similarity index 100%
rename from media-libs/opensubdiv/opensubdiv-3.6.0.ebuild
rename to media-libs/opensubdiv/opensubdiv-3.6.0-r1.ebuild


^ permalink raw reply	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2024-04-10  6:16 Joonas Niilola
  0 siblings, 0 replies; 26+ messages in thread
From: Joonas Niilola @ 2024-04-10  6:16 UTC (permalink / raw
  To: gentoo-commits

commit:     d6f8a39a7643c24cc24976b64412c6aac5d5aa95
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 10 06:16:33 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Apr 10 06:16:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6f8a39a

media-libs/opensubdiv: Stabilize 3.6.0-r1 amd64, #928996

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/opensubdiv/opensubdiv-3.6.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/opensubdiv/opensubdiv-3.6.0-r1.ebuild b/media-libs/opensubdiv/opensubdiv-3.6.0-r1.ebuild
index b5155b620bee..118c43243cc4 100644
--- a/media-libs/opensubdiv/opensubdiv-3.6.0-r1.ebuild
+++ b/media-libs/opensubdiv/opensubdiv-3.6.0-r1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/OpenSubdiv-${MY_PV}"
 # See for example CMakeLists.txt for details.
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
 IUSE="X cuda doc examples +glew +glfw opencl +opengl openmp ptex python tbb test tutorials"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 26+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/
@ 2024-09-04  9:22 Sam James
  0 siblings, 0 replies; 26+ messages in thread
From: Sam James @ 2024-09-04  9:22 UTC (permalink / raw
  To: gentoo-commits

commit:     258040297f88165517087618fe126bc639ffd444
Author:     Sebastian Parborg <sebastian <AT> blender <DOT> org>
AuthorDate: Mon Sep  2 12:29:29 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 09:20:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25804029

media-libs/opensubdiv: Remove glew useflag

Glew support is quite flaky as the is deprecated in favor of
OpenSubDiv's own built in OpenGL library.

Using the GLEW backend leads to crashes in Blender, so disable it
in favor of the default built in library.

Signed-off-by: Sebastian Parborg <darkdefende <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/opensubdiv/metadata.xml               |   2 +-
 media-libs/opensubdiv/opensubdiv-3.6.0-r2.ebuild | 223 +++++++++++++++++++++++
 2 files changed, 224 insertions(+), 1 deletion(-)

diff --git a/media-libs/opensubdiv/metadata.xml b/media-libs/opensubdiv/metadata.xml
index 031b514998a6..bf5610e29372 100644
--- a/media-libs/opensubdiv/metadata.xml
+++ b/media-libs/opensubdiv/metadata.xml
@@ -14,7 +14,7 @@
 			Enable support for OpenGL Extension Wrangler Library (<pkg>media-libs/glew</pkg>)
 		</flag>
 		<flag name="glfw">
-			Enable support for OpenGL FrameWork (<pkg>media-libs/glfw</pkg>)
+			Build all example files that uses (<pkg>media-libs/glfw</pkg>)
 		</flag>
 		<flag name="ptex">
 			Adds support for faster per-face texture mapping through

diff --git a/media-libs/opensubdiv/opensubdiv-3.6.0-r2.ebuild b/media-libs/opensubdiv/opensubdiv-3.6.0-r2.ebuild
new file mode 100644
index 000000000000..7c2bfcedf8c9
--- /dev/null
+++ b/media-libs/opensubdiv/opensubdiv-3.6.0-r2.ebuild
@@ -0,0 +1,223 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit cmake cuda flag-o-matic python-any-r1 toolchain-funcs virtualx
+
+MY_PV="$(ver_rs "1-3" '_')"
+
+DESCRIPTION="An Open-Source subdivision surface library"
+HOMEPAGE="https://graphics.pixar.com/opensubdiv/docs/intro.html"
+SRC_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/OpenSubdiv-${MY_PV}"
+
+# Modfied Apache-2.0 license, where section 6 has been replaced.
+# See for example CMakeLists.txt for details.
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="X cuda doc examples glfw opencl +opengl openmp ptex python tbb test tutorials"
+RESTRICT="!test? ( test )"
+
+# TODO needed for stringify due to unwrapped KERNEL_FILES in opensubdiv/{far,osd}/CMakeLists.txt
+REQUIRED_USE="
+	|| ( opencl opengl )
+"
+
+BDEPEND="
+	doc? (
+		app-text/doxygen
+		dev-python/docutils
+	)
+	python? ( ${PYTHON_DEPS} )
+"
+
+RDEPEND="
+	opengl? (
+		media-libs/libglvnd
+		glfw? (
+			media-libs/glfw:=
+			X? (
+				x11-libs/libX11
+				x11-libs/libXcursor
+				x11-libs/libXi
+				x11-libs/libXinerama
+				x11-libs/libXrandr
+				x11-libs/libXxf86vm
+			)
+		)
+	)
+	opencl? ( virtual/opencl )
+	openmp? ( || (
+		sys-devel/gcc:*[openmp]
+		sys-libs/libomp
+	) )
+	ptex? ( media-libs/ptex )
+	tbb? ( dev-cpp/tbb:= )
+"
+
+# CUDA_RUNTIME is statically linked
+DEPEND="
+	${RDEPEND}
+	cuda? ( dev-util/nvidia-cuda-toolkit:= )
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-3.6.0-use-gnuinstalldirs.patch"
+	"${FILESDIR}/${PN}-3.6.0-cudaflags.patch"
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+
+	if use cuda; then
+		# When building binary packages we build all major targets unless specified otherwise
+		if [[ -z "${CUDAARCHS+x}" ]]; then
+			case ${MERGE_TYPE} in
+				source)    CUDAARCHS="native" ;;
+				# buildonly) CUDAARCHS="all" ;;
+				buildonly) CUDAARCHS="all-major" ;;
+			esac
+		fi
+
+		# check if user provided --gpu-architecture/-arch flag instead of CUDAARCHS
+		for f in ${NVCCFLAGS}; do
+			if [[ ${f} == -arch* || ${f} == --gpu-architecture* ]]; then
+				CUDAARCHS="NVCC"
+				break
+			fi
+		done
+
+		if [[ "${CUDAARCHS}" == "NVCC" ]]; then
+			unset  CUDAARCHS
+		else
+			export CUDAARCHS
+		fi
+	fi
+}
+
+src_prepare() {
+	cmake_src_prepare
+
+	sed \
+		-e "/install(/s/^/#DONOTINSTALL /g" \
+		-i \
+			regression/*/CMakeLists.txt \
+			tools/stringify/CMakeLists.txt \
+		|| die
+
+	sed \
+		-e "/install( TARGETS osd_static_[cg]pu/s/^/#DONOTINSTALL /g" \
+		-i \
+			opensubdiv/CMakeLists.txt \
+		|| die
+
+	use cuda && cuda_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_BINDIR="share/${PN}/bin"
+
+		# DirectX
+		-DNO_DX="yes"
+
+		# MacOS
+		-DNO_MACOS_FRAMEWORK="yes"
+		-DNO_METAL="yes"
+
+		-DNO_DOC="$(usex !doc)"
+		-DNO_EXAMPLES="$(usex !examples)"
+		-DNO_TUTORIALS="$(usex !tutorials)"
+		-DNO_REGRESSION="$(usex !test)"
+		-DNO_TESTS="$(usex !test)"
+
+		-DNO_PTEX="$(usex !ptex)"
+
+		# GUI
+		-DNO_OPENGL="$(usex !opengl)"
+
+		# Backends
+		-DNO_CUDA="$(usex !cuda)"
+		-DNO_OMP="$(usex !openmp)"
+		-DNO_TBB="$(usex !tbb)"
+		-DNO_OPENCL="$(usex !opencl)"
+	)
+
+	if use cuda; then
+		# The old cmake CUDA module doesn't use environment variable to initialize flags
+		mycmakeargs+=(
+			-DCUDA_NVCC_FLAGS="-forward-unknown-opts ${NVCCFLAGS}"
+		)
+	fi
+
+	if use opencl; then
+		mycmakeargs+=(
+			# not packaged https://github.com/martijnberger/clew
+			-DNO_CLEW="yes"
+		)
+	fi
+
+	if use opengl; then
+		mycmakeargs+=(
+			-DNO_GLTESTS="$(usex !test)"
+			 # GLEW support is unmaintained infavor of their own GL handler code.
+			 # Turning this on will lead to crashes when using their GPU backend.
+			-DNO_GLEW="yes"
+			-DNO_GLFW="$(usex !glfw)"
+		)
+		if use glfw; then
+			mycmakeargs+=(
+				-DGLFW_LOCATION="${ESYSROOT}/usr/$(get_libdir)"
+				-DNO_GLFW_X11="$(usex !X)"
+			)
+		fi
+	fi
+
+	if use ptex; then
+		mycmakeargs+=(
+			-DPTEX_LOCATION="${ESYSROOT}/usr/$(get_libdir)"
+		)
+	fi
+
+	if ! use python; then
+		mycmakeargs+=(
+			-DCMAKE_DISABLE_FIND_PACKAGE_Python="yes"
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_test() {
+	CMAKE_SKIP_TESTS=(
+		# Fails due to for CL & CUDA kernels, works outside
+		"glImaging"
+	)
+
+	# "far_tutorial_1_2 breaks with gcc and > -O1"
+	tc-is-gcc && is-flagq '-O@(2|3|fast)' && CMAKE_SKIP_TESTS+=( "far_tutorial_1_2" )
+
+	use cuda && cuda_add_sandbox -w
+
+	virtx cmake_src_test
+
+	local KERNELS=( CPU )
+	use openmp && KERNELS+=( OPENMP )
+	use tbb && KERNELS+=( TBB )
+
+	# use cuda && KERNELS+=( CUDA )
+	# use opencl && KERNELS+=( CL )
+
+	use opengl && use X && KERNELS+=( XFB )
+	use opengl && KERNELS+=( GLSL )
+
+	virtx "${BUILD_DIR}/bin/glImaging" -w test -l 3 -s 256 256 -a -k "$(IFS=","; echo "${KERNELS[*]}")"
+}


^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2024-09-04  9:22 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-29 22:23 [gentoo-commits] repo/gentoo:master commit in: media-libs/opensubdiv/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-09-04  9:22 Sam James
2024-04-10  6:16 Joonas Niilola
2024-02-14  9:29 Joonas Niilola
2024-01-20 12:32 Sam James
2024-01-20 12:32 Sam James
2022-03-20 16:53 Sam James
2021-10-30 17:21 Agostino Sarubbo
2021-10-30 17:18 Sam James
2021-10-09  4:21 Sam James
2021-03-05 18:39 Sam James
2021-02-22  7:12 Sam James
2020-11-08 10:29 Sam James
2020-06-08  7:46 Joonas Niilola
2020-06-08  7:46 Joonas Niilola
2020-06-08  7:46 Joonas Niilola
2019-06-06 20:33 Andreas Sturmlechner
2019-05-25  8:52 Mikle Kolyada
2019-04-07 14:22 Michał Górny
2018-08-07 12:53 Jonathan Scruggs
2018-08-07 12:51 Jonathan Scruggs
2018-03-30 16:04 Aaron Bauman
2018-01-27 17:19 Jonathan Scruggs
2017-10-15 21:11 Patrice Clement
2017-10-15 21:11 Patrice Clement
2017-01-15 11:14 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox