You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.0 KiB
49 lines
1.0 KiB
4 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
10 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
4 years ago
|
EAPI=7
|
||
|
|
||
6 years ago
|
inherit autotools desktop flag-o-matic
|
||
10 years ago
|
|
||
|
DESCRIPTION="A NeoGeo emulator"
|
||
9 years ago
|
HOMEPAGE="https://code.google.com/p/gngeo/"
|
||
6 years ago
|
SRC_URI="https://gngeo.googlecode.com/files/${P}.tar.gz
|
||
|
https://storage.googleapis.com/google-code-archive/v2/code.google.com/gngeo/logo.png -> ${PN}.png"
|
||
10 years ago
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
10 years ago
|
|
||
4 years ago
|
DEPEND="
|
||
10 years ago
|
media-libs/libsdl[joystick,opengl,sound,video]
|
||
4 years ago
|
sys-libs/zlib[minizip]
|
||
|
virtual/opengl
|
||
|
"
|
||
6 years ago
|
RDEPEND="${DEPEND}"
|
||
10 years ago
|
|
||
4 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}"/${P}-execstacks.patch
|
||
|
"${FILESDIR}"/${P}-zlib.patch
|
||
|
"${FILESDIR}"/${P}-concurrentMake.patch
|
||
|
"${FILESDIR}"/${P}-cflags.patch
|
||
|
"${FILESDIR}"/${P}-fcommon.patch
|
||
|
)
|
||
|
|
||
10 years ago
|
src_prepare() {
|
||
6 years ago
|
default
|
||
10 years ago
|
mv configure.in configure.ac || die
|
||
|
eautoreconf
|
||
9 years ago
|
append-cflags -std=gnu89 # build with gcc5 (bug #571056)
|
||
10 years ago
|
}
|
||
|
|
||
|
src_configure() {
|
||
6 years ago
|
econf --disable-i386asm
|
||
10 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
DOCS=( AUTHORS FAQ NEWS README* TODO sample_gngeorc )
|
||
|
default
|
||
6 years ago
|
doicon "${DISTDIR}"/${PN}.png
|
||
|
make_desktop_entry ${PN}
|
||
10 years ago
|
}
|