Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/higan/
Date: Thu, 01 Apr 2021 22:08:57
Message-Id: 1617314912.429c60c6c35880607345d24c15372a9062b1a0fd.sam@gentoo
1 commit: 429c60c6c35880607345d24c15372a9062b1a0fd
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 1 02:01:18 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 1 22:08:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=429c60c6
7
8 games-emulation/higan: port to EAPI 7, fix invalid games.eclass ref
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 games-emulation/higan/higan-106_p1-r1.ebuild | 16 +++++++---------
13 1 file changed, 7 insertions(+), 9 deletions(-)
14
15 diff --git a/games-emulation/higan/higan-106_p1-r1.ebuild b/games-emulation/higan/higan-106_p1-r1.ebuild
16 index 09a2aafadb1..9fa08f508c2 100644
17 --- a/games-emulation/higan/higan-106_p1-r1.ebuild
18 +++ b/games-emulation/higan/higan-106_p1-r1.ebuild
19 @@ -1,7 +1,7 @@
20 -# Copyright 1999-2020 Gentoo Authors
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=6
25 +EAPI=7
26
27 MY_COMMIT=41efdba45afa770db99bc7484a8ad340ccc597d2
28 inherit desktop toolchain-funcs xdg-utils
29 @@ -9,6 +9,7 @@ inherit desktop toolchain-funcs xdg-utils
30 DESCRIPTION="A multi-system game emulator formerly known as bsnes"
31 HOMEPAGE="https://byuu.org/emulation/higan/ https://gitlab.com/higan/higan"
32 SRC_URI="https://gitlab.com/higan/higan/repository/${MY_COMMIT}/archive.tar.bz2 -> ${P}.tar.bz2"
33 +S="${WORKDIR}"/${PN}-${MY_COMMIT}-${MY_COMMIT}
34
35 LICENSE="GPL-3"
36 SLOT="0"
37 @@ -41,13 +42,12 @@ RDEPEND="
38 sdl? ( media-libs/libsdl[X,joystick,video] )
39 udev? ( virtual/udev )
40 "
41 -DEPEND="${RDEPEND}
42 +DEPEND="${RDEPEND}"
43 +BDEPEND="
44 app-arch/p7zip
45 virtual/pkgconfig
46 "
47
48 -S=${WORKDIR}/${PN}-${MY_COMMIT}-${MY_COMMIT}
49 -
50 PATCHES=(
51 "${FILESDIR}"/${P}-header-locations.patch
52 "${FILESDIR}"/${P}-QA.patch
53 @@ -61,6 +61,7 @@ disable_module() {
54
55 src_prepare() {
56 default
57 +
58 sed -i \
59 -e "/handle/s#/usr/local/lib#/usr/$(get_libdir)#" \
60 nall/dl.hpp || die "fixing libdir failed!"
61 @@ -110,6 +111,7 @@ src_install() {
62 if use icarus; then
63 newbin "${S}"/icarus/out/icarus icarus
64 fi
65 +
66 newbin "${S}"/higan/out/${PN} ${PN}.bin
67 newbin "${FILESDIR}"/${P}-wrapper ${PN}
68 make_desktop_entry "${PN}" "${PN}"
69 @@ -122,10 +124,6 @@ src_install() {
70 doicon higan/data/${PN}.svg
71 }
72
73 -pkg_preinst() {
74 - games_pkg_preinst
75 -}
76 -
77 pkg_postinst() {
78 #elog "optional dependencies:"
79 #elog " dev-games/higan-ananke (extra rom load options)"