blob: 0e48270ff560973e7138fdff41cb793fc6094309 (
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
45
46
47
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop
DESCRIPTION="Robbo, a popular Atari XE/XL game ported to Linux"
HOMEPAGE="http://gnurobbo.sourceforge.net/"
SRC_URI="
mirror://sourceforge/gnurobbo/${P}-source.tar.gz
https://salsa.debian.org/games-team/gnurobbo/-/raw/debian/0.68+dfsg-5/debian/patches/single-variable-declarations.patch?inline=false -> ${P}-single-variable-declarations.patch
"
LICENSE="GPL-2 BitstreamVera"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
S="${WORKDIR}/${P}/${PN}"
RDEPEND="
media-libs/libsdl[sound,video,joystick]
media-libs/sdl-image[png]
media-libs/sdl-mixer[vorbis]
media-libs/sdl-ttf
"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${P}-cflags-d.patch"
"${DISTDIR}/${P}-single-variable-declarations.patch"
)
src_compile() {
emake \
PACKAGE_DATA_DIR="${EPREFIX}/usr/share/${PN}" \
BINDIR="/usr/bin" \
DOCDIR="/usr/share/doc/${PF}"
}
src_install() {
dobin gnurobbo
insinto "/usr/share/${PN}"
doins -r data/{levels,skins,locales,rob,sounds}
dodoc AUTHORS Bugs ChangeLog README TODO
newicon icon32.png ${PN}.png
make_desktop_entry ${PN} Gnurobbo
}
|