* 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
Enable OpenCL support through
<pkg>virtual/opencl</pkg>.
</flag>
- <flag name="tutorials">
- </flag>
</use>
<upstream>
<remote-id type="github">PixarAnimationStudios/OpenSubdiv</remote-id>
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:=
-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)"
)
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:=
-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)"
)
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:=
DEPEND="${RDEPEND}
tbb? ( dev-cpp/tbb )
- doc? (
+ doc? (
dev-python/docutils
app-doc/doxygen
)"
-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}"