dev-libs/sirit: add 0_p20230510, drop 0_p20220725

Update to a fork that adds missing GLSL instructions.

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2025-07-11 22:52:30 +03:00
parent cfbc7b0ace
commit c274b50972
3 changed files with 6 additions and 4 deletions

View File

@@ -0,0 +1,32 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake vcs-snapshot
EGIT_COMMIT="4ab79a8c023aa63caaa93848b09b9fe8b183b1a9"
DESCRIPTION="A runtime SPIR-V assembler"
HOMEPAGE="https://github.com/PabloMK7/sirit"
SRC_URI="https://github.com/PabloMK7/sirit/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-util/spirv-headers"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON
)
cmake_src_configure
}
src_install() {
dodoc LICENSE.txt README.md
dolib.so "${BUILD_DIR}/src/libsirit.so"
doheader -r include/sirit
}