diff options
author | Austin English <wizardedit@gentoo.org> | 2017-01-25 17:04:23 -0600 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2017-01-25 17:05:09 -0600 |
commit | e5294867fc8c369528382a8343f1b9f3e5d9f41b (patch) | |
tree | 1c9bc947a4700798e68fb897c82d499463908cbd | |
parent | games-action/openastromenace: remove deprecated games eclass (diff) | |
download | gentoo-e5294867fc8c369528382a8343f1b9f3e5d9f41b.tar.gz gentoo-e5294867fc8c369528382a8343f1b9f3e5d9f41b.tar.bz2 gentoo-e5294867fc8c369528382a8343f1b9f3e5d9f41b.zip |
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
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 090fb601d4c4..9492e1e8b967 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 268294a2c6c9..d3747ed0802b 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 000000000000..8f8ef383fbd4 --- /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" +} |