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
6 years ago
|
# Copyright 1999-2018 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
6 years ago
|
EAPI=6
|
||
|
inherit desktop flag-o-matic
|
||
13 years ago
|
|
||
|
DESCRIPTION="A Sega Genesis/CD/32X emulator"
|
||
8 years ago
|
HOMEPAGE="https://sourceforge.net/projects/gens/"
|
||
13 years ago
|
SRC_URI="mirror://sourceforge/gens/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
6 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
13 years ago
|
IUSE=""
|
||
|
|
||
6 years ago
|
RDEPEND="
|
||
|
virtual/opengl
|
||
13 years ago
|
>=media-libs/libsdl-1.2[joystick,video]
|
||
6 years ago
|
x11-libs/gtk+:2
|
||
|
"
|
||
13 years ago
|
DEPEND="${RDEPEND}
|
||
6 years ago
|
>=dev-lang/nasm-0.98
|
||
|
"
|
||
13 years ago
|
|
||
|
src_prepare() {
|
||
6 years ago
|
default
|
||
|
eapply \
|
||
9 years ago
|
"${FILESDIR}"/${P}-romsdir.patch \
|
||
13 years ago
|
"${FILESDIR}"/${P}-as-needed.patch \
|
||
9 years ago
|
"${FILESDIR}"/${P}-ovflfix.patch \
|
||
|
"${FILESDIR}"/${P}-gcc34.patch
|
||
13 years ago
|
sed -i -e '1i#define OF(x) x' src/gens/util/file/unzip.h || die
|
||
|
append-ldflags -Wl,-z,noexecstack
|
||
|
}
|
||
|
|
||
9 years ago
|
src_configure() {
|
||
6 years ago
|
use amd64 && multilib_toolchain_setup x86 #441876
|
||
|
econf \
|
||
9 years ago
|
--disable-gtktest \
|
||
|
--disable-sdltest
|
||
|
}
|
||
|
|
||
13 years ago
|
src_install() {
|
||
9 years ago
|
DOCS="AUTHORS BUGS README gens.txt history.txt" \
|
||
|
default
|
||
|
newicon pixmaps/gens_small.png ${PN}.png
|
||
|
make_desktop_entry "${PN}" "Gens"
|
||
13 years ago
|
}
|