public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-action/orbital-eunuchs-sniper/files/, games-action/orbital-eunuchs-sniper/
@ 2017-01-25 23:05 Austin English
  0 siblings, 0 replies; only message in thread
From: Austin English @ 2017-01-25 23:05 UTC (permalink / raw
  To: gentoo-commits

commit:     e5294867fc8c369528382a8343f1b9f3e5d9f41b
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 25 23:04:23 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 23:05:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5294867

games-action/orbital-eunuchs-sniper: 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

 .../orbital-eunuchs-sniper-1.30-datadir.patch      |  8 ++---
 .../files/orbital-eunuchs-sniper-1.30-gcc43.patch  |  4 +--
 .../orbital-eunuchs-sniper-1.30-r1.ebuild          | 42 ++++++++++++++++++++++
 3 files changed, 48 insertions(+), 6 deletions(-)

diff --git a/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-datadir.patch b/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-datadir.patch
index 090fb60..9492e1e 100644
--- a/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-datadir.patch
+++ b/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-datadir.patch
@@ -1,5 +1,5 @@
---- configure.ac
-+++ configure.ac
+--- a/configure.ac
++++ b/configure.ac
 @@ -64,14 +64,12 @@
   ,dnl default action of assigning shell value
   with_games_dir="${runtime_datadir}/games"
@@ -15,8 +15,8 @@
  
  
  echo $ac_n "ordering crap from http://www.amazon.com/gp/registry/296ST2NHEBO0Z" 1>&6
---- src/Makefile.am
-+++ src/Makefile.am
+--- a/src/Makefile.am
++++ b/src/Makefile.am
 @@ -1,6 +1,4 @@
 -pkgdata_PROGRAMS = snipe2d.@CPU_IS@.dynamic snipe2d.@CPU_IS@.static
 -BUILT_SOURCES = snipe2d

diff --git a/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-gcc43.patch b/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-gcc43.patch
index 268294a..d3747ed 100644
--- a/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-gcc43.patch
+++ b/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-gcc43.patch
@@ -1,5 +1,5 @@
---- src/snipe2d.h
-+++ src/snipe2d.h
+--- a/src/snipe2d.h
++++ b/src/snipe2d.h
 @@ -39,6 +39,7 @@
  #include <stdlib.h>
  #include <math.h>

diff --git a/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30-r1.ebuild b/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30-r1.ebuild
new file mode 100644
index 00000000..8f8ef38
--- /dev/null
+++ b/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils
+
+MY_P=${PN//-/_}-${PV}
+DESCRIPTION="Snipe terrorists from your orbital base"
+HOMEPAGE="http://icculus.org/oes/"
+SRC_URI="http://filesingularity.timedoctor.org/${MY_P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[joystick,video]
+	media-libs/sdl-image[png]
+	media-libs/sdl-mixer[vorbis]"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+	"${FILESDIR}"/${P}-datadir.patch
+	"${FILESDIR}"/${P}-gcc43.patch
+)
+src_prepare() {
+	default
+
+	sed -i \
+		-e '/^sleep /d' \
+		configure.ac || die
+	eautoreconf
+}
+
+src_install() {
+	DOCS="AUTHORS ChangeLog readme.txt README TODO" \
+		default
+	make_desktop_entry snipe2d "Orbital Eunuchs Sniper"
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-25 23:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-25 23:05 [gentoo-commits] repo/gentoo:master commit in: games-action/orbital-eunuchs-sniper/files/, games-action/orbital-eunuchs-sniper/ Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox