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

@@ -1 +1 @@
DIST sirit-0_p20230510.tar.gz 24196 BLAKE2B cd9512d79352bd00b33f59afff61059fa8e31b5e8792f37753543e37cd08967e0828dfa27a9f561281d800cf43a1466e8222f3d787385c3eabb1c24ecc13713b SHA512 768871f203bd1263fb2f01cba1a661fb85e8681f7af6f92403abe4fa34d79908edd863bfcbac1cacaad7dd08e0b720122fffe793881ffb0e4ee3af7c9c55affc
DIST sirit-1.0.1.tar.gz 53080 BLAKE2B c2d64309ca4e579e7c0d2d09f2571aafd1090d200bb16699ffe354370abe3bc8f9803f8aeaef7210fe6b0ab462af615806dbe484d7f3fbe3bfb27d8ee7622387 SHA512 c76823f8e11b75421093468346000fbba3d0e416297744d252caaaa79817446bbbadba738e8da2c52fa11a14c71696cdf83fb7a67c38ecee8d59a54e37fa9a83

View File

@@ -5,6 +5,10 @@
<name>Samuel Bauer</name>
<email>samuel.bauer@yahoo.fr</email>
</maintainer>
<maintainer type="person">
<name>Pavel Sobolev</name>
<email>contact@paveloom.dev</email>
</maintainer>
<upstream>
<remote-id type="github">PabloMK7/sirit</remote-id>
</upstream>

View File

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

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
}