1 |
commit: 615ae655ed634ac486ee77fd3efc801005e9a4d7 |
2 |
Author: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 17 23:06:49 2022 +0000 |
4 |
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 17 23:08:39 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=615ae655 |
7 |
|
8 |
media-libs/vulkan-loader: Version bump |
9 |
|
10 |
Closes: https://bugs.gentoo.org/831160 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org> |
13 |
|
14 |
media-libs/vulkan-loader/Manifest | 1 + |
15 |
.../vulkan-loader/vulkan-loader-1.2.198-r1.ebuild | 67 ++++++++++++++++++++++ |
16 |
2 files changed, 68 insertions(+) |
17 |
|
18 |
diff --git a/media-libs/vulkan-loader/Manifest b/media-libs/vulkan-loader/Manifest |
19 |
index 6bd8ff8c6006..daa0672ca82a 100644 |
20 |
--- a/media-libs/vulkan-loader/Manifest |
21 |
+++ b/media-libs/vulkan-loader/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
+DIST vulkan-loader-1.2.198.1.tar.gz 1441540 BLAKE2B c34fe5c0b97ee01038749754eb76b0fa7f1e4b9ad5ee78fa63ed9bf27e49362b215b39fd9fadcc5592097db80f3e655d109d6c92ae97829bdc75f5a28085d234 SHA512 dff0d8d9f6ffe4da6b94d491133c79d8fdbc724577387ae6f1522d7e557e39067ba66de60cc075bc469ad755dbe77d6e6728238a7ab4c07c36cf16964936e641 |
24 |
DIST vulkan-loader-1.2.198.tar.gz 1440922 BLAKE2B 5048a85155f94cd13f36fae48414ae3a0ea5f120a22f8b199fd43a2813b7168a9c5310ac6298ec2dee6488012d17d06043cf37dee38de265924e408f36498ed7 SHA512 92fc0cfa872e286abe4aa26a68a2bb90683b68425abbe001a62ac511c76850ad08102634e64ac06a88cf8ab225e60ddaf5bc80aa2c4bf68c25c0c47e5782f4fc |
25 |
|
26 |
diff --git a/media-libs/vulkan-loader/vulkan-loader-1.2.198-r1.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.2.198-r1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..27a02a896e09 |
29 |
--- /dev/null |
30 |
+++ b/media-libs/vulkan-loader/vulkan-loader-1.2.198-r1.ebuild |
31 |
@@ -0,0 +1,67 @@ |
32 |
+# Copyright 1999-2022 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 |
+inherit flag-o-matic cmake-multilib toolchain-funcs |
40 |
+ |
41 |
+if [[ ${PV} == *9999* ]]; then |
42 |
+ EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git" |
43 |
+ EGIT_SUBMODULES=() |
44 |
+ inherit git-r3 |
45 |
+else |
46 |
+ SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/sdk-${PV}.1.tar.gz -> ${P}.1.tar.gz" |
47 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" |
48 |
+ S="${WORKDIR}"/${MY_PN}-sdk-${PV}.1 |
49 |
+fi |
50 |
+ |
51 |
+DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader" |
52 |
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Loader" |
53 |
+ |
54 |
+LICENSE="Apache-2.0" |
55 |
+SLOT="0" |
56 |
+IUSE="layers wayland X" |
57 |
+ |
58 |
+BDEPEND=">=dev-util/cmake-3.10.2" |
59 |
+DEPEND=" |
60 |
+ ~dev-util/vulkan-headers-${PV} |
61 |
+ wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) |
62 |
+ X? ( |
63 |
+ x11-libs/libX11:=[${MULTILIB_USEDEP}] |
64 |
+ x11-libs/libXrandr:=[${MULTILIB_USEDEP}] |
65 |
+ ) |
66 |
+" |
67 |
+PDEPEND="layers? ( media-libs/vulkan-layers:=[${MULTILIB_USEDEP}] )" |
68 |
+ |
69 |
+multilib_src_configure() { |
70 |
+ # Integrated clang assembler doesn't work with x86 - Bug #698164 |
71 |
+ if tc-is-clang && [[ ${ABI} == x86 ]]; then |
72 |
+ append-cflags -fno-integrated-as |
73 |
+ fi |
74 |
+ |
75 |
+ local mycmakeargs=( |
76 |
+ -DCMAKE_C_FLAGS="${CFLAGS} -DNDEBUG" |
77 |
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DNDEBUG" |
78 |
+ -DCMAKE_SKIP_RPATH=ON |
79 |
+ -DBUILD_TESTS=OFF |
80 |
+ -DBUILD_LOADER=ON |
81 |
+ -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland) |
82 |
+ -DBUILD_WSI_XCB_SUPPORT=$(usex X) |
83 |
+ -DBUILD_WSI_XLIB_SUPPORT=$(usex X) |
84 |
+ -DVULKAN_HEADERS_INSTALL_DIR="${ESYSROOT}/usr" |
85 |
+ ) |
86 |
+ cmake_src_configure |
87 |
+} |
88 |
+ |
89 |
+multilib_src_install() { |
90 |
+ keepdir /etc/vulkan/icd.d |
91 |
+ |
92 |
+ cmake_src_install |
93 |
+} |
94 |
+ |
95 |
+pkg_postinst() { |
96 |
+ einfo "USE=demos has been dropped as per upstream packaging" |
97 |
+ einfo "vulkaninfo is now available in the dev-util/vulkan-tools package" |
98 |
+} |