diff options
author | Austin English <wizardedit@gentoo.org> | 2016-07-27 11:53:27 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-07-27 11:55:33 -0500 |
commit | 0e486ae3d6c75c193a3a56f9abbb6a802bcaef9f (patch) | |
tree | 870315270f7bb4206d789a927347d6a4ba5ab69f /games-action/nighthawk | |
parent | dev-php/PEAR-Net_SMTP: version bump 1.7.1 -> 1.7.2. (diff) | |
download | gentoo-0e486ae3d6c75c193a3a56f9abbb6a802bcaef9f.tar.gz gentoo-0e486ae3d6c75c193a3a56f9abbb6a802bcaef9f.tar.bz2 gentoo-0e486ae3d6c75c193a3a56f9abbb6a802bcaef9f.zip |
games-action/nighthawk: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: portage-2.3.0
Diffstat (limited to 'games-action/nighthawk')
-rw-r--r-- | games-action/nighthawk/files/nighthawk-2.2-gcc42.patch | 4 | ||||
-rw-r--r-- | games-action/nighthawk/nighthawk-2.2-r1.ebuild | 29 |
2 files changed, 31 insertions, 2 deletions
diff --git a/games-action/nighthawk/files/nighthawk-2.2-gcc42.patch b/games-action/nighthawk/files/nighthawk-2.2-gcc42.patch index 619acd37f71f..a9ad8c98484a 100644 --- a/games-action/nighthawk/files/nighthawk-2.2-gcc42.patch +++ b/games-action/nighthawk/files/nighthawk-2.2-gcc42.patch @@ -1,5 +1,5 @@ ---- src_sound/dsp_mixxer.c -+++ src_sound/dsp_mixxer.c +--- a/src_sound/dsp_mixxer.c ++++ b/src_sound/dsp_mixxer.c @@ -302,10 +302,8 @@ for(sample_no = 0;sample_no < mix_buffer_size;sample_no++) { diff --git a/games-action/nighthawk/nighthawk-2.2-r1.ebuild b/games-action/nighthawk/nighthawk-2.2-r1.ebuild new file mode 100644 index 000000000000..40f952143c39 --- /dev/null +++ b/games-action/nighthawk/nighthawk-2.2-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="A tribute to Paradroid by Andrew Braybrook" +HOMEPAGE="http://night-hawk.sourceforge.net/nighthawk.html" +SRC_URI="ftp://metalab.unc.edu/pub/Linux/games/arcade/${P}-1.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="x11-libs/libXpm" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/nighthawk.patch + "${FILESDIR}"/${P}-gcc42.patch +) + +src_prepare() { + default + + sed -i -e 's:AC_FD_MSG:6:g' configure || die #218936 + sed -i -e '/LDFLAGS = /d' src/Makefile.in || die +} |