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

Switch to the `eden-emulator/sirit` fork.

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2025-10-04 13:01:08 +03:00
parent 8f9e7a09c7
commit 7cce04c53e
4 changed files with 33 additions and 33 deletions

View File

@@ -0,0 +1,28 @@
# 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"
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
}