media-libs/glfw: EAPI 7 for 3.3.1
authorJames Le Cuirot <chewi@gentoo.org>
Wed, 8 Jan 2020 23:15:06 +0000 (23:15 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Wed, 8 Jan 2020 23:21:27 +0000 (23:21 +0000)
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 fed5798ce2ab8da59a0e400bf4307f84b60d7b05..45ce2dcfce0d88efd53eb884f7a97d8713b3bcba 100644 (file)
@@ -1,8 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit cmake-utils
+EAPI=7
+
+inherit cmake
 
 DESCRIPTION="The Portable OpenGL FrameWork"
 HOMEPAGE="https://www.glfw.org/"
@@ -30,10 +31,10 @@ RDEPEND="
 "
 DEPEND="
        ${RDEPEND}
-       wayland? (
-               dev-libs/wayland-protocols
-               kde-frameworks/extra-cmake-modules
-       )
+       wayland? ( dev-libs/wayland-protocols )
+"
+BDEPEND="
+       wayland? ( kde-frameworks/extra-cmake-modules )
 "
 
 src_configure() {
@@ -42,5 +43,5 @@ src_configure() {
                -DGLFW_USE_WAYLAND="$(usex wayland)"
                -DBUILD_SHARED_LIBS=1
        )
-       cmake-utils_src_configure
+       cmake_src_configure
 }