mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
games-emulation/gens: refactor multilib usage, EAPI 7->8
There is little sense in having a REQUIRED_USE (via MULTILIB_COMPAT) and MULTILIB_USEDEP for a single choice. This hidden that this can't be built on amd64 no-multilib by trading NonSolvableDeps error with RequiredUseDefaults warning (now masked). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_32 )
|
||||
inherit desktop flag-o-matic multilib
|
||||
|
||||
inherit desktop flag-o-matic multilib-build
|
||||
|
||||
DESCRIPTION="A Sega Genesis/CD/32X emulator"
|
||||
DESCRIPTION="Sega Genesis/CD/32X emulator"
|
||||
HOMEPAGE="https://sourceforge.net/projects/gens/"
|
||||
SRC_URI="mirror://sourceforge/gens/${P}.tar.gz"
|
||||
|
||||
@@ -16,12 +14,12 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/libsdl[${MULTILIB_USEDEP},joystick,video]
|
||||
sys-libs/zlib[${MULTILIB_USEDEP}]
|
||||
virtual/opengl[${MULTILIB_USEDEP}]
|
||||
x11-libs/gtk+:2[${MULTILIB_USEDEP}]"
|
||||
media-libs/libsdl[abi_x86_32(-),joystick,video]
|
||||
sys-libs/zlib:=[abi_x86_32(-)]
|
||||
virtual/opengl[abi_x86_32(-)]
|
||||
x11-libs/gtk+:2[abi_x86_32(-)]"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=dev-lang/nasm-0.98"
|
||||
BDEPEND="dev-lang/nasm"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-romsdir.patch
|
||||
@@ -43,8 +41,9 @@ src_configure() {
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc gens.txt history.txt
|
||||
|
||||
newicon pixmaps/gens_small.png gens.png
|
||||
make_desktop_entry "gens" "Gens"
|
||||
make_desktop_entry gens Gens
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user