1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit flag-o-matic gnome2-utils
7 DESCRIPTION="A 2D space trading and combat game, in a similar vein to Escape Velocity"
8 HOMEPAGE="http://blog.naev.org/"
9 SRC_URI="mirror://sourceforge/naev/${P}.tar.bz2
10 mirror://sourceforge/naev/ndata-${PV}.zip"
12 LICENSE="GPL-2 GPL-3 public-domain CC-BY-3.0 CC-BY-SA-3.0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="debug +mixer +openal"
18 media-libs/libsdl2[X,sound,video]
21 >=media-libs/freetype-2:2
22 >=media-libs/libvorbis-1.2.1
23 >=media-libs/libpng-1.2:0=
27 mixer? ( media-libs/sdl2-mixer )
28 openal? ( media-libs/openal )
40 --docdir=/usr/share/doc/${PF} \
44 $(use_with mixer sdlmixer)
54 appicondir=/usr/share/pixmaps \
55 appdatadir=/usr/share/appdata \
56 Graphicsdir=/usr/share/applications \
58 insinto /usr/share/${PN}
59 newins "${DISTDIR}"/ndata-${PV}.zip ndata
62 for res in 16 32 64 128; do
63 newicon -s ${res} extras/logos/logo${res}.png naev.png
66 rm -f "${D}"/usr/share/doc/${PF}/LICENSE
74 gnome2_icon_cache_update
78 gnome2_icon_cache_update