1 |
commit: 82fb0d393de1ed1f203f205788dde28d31881889 |
2 |
Author: Maxime Lombard <berillions <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Mar 1 15:43:04 2019 +0000 |
4 |
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 2 18:50:49 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82fb0d39 |
7 |
|
8 |
dev-util/vulkan-tools: Bump version |
9 |
|
10 |
Version bump to 1.1.101. |
11 |
|
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
13 |
Signed-off-by: Maxime Lombard <berillions <AT> gmail.com> |
14 |
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org> |
15 |
|
16 |
dev-util/vulkan-tools/Manifest | 1 + |
17 |
dev-util/vulkan-tools/vulkan-tools-1.1.101.ebuild | 92 +++++++++++++++++++++++ |
18 |
2 files changed, 93 insertions(+) |
19 |
|
20 |
diff --git a/dev-util/vulkan-tools/Manifest b/dev-util/vulkan-tools/Manifest |
21 |
index 58996a8c823..13c234b06dd 100644 |
22 |
--- a/dev-util/vulkan-tools/Manifest |
23 |
+++ b/dev-util/vulkan-tools/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
+DIST vulkan-tools-1.1.101.tar.gz 351619 BLAKE2B d00a8adc687c6ac513748fd706b7167dd6e929f37ed2315b8c5e7f302976625848e9ad383261e8948adfc6926247676ccec2b6c8143d23343c4022f3a20795db SHA512 e4f5c3236eded7c17f381a9d6cdd20930444c486d0c8c3aaf67f5a46b3787643517e29d3d5d7305e72a60450b0e73daed996a9336a4166ab5241585e85190387 |
26 |
DIST vulkan-tools-1.1.82.0.tar.gz 342321 BLAKE2B 8591e7b16b59a1f839639642b652bcb040d9d1695a7e1cc3ccbc791703504647a517a6632db90bff9a21f7417d2219f2b7720ae1798795b31171e798b8d12ff5 SHA512 214cd30b03bf11310fe890bbcc082e515125a89591a225d113412bc41d302f8bc9a8598faaf8ca7acbd9c9ee3da43431564572e9495d966a13f90d277115d9c5 |
27 |
DIST vulkan-tools-1.1.92.0.tar.gz 344286 BLAKE2B 2bbf19b458b780f26b5520fa298416cda50c951fd04529da4fdf77b0e2c57d38ca1dd7e9bd08cb14cf9a7eda0b5a58623f7a75e0d421d1511ed50056c2b369ca SHA512 cdca9332b399300b7011c90ab25a8227028009ffade9c587788229175476a000843a340625691a6a7970433961b776d8aab69332a4d3b5a2d89fdc18330302cc |
28 |
|
29 |
diff --git a/dev-util/vulkan-tools/vulkan-tools-1.1.101.ebuild b/dev-util/vulkan-tools/vulkan-tools-1.1.101.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..7c544ec45b9 |
32 |
--- /dev/null |
33 |
+++ b/dev-util/vulkan-tools/vulkan-tools-1.1.101.ebuild |
34 |
@@ -0,0 +1,92 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+PYTHON_COMPAT=( python3_{4,5,6} ) |
40 |
+ |
41 |
+if [[ "${PV}" == "9999" ]]; then |
42 |
+ EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-Tools.git" |
43 |
+ EGIT_SUBMODULES=() |
44 |
+ inherit git-r3 |
45 |
+else |
46 |
+ EGIT_COMMIT="35464647e75e0385973664d8443a6c000f1c292d" |
47 |
+ KEYWORDS="~amd64" |
48 |
+ SRC_URI="https://github.com/KhronosGroup/Vulkan-Tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
49 |
+ S="${WORKDIR}/Vulkan-Tools-${EGIT_COMMIT}" |
50 |
+fi |
51 |
+ |
52 |
+inherit python-any-r1 cmake-multilib |
53 |
+ |
54 |
+DESCRIPTION="Official Vulkan Tools and Utilities for Windows, Linux, Android, and MacOS" |
55 |
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Tools" |
56 |
+ |
57 |
+LICENSE="Apache-2.0" |
58 |
+SLOT="0" |
59 |
+IUSE="+cube +vulkaninfo X wayland" |
60 |
+ |
61 |
+DEPEND="${PYTHON_DEPS} |
62 |
+ cube? ( dev-util/glslang:=[${MULTILIB_USEDEP}] ) |
63 |
+ dev-util/vulkan-headers |
64 |
+ media-libs/vulkan-loader:=[${MULTILIB_USEDEP},wayland?,X?] |
65 |
+ wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) |
66 |
+ X? ( |
67 |
+ x11-libs/libX11:=[${MULTILIB_USEDEP}] |
68 |
+ x11-libs/libXrandr:=[${MULTILIB_USEDEP}] |
69 |
+ )" |
70 |
+ |
71 |
+# Vulkaninfo does not support wayland |
72 |
+REQUIRED_USE="|| ( X wayland ) |
73 |
+ vulkaninfo? ( X )" |
74 |
+ |
75 |
+pkg_setup() { |
76 |
+ MULTILIB_CHOST_TOOLS=() |
77 |
+ |
78 |
+ if use vulkaninfo; then |
79 |
+ MULTILIB_CHOST_TOOLS+=( /usr/bin/vulkaninfo ) |
80 |
+ fi |
81 |
+ |
82 |
+ if use cube; then |
83 |
+ MULTILIB_CHOST_TOOLS+=( |
84 |
+ /usr/bin/vkcube |
85 |
+ /usr/bin/vkcubepp |
86 |
+ ) |
87 |
+ fi |
88 |
+ |
89 |
+ python-any-r1_pkg_setup |
90 |
+} |
91 |
+ |
92 |
+multilib_src_configure() { |
93 |
+ local mycmakeargs=( |
94 |
+ -DCMAKE_SKIP_RPATH=True |
95 |
+ -DBUILD_CUBE=$(usex cube) |
96 |
+ -DBUILD_VULKANINFO=$(usex vulkaninfo) |
97 |
+ -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland) |
98 |
+ -DBUILD_WSI_XCB_SUPPORT=$(usex X) |
99 |
+ -DBUILD_WSI_XLIB_SUPPORT=$(usex X) |
100 |
+ -DGLSLANG_INSTALL_DIR="/usr" |
101 |
+ -DVULKAN_HEADERS_INSTALL_DIR="/usr" |
102 |
+ ) |
103 |
+ |
104 |
+ # Upstream only supports one window system at a time |
105 |
+ # If X is set at all, even if wayland is set, use X |
106 |
+ # |
107 |
+ # If -cube and/or -vulkaninfo is set, the flags we set |
108 |
+ # are ignored, so we don't need to consider that |
109 |
+ if use X; then |
110 |
+ mycmakeargs+=( |
111 |
+ -DCUBE_WSI_SELECTION="XCB" |
112 |
+ ) |
113 |
+ fi |
114 |
+ |
115 |
+ if ! use X && use wayland; then |
116 |
+ mycmakeargs+=( |
117 |
+ -DCUBE_WSI_SELECTION="WAYLAND" |
118 |
+ ) |
119 |
+ fi |
120 |
+ |
121 |
+ cmake-utils_src_configure |
122 |
+} |
123 |
+ |
124 |
+multilib_src_install() { |
125 |
+ cmake-utils_src_install |
126 |
+} |