Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/gens/
Date: Sun, 04 Jul 2021 04:17:32
Message-Id: 1625372177.82e4e1a2308eafa6f3cf048d131d63173ad9eaa2.ionen@gentoo
1 commit: 82e4e1a2308eafa6f3cf048d131d63173ad9eaa2
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 4 02:30:29 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 4 04:16:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e4e1a2
7
8 games-emulation/gens: refactor multilib usage, EAPI 7->8
9
10 There is little sense in having a REQUIRED_USE (via MULTILIB_COMPAT)
11 and MULTILIB_USEDEP for a single choice.
12
13 This hidden that this can't be built on amd64 no-multilib by trading
14 NonSolvableDeps error with RequiredUseDefaults warning (now masked).
15
16 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
17
18 games-emulation/gens/gens-2.15.5-r2.ebuild | 23 +++++++++++------------
19 1 file changed, 11 insertions(+), 12 deletions(-)
20
21 diff --git a/games-emulation/gens/gens-2.15.5-r2.ebuild b/games-emulation/gens/gens-2.15.5-r2.ebuild
22 index 7b8c385e9b0..b4c3edece97 100644
23 --- a/games-emulation/gens/gens-2.15.5-r2.ebuild
24 +++ b/games-emulation/gens/gens-2.15.5-r2.ebuild
25 @@ -1,13 +1,11 @@
26 -# Copyright 1999-2020 Gentoo Authors
27 +# Copyright 1999-2021 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 -EAPI=7
31 +EAPI=8
32
33 -MULTILIB_COMPAT=( abi_x86_32 )
34 +inherit desktop flag-o-matic multilib
35
36 -inherit desktop flag-o-matic multilib-build
37 -
38 -DESCRIPTION="A Sega Genesis/CD/32X emulator"
39 +DESCRIPTION="Sega Genesis/CD/32X emulator"
40 HOMEPAGE="https://sourceforge.net/projects/gens/"
41 SRC_URI="mirror://sourceforge/gens/${P}.tar.gz"
42
43 @@ -16,12 +14,12 @@ SLOT="0"
44 KEYWORDS="~amd64 ~x86"
45
46 RDEPEND="
47 - media-libs/libsdl[${MULTILIB_USEDEP},joystick,video]
48 - sys-libs/zlib[${MULTILIB_USEDEP}]
49 - virtual/opengl[${MULTILIB_USEDEP}]
50 - x11-libs/gtk+:2[${MULTILIB_USEDEP}]"
51 + media-libs/libsdl[abi_x86_32(-),joystick,video]
52 + sys-libs/zlib:=[abi_x86_32(-)]
53 + virtual/opengl[abi_x86_32(-)]
54 + x11-libs/gtk+:2[abi_x86_32(-)]"
55 DEPEND="${RDEPEND}"
56 -BDEPEND=">=dev-lang/nasm-0.98"
57 +BDEPEND="dev-lang/nasm"
58
59 PATCHES=(
60 "${FILESDIR}"/${P}-romsdir.patch
61 @@ -43,8 +41,9 @@ src_configure() {
62
63 src_install() {
64 default
65 +
66 dodoc gens.txt history.txt
67
68 newicon pixmaps/gens_small.png gens.png
69 - make_desktop_entry "gens" "Gens"
70 + make_desktop_entry gens Gens
71 }