diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-19 04:04:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-19 04:04:36 +0100 |
commit | d895362f98ae63a6ed12cd16d3b3df95d6967f25 (patch) | |
tree | e6c8a50e31dc122b10c6dc3d9eee5d6ec6f002c0 /media-libs/vulkan-loader | |
parent | 483d7c056fba15727fe24545f93627a1d1e1e2eb (diff) |
gentoo auto-resync : 19:10:2024 - 04:04:35
Diffstat (limited to 'media-libs/vulkan-loader')
-rw-r--r-- | media-libs/vulkan-loader/Manifest | 2 | ||||
-rw-r--r-- | media-libs/vulkan-loader/vulkan-loader-1.3.296.0.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/media-libs/vulkan-loader/Manifest b/media-libs/vulkan-loader/Manifest index a4c64a99d2fc..68de5e92a247 100644 --- a/media-libs/vulkan-loader/Manifest +++ b/media-libs/vulkan-loader/Manifest @@ -1,4 +1,6 @@ DIST vulkan-loader-1.3.290.0.tar.gz 1711013 BLAKE2B 72c55f07537df0e0ad0fedb4a3b913cde9b6d5038370c0e92bf15ad9ee881f5910842a1b5ee00d370b93341aefbd141414b77e7ac8823d101a861829cd9f338b SHA512 42ecf05e498f6422cea9d6ef70df5a936536524c1ff4d8cb391b5c55dd409082a6b2fc2eee5b395306c782ca32a7344faceef3e5385b382fb5a7e6564cfce4b5 +DIST vulkan-loader-1.3.296.0.tar.gz 1719284 BLAKE2B 5e31e490b8e301ba7b8f0fe589e3056434701bac2897fe9b1b72651d7ac0268b9b63b72003664a30f20646c7c54987c75c765ab4e39fa994603ff56fea8be3fc SHA512 535b7f324348e9edf44ff6a6a6e9eabe6e3a4bfad79bef789d1dc0cbbe3de36b6495a05236323d155631b081b89c18bb8668c79d1f735b59fc85ebee555aa682 EBUILD vulkan-loader-1.3.290.0.ebuild 1544 BLAKE2B 2d4ba7295fefcfdc9c32247327748029e0d00d9e5ad775e27116646bdbd6474f0451b424fd579ef8b5f9a474abb02e6d127e8582c575bf049a59074c48050702 SHA512 9a4ee1bcde22751ba25b1a3295f419671356581844cc8e70cac8b3b3c05310eb9f3fca6b5d6aa71e5f7668aa1c07e92dfcf4105d90bd28f88f5298b8d50a9113 +EBUILD vulkan-loader-1.3.296.0.ebuild 1550 BLAKE2B 2dd24a1cacbc9d5a5117d272ce7f8a18c240276544008ab76cdeaa57f1af9da0506efeba0dd7a9968777571742d9a9ddaf3ee0a14df32f13b0bf4a5f15837f6c SHA512 72871ceab060f3103deb936cb5903cae120de5d9c7669c698cf645816beea6642362f927f61fa13348de6faad0fbd8b1dc067e665012739560b4fb593992548b EBUILD vulkan-loader-9999.ebuild 1550 BLAKE2B 2dd24a1cacbc9d5a5117d272ce7f8a18c240276544008ab76cdeaa57f1af9da0506efeba0dd7a9968777571742d9a9ddaf3ee0a14df32f13b0bf4a5f15837f6c SHA512 72871ceab060f3103deb936cb5903cae120de5d9c7669c698cf645816beea6642362f927f61fa13348de6faad0fbd8b1dc067e665012739560b4fb593992548b MISC metadata.xml 429 BLAKE2B a0971a1631dc09134ba547210d48115cc0ad850414badc232db88d74f97da5a9c8d181ec489742d6c142ebffead1f3535d195ea15e12651c840f634bccf3bb67 SHA512 0c54fbb7b8147877cdeb919784db42cb12f7fc36286e7c3d83783493ad67e08e2486cb98c77f7ba201ac12e35678fdb53797acbd0f4f6a8b6a9e63f29573eedc diff --git a/media-libs/vulkan-loader/vulkan-loader-1.3.296.0.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.3.296.0.ebuild new file mode 100644 index 000000000000..54f748200e95 --- /dev/null +++ b/media-libs/vulkan-loader/vulkan-loader-1.3.296.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=Vulkan-Loader +inherit flag-o-matic cmake-multilib toolchain-funcs + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git" + EGIT_SUBMODULES=() + inherit git-r3 +else + SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/vulkan-sdk-${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + S="${WORKDIR}"/${MY_PN}-vulkan-sdk-${PV} +fi + +DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader" +HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Loader" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="layers wayland X" + +DEPEND=" + ~dev-util/vulkan-headers-${PV} + wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) + X? ( + x11-libs/libX11:=[${MULTILIB_USEDEP}] + x11-libs/libXrandr:=[${MULTILIB_USEDEP}] + ) +" +PDEPEND="layers? ( media-libs/vulkan-layers[${MULTILIB_USEDEP}] )" + +multilib_src_configure() { + # Integrated clang assembler doesn't work with x86 - Bug #698164 + if tc-is-clang && [[ ${ABI} == x86 ]]; then + append-cflags -fno-integrated-as + fi + + local mycmakeargs=( + -DCMAKE_C_FLAGS="${CFLAGS} -DNDEBUG" + -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DNDEBUG" + -DCMAKE_SKIP_RPATH=ON + -DBUILD_TESTS=OFF + -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland) + -DBUILD_WSI_XCB_SUPPORT=$(usex X) + -DBUILD_WSI_XLIB_SUPPORT=$(usex X) + -DVULKAN_HEADERS_INSTALL_DIR="${ESYSROOT}/usr" + ) + cmake_src_configure +} + +multilib_src_install() { + keepdir /etc/vulkan/icd.d + + cmake_src_install +} |