1 # Copyright 1999-2017 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"
20 media-libs/libsdl[sound,video]
21 media-libs/sdl-mixer[vorbis]
22 media-libs/sdl-sound[vorbis,mikmod]
29 "${FILESDIR}"/${P}-configure.patch
30 "${FILESDIR}"/${P}-debian.patch
31 "${FILESDIR}"/${P}-gcc49.patch
32 "${FILESDIR}"/${P}-prototypes.patch
38 -e '/^gltron_LINK/s/$/ $(LDFLAGS)/' \
43 # warn/debug/profile just modify CFLAGS, they aren't
44 # real options, so don't utilize USE flags here
53 doicon "${DISTDIR}"/${PN}.png
54 make_desktop_entry ${PN} GLtron