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/nighthawk/files/, games-action/nighthawk/
Date: Wed, 27 Jul 2016 16:55:51
Message-Id: 1469638533.0e486ae3d6c75c193a3a56f9abbb6a802bcaef9f.wizardedit@gentoo
1 commit: 0e486ae3d6c75c193a3a56f9abbb6a802bcaef9f
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 27 16:53:27 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 27 16:55:33 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e486ae3
7
8 games-action/nighthawk: 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 .../nighthawk/files/nighthawk-2.2-gcc42.patch | 4 +--
17 games-action/nighthawk/nighthawk-2.2-r1.ebuild | 29 ++++++++++++++++++++++
18 2 files changed, 31 insertions(+), 2 deletions(-)
19
20 diff --git a/games-action/nighthawk/files/nighthawk-2.2-gcc42.patch b/games-action/nighthawk/files/nighthawk-2.2-gcc42.patch
21 index 619acd3..a9ad8c9 100644
22 --- a/games-action/nighthawk/files/nighthawk-2.2-gcc42.patch
23 +++ b/games-action/nighthawk/files/nighthawk-2.2-gcc42.patch
24 @@ -1,5 +1,5 @@
25 ---- src_sound/dsp_mixxer.c
26 -+++ src_sound/dsp_mixxer.c
27 +--- a/src_sound/dsp_mixxer.c
28 ++++ b/src_sound/dsp_mixxer.c
29 @@ -302,10 +302,8 @@
30 for(sample_no = 0;sample_no < mix_buffer_size;sample_no++)
31 {
32
33 diff --git a/games-action/nighthawk/nighthawk-2.2-r1.ebuild b/games-action/nighthawk/nighthawk-2.2-r1.ebuild
34 new file mode 100644
35 index 0000000..40f9521
36 --- /dev/null
37 +++ b/games-action/nighthawk/nighthawk-2.2-r1.ebuild
38 @@ -0,0 +1,29 @@
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 +
45 +DESCRIPTION="A tribute to Paradroid by Andrew Braybrook"
46 +HOMEPAGE="http://night-hawk.sourceforge.net/nighthawk.html"
47 +SRC_URI="ftp://metalab.unc.edu/pub/Linux/games/arcade/${P}-1.tar.gz"
48 +
49 +LICENSE="GPL-2"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~ppc ~x86"
52 +IUSE=""
53 +
54 +DEPEND="x11-libs/libXpm"
55 +RDEPEND="${DEPEND}"
56 +
57 +PATCHES=(
58 + "${FILESDIR}"/nighthawk.patch
59 + "${FILESDIR}"/${P}-gcc42.patch
60 +)
61 +
62 +src_prepare() {
63 + default
64 +
65 + sed -i -e 's:AC_FD_MSG:6:g' configure || die #218936
66 + sed -i -e '/LDFLAGS = /d' src/Makefile.in || die
67 +}