1 |
commit: 1ed6f22bbe22d275b52dc83f8b8b3703a89b15c1 |
2 |
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 11 21:05:27 2020 +0000 |
4 |
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 5 07:19:52 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ed6f22b |
7 |
|
8 |
media-libs/vulkan-loader: version bump to 1.2.133 |
9 |
|
10 |
Package-Manager: Portage-2.3.87, Repoman-2.3.20 |
11 |
Acked-by: Nick Sarnie <sarnex <AT> gentoo.org> |
12 |
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org> |
13 |
|
14 |
media-libs/vulkan-loader/Manifest | 1 + |
15 |
.../vulkan-loader/vulkan-loader-1.2.133.ebuild | 69 ++++++++++++++++++++++ |
16 |
2 files changed, 70 insertions(+) |
17 |
|
18 |
diff --git a/media-libs/vulkan-loader/Manifest b/media-libs/vulkan-loader/Manifest |
19 |
index 34fbe6b2466..c549cfefb60 100644 |
20 |
--- a/media-libs/vulkan-loader/Manifest |
21 |
+++ b/media-libs/vulkan-loader/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST vulkan-loader-1.1.125.tar.gz 1398802 BLAKE2B 7cf1f99f60b4b37bfad12580fc8809012a0540d928366b465a532fbf90e7d87bf42eeeff70b1a46efeadef9c599cad6009b122ed9c5c7298973207f05acc1032 SHA512 40e1e5c16491f0549eae3efc065c375c258b475d81e1c781a756c71ec329f390e2aba55ced5ed2005e938f9d074dffc1692e7e1e330a35f55460cae1606fdf2e |
24 |
+DIST vulkan-loader-1.2.133.tar.gz 1401215 BLAKE2B 4a52e2735ed584f96f563dd23761c25169158a12488f50267375cb85dec411fed61f3ac0f090d77a650e9d055e384562d4fd644571b20e45ff0c316547b88647 SHA512 ba486cd0b20d1936a8a7e97509bdaa5e1c42f024428d6f710af80152d55f486c76db072ae44add089ff20eef21a768073904236e6d29d46dd1475d77d26f9907 |
25 |
|
26 |
diff --git a/media-libs/vulkan-loader/vulkan-loader-1.2.133.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.2.133.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..8d64aee32dd |
29 |
--- /dev/null |
30 |
+++ b/media-libs/vulkan-loader/vulkan-loader-1.2.133.ebuild |
31 |
@@ -0,0 +1,69 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python3_{6,7} ) |
37 |
+ |
38 |
+if [[ "${PV}" == "9999" ]]; then |
39 |
+ EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-Loader.git" |
40 |
+ EGIT_SUBMODULES=() |
41 |
+ inherit git-r3 |
42 |
+else |
43 |
+ if [[ -z ${SNAPSHOT_COMMIT} ]]; then |
44 |
+ MY_PV=v${PV} |
45 |
+ MY_P=Vulkan-Loader-${PV} |
46 |
+ else |
47 |
+ MY_PV=${SNAPSHOT_COMMIT} |
48 |
+ MY_P=Vulkan-Loader-${SNAPSHOT_COMMIT} |
49 |
+ fi |
50 |
+ KEYWORDS="~amd64 ~ppc64 ~x86" |
51 |
+ SRC_URI="https://github.com/KhronosGroup/Vulkan-Loader/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
52 |
+ S="${WORKDIR}"/${MY_P} |
53 |
+fi |
54 |
+ |
55 |
+inherit toolchain-funcs python-any-r1 cmake-multilib |
56 |
+ |
57 |
+DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader" |
58 |
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Loader" |
59 |
+ |
60 |
+LICENSE="Apache-2.0" |
61 |
+SLOT="0" |
62 |
+IUSE="layers wayland X" |
63 |
+ |
64 |
+PDEPEND="layers? ( media-libs/vulkan-layers:=[${MULTILIB_USEDEP}] )" |
65 |
+DEPEND="${PYTHON_DEPS} |
66 |
+ >=dev-util/vulkan-headers-${PV} |
67 |
+ wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) |
68 |
+ X? ( |
69 |
+ x11-libs/libX11:=[${MULTILIB_USEDEP}] |
70 |
+ x11-libs/libXrandr:=[${MULTILIB_USEDEP}] |
71 |
+ )" |
72 |
+ |
73 |
+multilib_src_configure() { |
74 |
+ # Integrated clang assembler doesn't work with x86 - Bug #698164 |
75 |
+ if tc-is-clang && [[ ${ABI} == x86 ]]; then |
76 |
+ append-cflags -fno-integrated-as |
77 |
+ fi |
78 |
+ |
79 |
+ local mycmakeargs=( |
80 |
+ -DCMAKE_SKIP_RPATH=True |
81 |
+ -DBUILD_TESTS=False |
82 |
+ -DBUILD_LOADER=True |
83 |
+ -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland) |
84 |
+ -DBUILD_WSI_XCB_SUPPORT=$(usex X) |
85 |
+ -DBUILD_WSI_XLIB_SUPPORT=$(usex X) |
86 |
+ -DVULKAN_HEADERS_INSTALL_DIR="/usr" |
87 |
+ ) |
88 |
+ cmake-utils_src_configure |
89 |
+} |
90 |
+ |
91 |
+multilib_src_install() { |
92 |
+ keepdir /etc/vulkan/icd.d |
93 |
+ |
94 |
+ cmake-utils_src_install |
95 |
+} |
96 |
+ |
97 |
+pkg_postinst() { |
98 |
+ einfo "USE=demos has been dropped as per upstream packaging" |
99 |
+ einfo "vulkaninfo is now available in the dev-util/vulkan-tools package" |
100 |
+} |