mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-libs/sirit: new ebuild
Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
1
dev-libs/sirit/Manifest
Normal file
1
dev-libs/sirit/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST sirit-0_p20220725.tar.gz 23535 BLAKE2B 8cdcb2b5007b849b032be1fbe53375a24bd62b109da4c7388e18961294acde0ea3bd2312c5c40eafd2394712fdf83ea16b47df94b8ee5c51f5de37a7e2df79ff SHA512 4424d1020a02877a2465d94ace0309cfc6952b0624ba248c113a5858e3749837d430fb5ec348953c140955ddf013a2a783f97b9594899a989905b08b82722a60
|
||||
31
dev-libs/sirit/sirit-0_p20220725.ebuild
Normal file
31
dev-libs/sirit/sirit-0_p20220725.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake vcs-snapshot
|
||||
|
||||
DESCRIPTION="A runtime SPIR-V assembler"
|
||||
HOMEPAGE="https://github.com/ReinUsesLisp/sirit"
|
||||
SRC_URI="https://github.com/ReinUsesLisp/sirit/archive/aa292d56650bc28f2b2d75973fab2e61d0136f9c.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2" # what is BSD-3-Clause
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="dev-util/spirv-headers"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user