diff options
Diffstat (limited to 'media-libs/vulkan-loader')
-rw-r--r-- | media-libs/vulkan-loader/Manifest | 4 | ||||
-rw-r--r-- | media-libs/vulkan-loader/vulkan-loader-1.3.275.ebuild | 59 | ||||
-rw-r--r-- | media-libs/vulkan-loader/vulkan-loader-9999.ebuild | 1 |
3 files changed, 62 insertions, 2 deletions
diff --git a/media-libs/vulkan-loader/Manifest b/media-libs/vulkan-loader/Manifest index 96d4a01ea903..f6f43665d4b7 100644 --- a/media-libs/vulkan-loader/Manifest +++ b/media-libs/vulkan-loader/Manifest @@ -1,6 +1,8 @@ DIST vulkan-loader-1.3.261.tar.gz 1684713 BLAKE2B 0321a56329cc8f578e07c24a53846f0a3ac9f81ce897975f0d0732db6a6ab905e682a81cb232d96d01311a9d9b89fb142b3c0eca5330371f42ba52e12c7ed2cc SHA512 f43bf9714c30b0751d9f6725ad7df7f70516b5e12a637bfb4cdf175b33d2be78e1717a3ae9537544ca84e0c89d5b759d537b932eec7f5502fcc871f6cdaa440c DIST vulkan-loader-1.3.268.tar.gz 1689273 BLAKE2B 6d7c1bfe82f594a68f3298d884efb61556b6d408357eb0360db2103af17bd47f981916dcc7584f8380c2530a88f05d59faa0754993975219e1955941dd3d32d8 SHA512 01e5f281efd5702b9930cecf3148aad9a79812c54e780a5a8ff2df2326ae10511001f1b6e3ebde19e47de229a9c97f6195b6b1e9fb7b3b4c88a4d1b6746f7aea +DIST vulkan-loader-1.3.275.tar.gz 1701415 BLAKE2B c92cc2d3ff3c90eaaa820f0f857030ab6f957d0691f7cbaf53985bd4d4c6f0f2b4222623740bd2c433c2e0116545af37b8ac9959b554b800ca95a978fd1b14b5 SHA512 7af0110083ab827e4ea8b4ea3e3ce00d9387f27f5725cefd426fa4dee4b80bc83210248c2968577a90bb82de8efb1a68691a1bdb93769f2f04600c5a3d3eff91 EBUILD vulkan-loader-1.3.261.ebuild 1554 BLAKE2B e27d35577aa89e029eb29764a73ecfa275373c99257175b708776ac6dd765f4e056b2904df9e1c7ba95c3d3e81c3859cb8206dbdbdf75d72d06f49f5932ab85a SHA512 6bb68b91b0cb1aa75dc5017b6b5d45e24a185f04d623f2f672be62774dc3d27c6a9a560f463c713d34a85c7dc8f486fc5a909a08530fb7452a71cf9aed0ce354 EBUILD vulkan-loader-1.3.268.ebuild 1568 BLAKE2B 153b080da25011f793dbe68054820ee26b7068d42fead991a002f56cf36920ae4da07c9c99896a954b09d4b7b6f346d791d6d793fbc18946d2dff75225752657 SHA512 6e05bfd8d3ea9a12148724fb2737d4dd1c21420cc4f1c862c181c392e5ab78aacc1902e5f1174ab8db9681bb3cdc4e3586ace00f30dc844161e31e95258ac145 -EBUILD vulkan-loader-9999.ebuild 1584 BLAKE2B 4eac72c8b9de1c8721ccdfc35ccd31bba3cb6b41cc06f66a8410c2eb9103d9a1df48b6509a237cc8d7a453a5ffdf39047e550f7a1e3a13206270b27786b27bfa SHA512 1031a3d0c76afd82d3ae5e7b3b22ca3fad65d8034709db45ba3ce9c01750ae92fcd2e0102639bc9bcf90b2037ee3723a2496cdc11eadd0219549f00418a1cf1c +EBUILD vulkan-loader-1.3.275.ebuild 1552 BLAKE2B 2f42ef99792fb97542b7695ae89d396c5c2f0e2a16bd05e29ed019fce1795953b5795b54e7f42a4caf3e60bffa74a2cdf4a2df11fddfeb49a81cfd9f1aab0300 SHA512 a6fe7d5f1697dd1abfef7ffe42d53f208f9d4a956942fb3f96ce4ad54ca6ed9c950fdfdd205a16043bff91d77c29e2926cd70e61865d54baa8e150c98712fb7f +EBUILD vulkan-loader-9999.ebuild 1562 BLAKE2B 19ca31786af5a26cc88d508374efebd1bb3f2bd7929ad0236b4a1bd70fbd5c54e44b149e8de23bb51ec8448a7bdc8573dca7adc4de45517b157f98b87ddfac2f SHA512 89f8b81fa6b47fa6a94abd3fa15e9b52b184de225b2e0a5df4cf833f9db804b7dd087c73fa12167ffc4d06414cdd50487f4ea462f78127810f0d23eadd3e8d1b MISC metadata.xml 520 BLAKE2B 5f5add8ab6dcec0fec9ffd20f5dbfababeff0a441855c641e1791727c4dd1c9eb17cebee79b9c4c325c355b1efc91b25f0c6246d11b010dde2109e38d9df6178 SHA512 4274ba14bdeddfe766c7394cbbb44c52aa4726f096ef2567e427fff6a710fe3de23466cb742f40162f4c2890f3a3a62e326364e45680ac1b8a0bca47db0e6e34 diff --git a/media-libs/vulkan-loader/vulkan-loader-1.3.275.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.3.275.ebuild new file mode 100644 index 000000000000..ca20e66ef4a1 --- /dev/null +++ b/media-libs/vulkan-loader/vulkan-loader-1.3.275.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 +} diff --git a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild index 8cc74ccb97e7..7d311b4ae225 100644 --- a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild +++ b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild @@ -49,7 +49,6 @@ multilib_src_configure() { -DBUILD_WSI_XCB_SUPPORT=$(usex X) -DBUILD_WSI_XLIB_SUPPORT=$(usex X) -DVULKAN_HEADERS_INSTALL_DIR="${ESYSROOT}/usr" - -DENABLE_WERROR=OFF ) cmake_src_configure } |