games-simulation/gl117: remove deprecated games eclass
authorAustin English <wizardedit@gentoo.org>
Fri, 16 Sep 2016 23:16:19 +0000 (18:16 -0500)
committerAustin English <wizardedit@gentoo.org>
Fri, 16 Sep 2016 23:23:24 +0000 (18:23 -0500)
Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

games-simulation/gl117/files/gl117-1.3.2-mode.patch
games-simulation/gl117/gl117-1.3.2-r1.ebuild [new file with mode: 0644]

index c74e07c1cafd8a8e64025ecbdfc701ce0049189d..d3f13084a96f2f602ed1f67bd740f49cfd659276 100644 (file)
@@ -1,5 +1,5 @@
---- src/main.cpp.orig  2010-07-13 09:35:18.374122609 +0100
-+++ src/main.cpp       2010-07-13 09:35:45.334955120 +0100
+--- a/src/main.cpp     2010-07-13 09:35:18.374122609 +0100
++++ b/src/main.cpp     2010-07-13 09:35:45.334955120 +0100
 @@ -71,8 +71,7 @@ int mode = 0;
  
  // pre-defined screen resolutions (x, y, bpp, fullscreen)
diff --git a/games-simulation/gl117/gl117-1.3.2-r1.ebuild b/games-simulation/gl117/gl117-1.3.2-r1.ebuild
new file mode 100644 (file)
index 0000000..f20c371
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+MY_P="gl-117-${PV}-src"
+DESCRIPTION="An action flight simulator"
+HOMEPAGE="http://www.heptargon.de/gl-117/gl-117.html"
+SRC_URI="mirror://sourceforge/gl-117/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="
+       media-libs/freeglut
+       media-libs/libsdl[sound,joystick,opengl,video]
+       media-libs/sdl-mixer[mod]
+       virtual/glu
+       virtual/opengl"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+       "${FILESDIR}"/${P}-mode.patch
+)
+
+src_install() {
+       DOCS="doc/gl-117.pdf AUTHORS ChangeLog FAQ NEWS README" \
+               default
+       newicon doc/src/falcon.jpg ${PN}.jpg
+       make_desktop_entry gl-117 GL-117 /usr/share/pixmaps/${PN}.jpg
+       doman doc/gl-117.6
+}