aboutsummaryrefslogtreecommitdiff
blob: dca9d526a9e8252f9b5edf4acc8be90ea688c0f4 (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 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake

MY_P="sosage-v${PV}"
MY_DATA_P="superflu-riteurnz-v1.0.0-xmas2020demo-data"

DESCRIPTION="Artisanal video-game about Superflu, the useless super-hero (french)"
HOMEPAGE="https://ptilouk.net/superflu-riteurnz/"
SRC_URI="
	https://framagit.org/Gee/sosage/-/archive/v${PV}/${MY_P}.tar.gz
	https://dl.bintray.com/ptilouk/superflu-riteurnz/zip/${MY_DATA_P}.zip
"
S="${WORKDIR}/${MY_P}"
LICENSE="CC-BY-SA-2.0 GPL-3+ CC-BY-3.0"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	dev-libs/libyaml
	media-libs/libsdl2
	media-libs/sdl2-mixer
	media-libs/sdl2-image
	media-libs/sdl2-ttf
"
RDEPEND="${DEPEND}"
BDEPEND="app-arch/unzip"

src_configure() {
	local mycmakeargs=(
		-DSOSAGE_DATA_FOLDER="${WORKDIR}/${MY_DATA_P}"
	)

	cmake_src_configure
}