diff options
author | Austin English <wizardedit@gentoo.org> | 2017-01-25 13:26:31 -0600 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2017-01-25 17:04:41 -0600 |
commit | aec86fc342960f69cf9b720b8e0bd458053a6a72 (patch) | |
tree | 28646ef7b65a510e7091704dc6ac209df169b0f9 /games-action/gltron/gltron-0.70-r2.ebuild | |
parent | app-emulation/wine: Version bump to 2.0 (diff) | |
download | gentoo-aec86fc342960f69cf9b720b8e0bd458053a6a72.tar.gz gentoo-aec86fc342960f69cf9b720b8e0bd458053a6a72.tar.bz2 gentoo-aec86fc342960f69cf9b720b8e0bd458053a6a72.zip |
games-action/gltron: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: Portage-2.3.2, Repoman-2.3.1
Diffstat (limited to 'games-action/gltron/gltron-0.70-r2.ebuild')
-rw-r--r-- | games-action/gltron/gltron-0.70-r2.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/games-action/gltron/gltron-0.70-r2.ebuild b/games-action/gltron/gltron-0.70-r2.ebuild new file mode 100644 index 000000000000..8086cac2a628 --- /dev/null +++ b/games-action/gltron/gltron-0.70-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils + +DESCRIPTION="3d tron, just like the movie" +HOMEPAGE="http://gltron.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz + mirror://gentoo/${PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=" + media-libs/libmikmod + media-libs/libpng:0 + media-libs/libsdl[sound,video] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-sound[vorbis,mikmod] + media-libs/smpeg + virtual/opengl" + +RDEPEND=${DEPEND} + +PATCHES=( + "${FILESDIR}"/${P}-configure.patch + "${FILESDIR}"/${P}-debian.patch + "${FILESDIR}"/${P}-gcc49.patch + "${FILESDIR}"/${P}-prototypes.patch +) + +src_prepare() { + default + sed -i \ + -e '/^gltron_LINK/s/$/ $(LDFLAGS)/' \ + Makefile.in || die +} + +src_configure() { + # warn/debug/profile just modify CFLAGS, they aren't + # real options, so don't utilize USE flags here + econf \ + --disable-warn \ + --disable-debug \ + --disable-profile +} + +src_install() { + default + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} GLtron +} |