media-libs/glfw: Drop USE=examples because they don't get installed
authorJames Le Cuirot <chewi@gentoo.org>
Wed, 8 Jan 2020 23:19:40 +0000 (23:19 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Wed, 8 Jan 2020 23:21:30 +0000 (23:21 +0000)
We could install the binaries somewhere but the sources are more
useful as examples.

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
media-libs/glfw/glfw-3.3.1.ebuild

index 45ce2dcfce0d88efd53eb884f7a97d8713b3bcba..762e4316641365e7cc7c1daa77aea3d63ce10c82 100644 (file)
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/glfw/glfw/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="ZLIB"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~hppa ~x86"
-IUSE="examples wayland"
+IUSE="wayland"
 
 RDEPEND="
        x11-libs/libxkbcommon
@@ -39,7 +39,7 @@ BDEPEND="
 
 src_configure() {
        local mycmakeargs=(
-               -DGLFW_BUILD_EXAMPLES="$(usex examples)"
+               -DGLFW_BUILD_EXAMPLES=no
                -DGLFW_USE_WAYLAND="$(usex wayland)"
                -DBUILD_SHARED_LIBS=1
        )