Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/vulkan-loader/
Date: Fri, 03 Mar 2017 22:51:09
Message-Id: 1488581454.17b0cbe42483cffbe1fa6002276128e345603020.mattst88@gentoo
1 commit: 17b0cbe42483cffbe1fa6002276128e345603020
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 3 22:30:21 2017 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 3 22:50:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17b0cbe4
7
8 media-libs/vulkan-loader: Add wayland and X USE flags.
9
10 Bug: https://bugs.gentoo.org/607154
11
12 media-libs/vulkan-loader/vulkan-loader-9999.ebuild | 9 +++++++--
13 1 file changed, 7 insertions(+), 2 deletions(-)
14
15 diff --git a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
16 index 3ffa6bfad76..a70dc0dc647 100644
17 --- a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
18 +++ b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
19 @@ -20,10 +20,12 @@ HOMEPAGE="https://www.khronos.org/vulkan/"
20
21 LICENSE="Apache-2.0"
22 SLOT="0"
23 -IUSE=""
24 +IUSE="wayland X"
25
26 -DEPEND="${PYTHON_DEPS}"
27 RDEPEND=""
28 +DEPEND="${PYTHON_DEPS}
29 + wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
30 + X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] )"
31
32 DOCS=( README.md LICENSE.txt )
33
34 @@ -36,6 +38,9 @@ multilib_src_configure() {
35 -DBUILD_VKJSON=False
36 -DBUILD_LOADER=True
37 -DBUILD_WSI_MIR_SUPPORT=False
38 + -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
39 + -DBUILD_WSI_XCB_SUPPORT=$(usex X)
40 + -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
41 )
42 cmake-utils_src_configure
43 }