1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="3d tron, just like the movie"
8 HOMEPAGE="http://gltron.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz
10 mirror://gentoo/${PN}.png"
14 KEYWORDS="amd64 ppc x86"
17 DEPEND="virtual/opengl
19 media-libs/libsdl[sound,video]
20 media-libs/sdl-mixer[vorbis]
21 media-libs/sdl-sound[vorbis,mikmod]
28 "${FILESDIR}"/${P}-configure.patch \
29 "${FILESDIR}"/${P}-prototypes.patch \
30 "${FILESDIR}"/${P}-debian.patch \
31 "${FILESDIR}"/${P}-gcc49.patch
33 -e '/^gltron_LINK/s/$/ $(LDFLAGS)/' \
38 # warn/debug/profile just modify CFLAGS, they aren't
39 # real options, so don't utilize USE flags here
48 doicon "${DISTDIR}"/${PN}.png
49 make_desktop_entry ${PN} GLtron