summaryrefslogtreecommitdiff
path: root/dev-libs/nihstro/nihstro-0_pre20250505.ebuild
blob: d871016d64b12b2d2b86779a4590e45fcad7343c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

EGIT_COMMIT="f4d8659decbfe5d234f04134b5002b82dc515a44"

DESCRIPTION="3DS shader assembler and disassembler"
HOMEPAGE="https://github.com/neobrain/nihstro"
SRC_URI="https://github.com/neobrain/nihstro/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/${PN}-${EGIT_COMMIT}"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="dev-libs/boost:="

PATCHES=(
	"${FILESDIR}/${PN}-0_pre20250505-bump-minimum-required-CMake-version.patch"
)

src_configure() {
	local mycmakeargs=(
		-Wno-dev
	)

	cmake_src_configure
}

src_install() {
	cmake_src_install

	doheader -r include/nihstro
}