media-libs/opencollada: Remove expat support.
authorJonathan Scruggs <j.scruggs@gmail.com>
Tue, 31 Jan 2017 14:36:22 +0000 (14:36 +0000)
committerDavid Seifert <soap@gentoo.org>
Fri, 3 Feb 2017 08:00:03 +0000 (09:00 +0100)
DAEValidator is set to replace COLLADAValidator. However, it only
supports libxml2 and not expat like COLLADAValidator did.

No need for revision bump as expat did not compile forcing users to
unset it.

Also, from upstream:
USE_EXPAT (OFF) - Use expat parser. Unsupported currently. Do not use.

Signed-off by: Jonathan Scruggs (j.scruggs@gmail.com)
Closes: https://github.com/gentoo/gentoo/pull/3735

media-libs/opencollada/opencollada-1.6.36.ebuild

index 34c4aa67ab8e93e93206fd6f2a8fc5bbc754fb59..319304da732ee31cf849b0b9220bfe6a512ea970 100644 (file)
@@ -15,7 +15,7 @@ SLOT="0"
 
 KEYWORDS="~amd64 ~ppc64 ~x86"
 
-IUSE="expat static-libs"
+IUSE="static-libs"
 
 # This is still needed to have so version numbers
 MY_SOVERSION="$(get_version_component_range 1-2)"
@@ -24,8 +24,7 @@ RDEPEND="dev-libs/libpcre
        dev-libs/zziplib
        media-libs/lib3ds
        sys-libs/zlib
-       expat? ( dev-libs/expat )
-       !expat? ( dev-libs/libxml2 )"
+       dev-libs/libxml2"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
@@ -50,8 +49,7 @@ src_configure() {
        local mycmakeargs=(
                -DUSE_SHARED=ON
                -DUSE_STATIC=$(usex static-libs)
-               -DUSE_EXPAT=$(usex expat)
-               -DUSE_LIBXML=$(usex !expat)
+               -DUSE_LIBXML=ON
                -Dsoversion=${MY_SOVERSION}
        )