forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
3 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.@[email protected] snipe2d.@[email protected] | ||
-BUILT_SOURCES = snipe2d | ||
|
4 changes: 2 additions & 2 deletions
4
games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-gcc43.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30-r1.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |