1 |
commit: 1434d30fa116c9cf506499ff4accffce3568d6d6 |
2 |
Author: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 27 01:15:19 2021 +0000 |
4 |
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 27 02:32:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1434d30f |
7 |
|
8 |
media-libs/vulkan-loader: Version bump |
9 |
|
10 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
11 |
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org> |
12 |
|
13 |
media-libs/vulkan-loader/Manifest | 1 + |
14 |
.../vulkan-loader/vulkan-loader-1.2.179.ebuild | 66 ++++++++++++++++++++++ |
15 |
2 files changed, 67 insertions(+) |
16 |
|
17 |
diff --git a/media-libs/vulkan-loader/Manifest b/media-libs/vulkan-loader/Manifest |
18 |
index 4f57ce2c681..93cdf1989a1 100644 |
19 |
--- a/media-libs/vulkan-loader/Manifest |
20 |
+++ b/media-libs/vulkan-loader/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST vulkan-loader-1.2.162.tar.gz 1421710 BLAKE2B 94b739821c5a12a94a52d8f0a9d79c13055ef3b45b907d53b82325b7be13db52b77d01397534e939bed5629d7a405ff8a09f8da374274a066986b4126fae9863 SHA512 89a99f282b73ec59dde30e4c8c09056b40416185a14ff9b7f7bd496754840e5ac764e7624f1f9a0f11792e786b00f19c3c9e55ccbb22a3c501d8ea9e815d84f9 |
23 |
DIST vulkan-loader-1.2.170.tar.gz 1422110 BLAKE2B 8903fceee3172970ee4e9c41df7c9ceb3c4d21d380061c9442cf6c3c07412e5568f7d4653591bf53128088b928d7db8050782e9a90441b66e12ba12135e5c242 SHA512 b9512c8b30b68799a6cc2905e7a5593a1c03214edae7a99fd7bc27b1761f17ef70a61f422fc318dd805ac089bbfc6cf18dfe69d1b8a91789a1774ee396058747 |
24 |
+DIST vulkan-loader-1.2.179.tar.gz 1430935 BLAKE2B b12fbbac071560ca0542c26cb72379104fdca1973306bf0ed0c1566a4bbc9daf22817f0e8e8389104072188705c8bf3dd6283fcfd396defe2834d2e1565e6be0 SHA512 3186f5d8f93b28a69e731da505ce4e8cd768c8935eda9e6765b834aaa137d249b5cb4c7d0fb1e1e713c3d02b3c9a71ad8554e2ea239dbd5e4def2b96331cd71d |
25 |
|
26 |
diff --git a/media-libs/vulkan-loader/vulkan-loader-1.2.179.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.2.179.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..31f8e0f3c22 |
29 |
--- /dev/null |
30 |
+++ b/media-libs/vulkan-loader/vulkan-loader-1.2.179.ebuild |
31 |
@@ -0,0 +1,66 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+MY_PN=Vulkan-Loader |
38 |
+CMAKE_ECLASS="cmake" |
39 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
40 |
+inherit flag-o-matic cmake-multilib python-any-r1 toolchain-funcs |
41 |
+ |
42 |
+if [[ ${PV} == *9999* ]]; then |
43 |
+ EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git" |
44 |
+ EGIT_SUBMODULES=() |
45 |
+ inherit git-r3 |
46 |
+else |
47 |
+ SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ KEYWORDS="~amd64" |
49 |
+ S="${WORKDIR}"/${MY_PN}-${PV} |
50 |
+fi |
51 |
+ |
52 |
+DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader" |
53 |
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Loader" |
54 |
+ |
55 |
+LICENSE="Apache-2.0" |
56 |
+SLOT="0" |
57 |
+IUSE="layers wayland X" |
58 |
+ |
59 |
+BDEPEND=">=dev-util/cmake-3.10.2" |
60 |
+DEPEND="${PYTHON_DEPS} |
61 |
+ ~dev-util/vulkan-headers-${PV} |
62 |
+ wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) |
63 |
+ X? ( |
64 |
+ x11-libs/libX11:=[${MULTILIB_USEDEP}] |
65 |
+ x11-libs/libXrandr:=[${MULTILIB_USEDEP}] |
66 |
+ ) |
67 |
+" |
68 |
+PDEPEND="layers? ( media-libs/vulkan-layers:=[${MULTILIB_USEDEP}] )" |
69 |
+ |
70 |
+multilib_src_configure() { |
71 |
+ # Integrated clang assembler doesn't work with x86 - Bug #698164 |
72 |
+ if tc-is-clang && [[ ${ABI} == x86 ]]; then |
73 |
+ append-cflags -fno-integrated-as |
74 |
+ fi |
75 |
+ |
76 |
+ local mycmakeargs=( |
77 |
+ -DCMAKE_SKIP_RPATH=ON |
78 |
+ -DBUILD_TESTS=OFF |
79 |
+ -DBUILD_LOADER=ON |
80 |
+ -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland) |
81 |
+ -DBUILD_WSI_XCB_SUPPORT=$(usex X) |
82 |
+ -DBUILD_WSI_XLIB_SUPPORT=$(usex X) |
83 |
+ -DVULKAN_HEADERS_INSTALL_DIR="${ESYSROOT}/usr" |
84 |
+ ) |
85 |
+ cmake_src_configure |
86 |
+} |
87 |
+ |
88 |
+multilib_src_install() { |
89 |
+ keepdir /etc/vulkan/icd.d |
90 |
+ |
91 |
+ cmake_src_install |
92 |
+} |
93 |
+ |
94 |
+pkg_postinst() { |
95 |
+ einfo "USE=demos has been dropped as per upstream packaging" |
96 |
+ einfo "vulkaninfo is now available in the dev-util/vulkan-tools package" |
97 |
+} |