media-libs/VulkanMemoryAllocator: add 3.4.0

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2026-06-07 12:41:02 +03:00
parent c1063cbfe8
commit 69ea57f440
2 changed files with 34 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST VulkanMemoryAllocator-3.3.0.tar.gz 962176 BLAKE2B 671f73f7e11b6a2ae57d5228cfb7a8f65db12b937cb55dd3c4075247a7f3061cbb2111f2f4b3f5937e374960f76f7abdd10697567af1ba49e42d0ea314b1000b SHA512 deb5902ef8db0e329fbd5f3f4385eb0e26bdd9f14f3a2334823fb3fe18f36bc5d235d620d6e5f6fe3551ec3ea7038638899db8778c09f6d5c278f5ff95c3344b
DIST VulkanMemoryAllocator-3.4.0.tar.gz 1002168 BLAKE2B def1f7ffd68e465dd30e6058c5e750628e3fa1712ebe36294c736b6f4d90d7a79851b9ef595560d602b473e54dadde5c3c43c94711ea68da37f1d41db2fa3349 SHA512 563acbcd8912d10d92c23715eba7acf0e7c1683af36021f415b36f359c2cce065f3906e395c32282a8410ec5c8179fbcb6412935c6629a49357475d4b4410e2a

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Easy to integrate Vulkan memory allocation library"
HOMEPAGE="https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator"
SRC_URI="https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64"
IUSE="doc"
BDEPEND="
doc? ( app-text/doxygen )
"
src_prepare() {
sed -i "s|doc/VulkanMemoryAllocator|doc/${PF}|" CMakeLists.txt
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DVMA_BUILD_DOCUMENTATION=$(usex doc)
)
cmake_src_configure
}