1 |
commit: 541057a7344b55067865e2f3ce449d67332eff44 |
2 |
Author: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 30 02:19:51 2018 +0000 |
4 |
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 30 02:42:12 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=541057a7 |
7 |
|
8 |
dev-util/vulkan-tools: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org> |
12 |
|
13 |
dev-util/vulkan-tools/Manifest | 1 - |
14 |
.../vulkan-tools/vulkan-tools-1.1.77.0-r2.ebuild | 106 --------------------- |
15 |
2 files changed, 107 deletions(-) |
16 |
|
17 |
diff --git a/dev-util/vulkan-tools/Manifest b/dev-util/vulkan-tools/Manifest |
18 |
index c131100e10d..58996a8c823 100644 |
19 |
--- a/dev-util/vulkan-tools/Manifest |
20 |
+++ b/dev-util/vulkan-tools/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST vulkan-tools-1.1.77.0.tar.gz 330131 BLAKE2B 3190c59745f6068fc00871f7c7c889ec2e429095d5090b0b02e1d3bbdd8613147febbbe4da3f1d48690a34577bff21bf5fd90bed77a621d0716e1b10dd9e8207 SHA512 e569e1d6da651a9f3c4669de0d4ebd301528036e283ea46049abdabca6b1b993f07e48643f91b29a38859a44770e55c8222058cf1f2a0dfd4838c37f801ba725 |
23 |
DIST vulkan-tools-1.1.82.0.tar.gz 342321 BLAKE2B 8591e7b16b59a1f839639642b652bcb040d9d1695a7e1cc3ccbc791703504647a517a6632db90bff9a21f7417d2219f2b7720ae1798795b31171e798b8d12ff5 SHA512 214cd30b03bf11310fe890bbcc082e515125a89591a225d113412bc41d302f8bc9a8598faaf8ca7acbd9c9ee3da43431564572e9495d966a13f90d277115d9c5 |
24 |
DIST vulkan-tools-1.1.92.0.tar.gz 344286 BLAKE2B 2bbf19b458b780f26b5520fa298416cda50c951fd04529da4fdf77b0e2c57d38ca1dd7e9bd08cb14cf9a7eda0b5a58623f7a75e0d421d1511ed50056c2b369ca SHA512 cdca9332b399300b7011c90ab25a8227028009ffade9c587788229175476a000843a340625691a6a7970433961b776d8aab69332a4d3b5a2d89fdc18330302cc |
25 |
|
26 |
diff --git a/dev-util/vulkan-tools/vulkan-tools-1.1.77.0-r2.ebuild b/dev-util/vulkan-tools/vulkan-tools-1.1.77.0-r2.ebuild |
27 |
deleted file mode 100644 |
28 |
index 76c30998e49..00000000000 |
29 |
--- a/dev-util/vulkan-tools/vulkan-tools-1.1.77.0-r2.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,106 +0,0 @@ |
32 |
-# Copyright 1999-2018 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=6 |
36 |
-PYTHON_COMPAT=( python3_{4,5,6} ) |
37 |
- |
38 |
-if [[ "${PV}" == "9999" ]]; then |
39 |
- EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-Tools.git" |
40 |
- EGIT_SUBMODULES=() |
41 |
- inherit git-r3 |
42 |
-else |
43 |
- EGIT_COMMIT="384fff68c802a10b5d7f4f352a4bb43b3efe5f23" |
44 |
- KEYWORDS="~amd64" |
45 |
- SRC_URI="https://github.com/KhronosGroup/Vulkan-Tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
46 |
- S="${WORKDIR}/Vulkan-Tools-${EGIT_COMMIT}" |
47 |
-fi |
48 |
- |
49 |
-inherit python-any-r1 cmake-multilib |
50 |
- |
51 |
-DESCRIPTION="Official Vulkan Tools and Utilities for Windows, Linux, Android, and MacOS" |
52 |
-HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Tools" |
53 |
- |
54 |
-LICENSE="Apache-2.0" |
55 |
-SLOT="0" |
56 |
-IUSE="+cube +vulkaninfo X wayland" |
57 |
- |
58 |
-# Old packaging will cause file collisions |
59 |
-RDEPEND="!<=media-libs/vulkan-loader-1.1.70.0-r999" |
60 |
-DEPEND="${PYTHON_DEPS} |
61 |
- cube? ( dev-util/glslang:=[${MULTILIB_USEDEP}] ) |
62 |
- dev-util/vulkan-headers |
63 |
- media-libs/vulkan-loader:=[${MULTILIB_USEDEP},wayland?,X?] |
64 |
- wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) |
65 |
- X? ( |
66 |
- x11-libs/libX11:=[${MULTILIB_USEDEP}] |
67 |
- x11-libs/libXrandr:=[${MULTILIB_USEDEP}] |
68 |
- )" |
69 |
- |
70 |
-# Vulkaninfo does not support wayland |
71 |
-REQUIRED_USE="|| ( X wayland ) |
72 |
- vulkaninfo? ( X )" |
73 |
- |
74 |
-pkg_setup() { |
75 |
- MULTILIB_CHOST_TOOLS=() |
76 |
- |
77 |
- if use vulkaninfo; then |
78 |
- MULTILIB_CHOST_TOOLS+=( /usr/bin/vulkaninfo ) |
79 |
- fi |
80 |
- |
81 |
- if use cube; then |
82 |
- MULTILIB_CHOST_TOOLS+=( |
83 |
- /usr/bin/vulkancube |
84 |
- /usr/bin/vulkancubecpp |
85 |
- ) |
86 |
- fi |
87 |
- |
88 |
- python-any-r1_pkg_setup |
89 |
-} |
90 |
- |
91 |
-multilib_src_configure() { |
92 |
- local mycmakeargs=( |
93 |
- -DCMAKE_SKIP_RPATH=True |
94 |
- -DBUILD_CUBE=$(usex cube) |
95 |
- -DBUILD_VULKANINFO=$(usex vulkaninfo) |
96 |
- -DBUILD_WSI_MIR_SUPPORT=False |
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 |
- -DVULKANINFO_WSI_SELECTION="XCB" |
113 |
- ) |
114 |
- fi |
115 |
- |
116 |
- if ! use X && use wayland; then |
117 |
- mycmakeargs+=( |
118 |
- -DCUBE_WSI_SELECTION="WAYLAND" |
119 |
- ) |
120 |
- fi |
121 |
- |
122 |
- cmake-utils_src_configure |
123 |
-} |
124 |
- |
125 |
-multilib_src_install() { |
126 |
- cmake-utils_src_install |
127 |
- |
128 |
- if use cube; then |
129 |
- mv "${ED%/}"/usr/bin/cube "${ED%/}"/usr/bin/vulkancube || die |
130 |
- mv "${ED%/}"/usr/bin/cubepp "${ED%/}"/usr/bin/vulkancubecpp || die |
131 |
- fi |
132 |
-} |
133 |
- |
134 |
-pkg_postinst() { |
135 |
- einfo "The cube and cubepp demos have been renamed to" |
136 |
- einfo "vulkancube and vulkancubecpp to prevent collisions" |
137 |
-} |