commit:     7514f5949bec7efe9b50f606af2678a829b6e741
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 16 23:16:19 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Sep 16 23:23:24 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7514f594

games-simulation/gl117: remove deprecated games eclass

Also update to EAPI 6

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

Package-Manager: portage-2.3.0

 .../gl117/files/gl117-1.3.2-mode.patch             |  4 +--
 games-simulation/gl117/gl117-1.3.2-r1.ebuild       | 38 ++++++++++++++++++++++
 2 files changed, 40 insertions(+), 2 deletions(-)

diff --git a/games-simulation/gl117/files/gl117-1.3.2-mode.patch 
b/games-simulation/gl117/files/gl117-1.3.2-mode.patch
index c74e07c..d3f1308 100644
--- a/games-simulation/gl117/files/gl117-1.3.2-mode.patch
+++ b/games-simulation/gl117/files/gl117-1.3.2-mode.patch
@@ -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
index 00000000..f20c371
--- /dev/null
+++ b/games-simulation/gl117/gl117-1.3.2-r1.ebuild
@@ -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
+}

Reply via email to