Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/gcube/
Date: Thu, 31 Mar 2016 16:53:56
Message-Id: 1459442919.1e4e3a1f0232487113a58eee262a65ffd64c19cb.mr_bones_@gentoo
1 commit: 1e4e3a1f0232487113a58eee262a65ffd64c19cb
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 31 16:48:39 2016 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 31 16:48:39 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e4e3a1f
7
8 games-emulation/gcube: build with gcc5 (bug #570504)
9
10 Package-Manager: portage-2.2.26
11
12 games-emulation/gcube/gcube-0.4-r1.ebuild | 16 ++++++++--------
13 1 file changed, 8 insertions(+), 8 deletions(-)
14
15 diff --git a/games-emulation/gcube/gcube-0.4-r1.ebuild b/games-emulation/gcube/gcube-0.4-r1.ebuild
16 index 716caf3..19b5b5f 100644
17 --- a/games-emulation/gcube/gcube-0.4-r1.ebuild
18 +++ b/games-emulation/gcube/gcube-0.4-r1.ebuild
19 @@ -1,35 +1,35 @@
20 -# Copyright 1999-2015 Gentoo Foundation
21 +# Copyright 1999-2016 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 EAPI=5
26 -inherit eutils games
27 +inherit eutils flag-o-matic games
28
29 DESCRIPTION="Gamecube emulator"
30 HOMEPAGE="http://gcube.exemu.net/"
31 SRC_URI="http://gcube.exemu.net/downloads/${P}-src.tar.bz2"
32
33 -LICENSE="GPL-2"
34 +LICENSE="GPL-2+"
35 SLOT="0"
36 KEYWORDS="amd64 ~ppc x86"
37 IUSE=""
38
39 DEPEND="virtual/opengl
40 - media-libs/libsdl[sound,joystick,video]
41 + media-libs/libsdl[joystick,opengl,sound,video]
42 virtual/jpeg:0
43 sys-libs/ncurses:0
44 sys-libs/zlib"
45 -RDEPEND="${DEPEND}"
46 +RDEPEND=${DEPEND}
47
48 S=${WORKDIR}/${PV}
49
50 src_prepare() {
51 - sed -i \
52 - -e '/^CFLAGS=-g/d' Makefile.rules \
53 - || die "sed failed"
54 + sed -i -e '/^CFLAGS=-g/d' Makefile.rules || die
55 epatch "${FILESDIR}"/${P}-ldflags.patch \
56 "${FILESDIR}"/${P}-underlink.patch \
57 "${FILESDIR}"/${P}-gcc47.patch
58 + sed -i -e '/^CC=/d' Makefile || die
59 + append-cflags -std=gnu89 # build with gcc5 (bug #570504)
60 }
61
62 src_install() {