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/noiz2sa/files/, games-action/noiz2sa/
Date: Tue, 12 Jul 2016 23:03:08
Message-Id: 1468364490.b167e1f5c097d2dfc13f981480eaecab229b2d55.wizardedit@gentoo
1 commit: b167e1f5c097d2dfc13f981480eaecab229b2d55
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 12 22:59:24 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 12 23:01:30 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b167e1f5
7
8 games-action/noiz2sa: 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.0
15
16 .../noiz2sa/files/noiz2sa-0.51a-underlink.patch | 4 +-
17 games-action/noiz2sa/noiz2sa-0.51a-r1.ebuild | 43 ++++++++++++++++++++++
18 2 files changed, 45 insertions(+), 2 deletions(-)
19
20 diff --git a/games-action/noiz2sa/files/noiz2sa-0.51a-underlink.patch b/games-action/noiz2sa/files/noiz2sa-0.51a-underlink.patch
21 index adb1b0c..6d6ab9f 100644
22 --- a/games-action/noiz2sa/files/noiz2sa-0.51a-underlink.patch
23 +++ b/games-action/noiz2sa/files/noiz2sa-0.51a-underlink.patch
24 @@ -1,5 +1,5 @@
25 ---- makefile.lin.old 2011-06-14 08:03:28.928366818 +0200
26 -+++ makefile.lin 2011-06-14 08:07:43.199113541 +0200
27 +--- a/makefile.lin 2011-06-14 08:03:28.928366818 +0200
28 ++++ b/makefile.lin 2011-06-14 08:07:43.199113541 +0200
29 @@ -4,18 +4,13 @@
30 NAME = noiz2sa
31 O = o
32
33 diff --git a/games-action/noiz2sa/noiz2sa-0.51a-r1.ebuild b/games-action/noiz2sa/noiz2sa-0.51a-r1.ebuild
34 new file mode 100644
35 index 0000000..9da5729
36 --- /dev/null
37 +++ b/games-action/noiz2sa/noiz2sa-0.51a-r1.ebuild
38 @@ -0,0 +1,43 @@
39 +# Copyright 1999-2016 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +# $Id$
42 +
43 +EAPI=6
44 +inherit eutils user
45 +
46 +DESCRIPTION="Abstract Shooting Game"
47 +HOMEPAGE="http://www.asahi-net.or.jp/~cs8k-cyu/windows/noiz2sa_e.html http://sourceforge.net/projects/noiz2sa/"
48 +SRC_URI="mirror://sourceforge/noiz2sa/${P}.tar.gz"
49 +
50 +LICENSE="BSD"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~ppc ~x86"
53 +IUSE=""
54 +
55 +DEPEND="
56 + >=dev-libs/libbulletml-0.0.3
57 + media-libs/sdl-mixer[vorbis]
58 + virtual/opengl"
59 +RDEPEND="${DEPEND}"
60 +
61 +S=${WORKDIR}/${PN}/src
62 +
63 +PATCHES=(
64 + "${FILESDIR}"/${P}-gcc41.patch
65 + "${FILESDIR}"/${P}-underlink.patch
66 +)
67 +
68 +src_prepare(){
69 + default
70 + cp makefile.lin Makefile || die
71 +}
72 +
73 +src_install(){
74 + local datadir="/usr/share/games/${PN}"
75 +
76 + dobin ${PN}
77 + dodir "${datadir}"
78 + dodoc ../readme*
79 +
80 + cp -r ../noiz2sa_share/* "${D}/${datadir}" || die
81 +}