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: Mon, 29 May 2017 04:15:18
Message-Id: 1496031285.3947a96012f1878503808abbaf8c96df5fc6cbcc.mattst88@gentoo
1 commit: 3947a96012f1878503808abbaf8c96df5fc6cbcc
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 29 04:14:45 2017 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon May 29 04:14:45 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3947a960
7
8 media-libs/vulkan-loader: Version bump to 1.0.46
9
10 media-libs/vulkan-loader/Manifest | 1 +
11 .../vulkan-loader/vulkan-loader-1.0.46.0.ebuild | 50 ++++++++++++++++++++++
12 2 files changed, 51 insertions(+)
13
14 diff --git a/media-libs/vulkan-loader/Manifest b/media-libs/vulkan-loader/Manifest
15 index 4821afb8f2d..50b40ca2c3f 100644
16 --- a/media-libs/vulkan-loader/Manifest
17 +++ b/media-libs/vulkan-loader/Manifest
18 @@ -1,2 +1,3 @@
19 DIST vulkan-loader-1.0.42.0.tar.gz 3699030 SHA256 305d3070f559a3f5ad332aff285a3ea0618f9d0696cde81a58765fcb5c7c4e42 SHA512 2c35aecffc60992023184e499d036d99a3c39b3b3856341f341fc9c5b2b0c71cc49a4658634165f4d5218a7202f4c2ddfb95107ba95f2c8a9870e375cff7a15b WHIRLPOOL f1f9bc0c7f1b78c37776d8143d110853333cc8015348d30e98cad2cd28b82fabb9b0405d536310421df4f41bad283e0cad0e0d8e24e15d2d37db3e33cf1baa93
20 DIST vulkan-loader-1.0.42.2.tar.gz 3701608 SHA256 bc09a5e667c4a34c0a2969c8169e55bbabf9f57a76166ce43fd6e50c8e249725 SHA512 6f591bcb69edde516cf170936e23a3f19f2f57a22b65d19683c10528ed6559501d3dae29ee1d3e820a81a5cd6e608f5710ba15f7c9bc050ea0eaceef2cf82d37 WHIRLPOOL ab5b1cc3a65414c389ab216aba9bb12018969ec6559cfc381881137aa865d8cc79c06221f903f9a3db001fed75dbaea789bc7b17dacbab545ce8fa78f3e968a7
21 +DIST vulkan-loader-1.0.46.0.tar.gz 3732605 SHA256 439db567f03448f57d7899c4a78986669dc4d930af9699986a85bf2fc3d3acb8 SHA512 dc0728c00e017a2ed0b1e34a500a6335f6dee5dd77c7801d7d450c68c6e8c7cd5dec640be6dec1dea28941d927764a636b82a628e0260ca724163afa4152d8b6 WHIRLPOOL aa2424939b3a6c80909efd1f50d668c83aaf828ef490f13cd02391098e018e8ed33c6949ea47caaa4be0b258ba351447654c814c4bc2aa572e53ca582d7143a0
22
23 diff --git a/media-libs/vulkan-loader/vulkan-loader-1.0.46.0.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.0.46.0.ebuild
24 new file mode 100644
25 index 00000000000..4ab7f86d549
26 --- /dev/null
27 +++ b/media-libs/vulkan-loader/vulkan-loader-1.0.46.0.ebuild
28 @@ -0,0 +1,50 @@
29 +# Copyright 1999-2017 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI=6
33 +PYTHON_COMPAT=( python3_{4,5} )
34 +
35 +if [[ "${PV}" == "9999" ]]; then
36 + EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git"
37 + inherit git-r3
38 +else
39 + KEYWORDS="~amd64"
40 + SRC_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/archive/sdk-${PV}.tar.gz -> ${P}.tar.gz"
41 + S="${WORKDIR}/Vulkan-LoaderAndValidationLayers-sdk-${PV}"
42 +fi
43 +
44 +inherit python-any-r1 cmake-multilib
45 +
46 +DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader"
47 +HOMEPAGE="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers"
48 +
49 +LICENSE="Apache-2.0"
50 +SLOT="0"
51 +IUSE="wayland X"
52 +
53 +RDEPEND=""
54 +DEPEND="${PYTHON_DEPS}
55 + wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
56 + X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] )"
57 +
58 +multilib_src_configure() {
59 + local mycmakeargs=(
60 + -DCMAKE_SKIP_RPATH=True
61 + -DBUILD_TESTS=False
62 + -DBUILD_LAYERS=False
63 + -DBUILD_DEMOS=False
64 + -DBUILD_VKJSON=False
65 + -DBUILD_LOADER=True
66 + -DBUILD_WSI_MIR_SUPPORT=False
67 + -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
68 + -DBUILD_WSI_XCB_SUPPORT=$(usex X)
69 + -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
70 + )
71 + cmake-utils_src_configure
72 +}
73 +
74 +multilib_src_install() {
75 + keepdir /etc/vulkan/icd.d
76 +
77 + default
78 +}