blob: 65e8b93b2b47a7ea4684d0ca43317ee325da15b8 (
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
39
40
41
42
43
44
|
EAPI=8
inherit cmake
DESCRIPTION="Port of xsystem35, a free implementation of AliceSoft's System 3.x game engine."
HOMEPAGE="https://github.com/kichikuou/xsystem35-sdl2"
SRC_URI="https://github.com/kichikuou/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+man debug +portmidi +webp"
DEPEND="
media-libs/libsdl2
media-libs/sdl2-mixer
media-libs/sdl2-ttf
virtual/zlib:=
webp? ( media-libs/libwebp )
debug? ( dev-libs/cJSON )
portmidi? ( media-libs/portmidi )
"
RDEPEND="${DEPEND}"
BDEPEND="
sys-devel/gettext
man? ( dev-ruby/asciidoctor )
"
src_configure() {
local mycmakeargs=(
-DCMAKE_BUILD_TYPE=$(usex debug Debug Release)
-DENABLE_DEBUGGER=$(usex debug)
-DENABLE_PORTMIDI=$(usex portmidi)
-DENABLE_WEBP=$(usex webp)
)
cmake_src_configure
}
src_install() {
cmake_src_install
# Install additional documentation
dodoc CHANGELOG.md game_compatibility.md
}
|