diff options
author | Sam James <sam@gentoo.org> | 2021-04-01 03:01:18 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-01 23:08:32 +0100 |
commit | 429c60c6c35880607345d24c15372a9062b1a0fd (patch) | |
tree | 4753d9749b0edec94b39258f5a025601eb6d07e8 /games-emulation | |
parent | app-office/libreoffice: 7.1.2.2 version bump (diff) | |
download | gentoo-429c60c6c35880607345d24c15372a9062b1a0fd.tar.gz gentoo-429c60c6c35880607345d24c15372a9062b1a0fd.tar.bz2 gentoo-429c60c6c35880607345d24c15372a9062b1a0fd.zip |
games-emulation/higan: port to EAPI 7, fix invalid games.eclass ref
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/higan/higan-106_p1-r1.ebuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/games-emulation/higan/higan-106_p1-r1.ebuild b/games-emulation/higan/higan-106_p1-r1.ebuild index 09a2aafadb15..9fa08f508c25 100644 --- a/games-emulation/higan/higan-106_p1-r1.ebuild +++ b/games-emulation/higan/higan-106_p1-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 MY_COMMIT=41efdba45afa770db99bc7484a8ad340ccc597d2 inherit desktop toolchain-funcs xdg-utils @@ -9,6 +9,7 @@ inherit desktop toolchain-funcs xdg-utils DESCRIPTION="A multi-system game emulator formerly known as bsnes" HOMEPAGE="https://byuu.org/emulation/higan/ https://gitlab.com/higan/higan" SRC_URI="https://gitlab.com/higan/higan/repository/${MY_COMMIT}/archive.tar.bz2 -> ${P}.tar.bz2" +S="${WORKDIR}"/${PN}-${MY_COMMIT}-${MY_COMMIT} LICENSE="GPL-3" SLOT="0" @@ -41,13 +42,12 @@ RDEPEND=" sdl? ( media-libs/libsdl[X,joystick,video] ) udev? ( virtual/udev ) " -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" app-arch/p7zip virtual/pkgconfig " -S=${WORKDIR}/${PN}-${MY_COMMIT}-${MY_COMMIT} - PATCHES=( "${FILESDIR}"/${P}-header-locations.patch "${FILESDIR}"/${P}-QA.patch @@ -61,6 +61,7 @@ disable_module() { src_prepare() { default + sed -i \ -e "/handle/s#/usr/local/lib#/usr/$(get_libdir)#" \ nall/dl.hpp || die "fixing libdir failed!" @@ -110,6 +111,7 @@ src_install() { if use icarus; then newbin "${S}"/icarus/out/icarus icarus fi + newbin "${S}"/higan/out/${PN} ${PN}.bin newbin "${FILESDIR}"/${P}-wrapper ${PN} make_desktop_entry "${PN}" "${PN}" @@ -122,10 +124,6 @@ src_install() { doicon higan/data/${PN}.svg } -pkg_preinst() { - games_pkg_preinst -} - pkg_postinst() { #elog "optional dependencies:" #elog " dev-games/higan-ananke (extra rom load options)" |