Diff vkroots-0_p20221205-r1 with a vkroots-0_p20230103-r1
/usr/portage/media-libs/vkroots/vkroots-0_p20230103-r1.ebuild 2023-10-09 14:52:31.720368406 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
COMMIT="e6b89494142eec0ac6061f82a947d2f1246d3d7a" |
|
6 |
# Regenerating vkroots.h from the system vk.xml may seem like a good idea, |
|
7 |
# especially given that vkroots.h includes some Vulkan headers, but this has led |
|
8 |
# to issues such as https://github.com/ValveSoftware/gamescope/issues/858. |
|
9 |
# Leaving the code commented in case we need to revert to the earlier approach. |
|
10 | ||
11 |
# PYTHON_COMPAT=( python3_{10..11} ) |
|
12 | ||
13 |
# inherit meson python-any-r1 |
|
14 | ||
15 |
inherit meson |
|
16 | ||
17 |
COMMIT="26757103dde8133bab432d172b8841df6bb48155" |
|
7 | 18 |
DESCRIPTION="Simple framework for writing Vulkan layers" |
8 | 19 |
HOMEPAGE="https://github.com/Joshua-Ashton/vkroots" |
9 | 20 |
SRC_URI="https://github.com/Joshua-Ashton/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
... | ... | |
11 | 22 |
LICENSE="Apache-2.0 MIT LGPL-2.1" |
12 | 23 |
SLOT="0" |
13 | 24 | |
25 |
# BDEPEND=" |
|
26 |
# ${PYTHON_DEPS} |
|
27 |
# dev-util/vulkan-headers |
|
28 |
# " |
|
29 | ||
14 | 30 |
RDEPEND=" |
15 | 31 |
dev-util/vulkan-headers |
16 | 32 |
" |
17 | 33 | |
18 | 34 |
S="${WORKDIR}/${PN}-${COMMIT}" |
19 | 35 | |
20 |
src_install() { |
|
21 |
default |
|
22 |
insinto /usr/include/${PN} |
|
23 |
doins ${PN}.h meson.build |
|
24 |
} |
|
36 |
# src_compile() { |
|
37 |
# "${PYTHON}" ./gen/make_vkroots --xml "${BROOT}"/usr/share/vulkan/registry/vk.xml || die |
|
38 |
# } |