mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-emulation/gcube: build with gcc5 (bug #570504)
Package-Manager: portage-2.2.26
This commit is contained in:
@@ -1,35 +1,35 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
EAPI=5
|
EAPI=5
|
||||||
inherit eutils games
|
inherit eutils flag-o-matic games
|
||||||
|
|
||||||
DESCRIPTION="Gamecube emulator"
|
DESCRIPTION="Gamecube emulator"
|
||||||
HOMEPAGE="http://gcube.exemu.net/"
|
HOMEPAGE="http://gcube.exemu.net/"
|
||||||
SRC_URI="http://gcube.exemu.net/downloads/${P}-src.tar.bz2"
|
SRC_URI="http://gcube.exemu.net/downloads/${P}-src.tar.bz2"
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2+"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="amd64 ~ppc x86"
|
KEYWORDS="amd64 ~ppc x86"
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
DEPEND="virtual/opengl
|
DEPEND="virtual/opengl
|
||||||
media-libs/libsdl[sound,joystick,video]
|
media-libs/libsdl[joystick,opengl,sound,video]
|
||||||
virtual/jpeg:0
|
virtual/jpeg:0
|
||||||
sys-libs/ncurses:0
|
sys-libs/ncurses:0
|
||||||
sys-libs/zlib"
|
sys-libs/zlib"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND=${DEPEND}
|
||||||
|
|
||||||
S=${WORKDIR}/${PV}
|
S=${WORKDIR}/${PV}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
sed -i \
|
sed -i -e '/^CFLAGS=-g/d' Makefile.rules || die
|
||||||
-e '/^CFLAGS=-g/d' Makefile.rules \
|
|
||||||
|| die "sed failed"
|
|
||||||
epatch "${FILESDIR}"/${P}-ldflags.patch \
|
epatch "${FILESDIR}"/${P}-ldflags.patch \
|
||||||
"${FILESDIR}"/${P}-underlink.patch \
|
"${FILESDIR}"/${P}-underlink.patch \
|
||||||
"${FILESDIR}"/${P}-gcc47.patch
|
"${FILESDIR}"/${P}-gcc47.patch
|
||||||
|
sed -i -e '/^CC=/d' Makefile || die
|
||||||
|
append-cflags -std=gnu89 # build with gcc5 (bug #570504)
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
|||||||
Reference in New Issue
Block a user