dev-libs/sirit: add 1.0.5

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2026-03-29 16:06:45 +03:00
parent 4125f1adc2
commit 396c9dde93
2 changed files with 34 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST sirit-1.0.4.tar.gz 53372 BLAKE2B 4d297427a40a3a22c739579dbae9cfda9ed7f0f7f5ab7297bff92370c58e46478df16509a51bfb3ace1d852cd035255146adf78a7d2220ee01b1c581ab7a8606 SHA512 996d6f114ad2d1aced730e251fcfbea18cc7ab14fa1d3c52c8bc42cd211f005a9af523adf8705ef1e06e662df372a925629da04719b43da6a3c8b5dae881add0
DIST sirit-1.0.5.tar.gz 53514 BLAKE2B af2b0a0468b87d88ba570e6c9ea91da0425d00dcdf1c465ba640067168c8e3a5ff539093303eae4de961506e1d5c17a70e36c791e96ea3a1d71b76876f946ad2 SHA512 b7cd6885acae3fc8698288d19febba0dd45e4a02a2b6563d2eb995a988d0847046e8d16a5dea7e0bf832b4321bcec134cdbafc553f6ede039e4cf34525c5dce5

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="A runtime SPIR-V assembler"
HOMEPAGE="https://github.com/eden-emulator/sirit"
SRC_URI="https://github.com/eden-emulator/sirit/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="AGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="dev-util/spirv-headers"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON
-DSIRIT_TESTS=$(usex test)
)
cmake_src_configure
}
src_install() {
cmake_src_install
dodoc LICENSE
}