summaryrefslogtreecommitdiff
path: root/games-rpg/freedroid/freedroid-1.9.1.ebuild
blob: 1a11bfdffcd80a69c33b6dacf153ec93c6d3bcc5 (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-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools desktop

DESCRIPTION="The original Freedroid, a clone of the C64 classic Paradroid"
HOMEPAGE="https://github.com/ReinhardPrix/FreedroidClassic"
SRC_URI="https://github.com/ReinhardPrix/FreedroidClassic/archive/refs/tags/${P}-sdl2-port.tar.gz"
S=${WORKDIR}/FreedroidClassic-${P}-sdl2-port

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	media-libs/libsdl2[joystick,sound,video]
	media-libs/sdl2-image[jpeg,png]
	media-libs/sdl2-mixer[mod,vorbis]
"
DEPEND="${RDEPEND}"
BDEPEND="
	virtual/pkgconfig
"

src_prepare() {
	default

	eautoreconf
}

src_install() {
	default

	newicon graphics/paraicon_48x48.png ${PN}.png
	make_desktop_entry --eapi9 ${PN} -c "Game;"
}