summaryrefslogtreecommitdiff
path: root/games-simulation/gl117/gl117-1.3.2-r1.ebuild
blob: 8f27db3990a60a9a185e25768814ce4c5edb0406 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop

MY_P="gl-117-${PV}-src"

DESCRIPTION="Action flight simulator"
HOMEPAGE="https://sourceforge.net/projects/gl-117/"
SRC_URI="
	mirror://sourceforge/gl-117/${MY_P}.tar.bz2
	https://dev.gentoo.org/~ionen/distfiles/${PN}.png"
S="${WORKDIR}/${MY_P}"

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

RDEPEND="
	media-libs/freeglut
	media-libs/libsdl[joystick,opengl,sound,video]
	media-libs/sdl-mixer[mod]
	virtual/glu
	virtual/opengl"
DEPEND="${RDEPEND}"

PATCHES=(
	"${FILESDIR}"/${P}-mode.patch
)

src_install() {
	default

	doman doc/gl-117.6
	dodoc doc/gl-117.pdf

	doicon "${DISTDIR}"/${PN}.png
	make_desktop_entry gl-117 GL-117
}