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}"

Reply via email to