Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/snipes/, games-action/snipes/files/
Date: Mon, 30 Jan 2017 23:09:40
Message-Id: 1485817747.5e18087a7390cc3dbe626867a1ff2b8dbe78038b.wizardedit@gentoo
1 commit: 5e18087a7390cc3dbe626867a1ff2b8dbe78038b
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 19:50:47 2017 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 23:09:07 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e18087a
7
8 games-action/snipes: remove deprecated games eclass
9
10 Also update to EAPI 6
11
12 Gentoo-Bug: https://bugs.gentoo.org/574082
13
14 Package-Manager: Portage-2.3.2, Repoman-2.3.1
15
16 .../snipes/files/snipes-1.0.4-nongnulinker.patch | 4 +--
17 games-action/snipes/snipes-1.0.4-r1.ebuild | 35 ++++++++++++++++++++++
18 2 files changed, 37 insertions(+), 2 deletions(-)
19
20 diff --git a/games-action/snipes/files/snipes-1.0.4-nongnulinker.patch b/games-action/snipes/files/snipes-1.0.4-nongnulinker.patch
21 index dbfab28..8bdaeef 100644
22 --- a/games-action/snipes/files/snipes-1.0.4-nongnulinker.patch
23 +++ b/games-action/snipes/files/snipes-1.0.4-nongnulinker.patch
24 @@ -1,5 +1,5 @@
25 ---- Makefile.old 2011-12-18 17:24:28.795315064 +0100
26 -+++ Makefile 2011-12-18 17:24:59.005311478 +0100
27 +--- a/Makefile 2011-12-18 17:24:28.795315064 +0100
28 ++++ b/Makefile 2011-12-18 17:24:59.005311478 +0100
29 @@ -33,7 +33,7 @@
30 IMGOBJ = $(OIMGS:%.pbm=$(INTERMEDIATE)/%.o)
31
32
33 diff --git a/games-action/snipes/snipes-1.0.4-r1.ebuild b/games-action/snipes/snipes-1.0.4-r1.ebuild
34 new file mode 100644
35 index 00000000..c2c8983
36 --- /dev/null
37 +++ b/games-action/snipes/snipes-1.0.4-r1.ebuild
38 @@ -0,0 +1,35 @@
39 +# Copyright 1999-2017 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +# $Id$
42 +
43 +EAPI=6
44 +inherit toolchain-funcs eutils
45 +
46 +DESCRIPTION="2D scrolling shooter, resembles the old DOS game of same name"
47 +HOMEPAGE="https://cyp.github.com/snipes/"
48 +SRC_URI="https://cyp.github.com/snipes/${P}.tar.gz"
49 +
50 +LICENSE="GPL-2"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~ppc ~x86"
53 +IUSE=""
54 +
55 +DEPEND="media-libs/libsdl[sound,video]"
56 +RDEPEND=${DEPEND}
57 +
58 +PATCHES=(
59 + "${FILESDIR}"/${P}-nongnulinker.patch
60 +)
61 +
62 +src_compile() {
63 + tc-getLD
64 + default
65 +}
66 +
67 +src_install() {
68 + dobin snipes
69 + doman snipes.6
70 + dodoc ChangeLog
71 + doicon ${PN}.png
72 + make_desktop_entry snipes "Snipes"
73 +}