public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/higan/
Date: Thu,  1 Apr 2021 22:08:53 +0000 (UTC)	[thread overview]
Message-ID: <1617314912.429c60c6c35880607345d24c15372a9062b1a0fd.sam@gentoo> (raw)

commit:     429c60c6c35880607345d24c15372a9062b1a0fd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  1 02:01:18 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr  1 22:08:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=429c60c6

games-emulation/higan: port to EAPI 7, fix invalid games.eclass ref

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-emulation/higan/higan-106_p1-r1.ebuild | 16 +++++++---------
 1 file 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 09a2aafadb1..9fa08f508c2 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)"


             reply	other threads:[~2021-04-01 22:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-01 22:08 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-12-28 10:24 [gentoo-commits] repo/gentoo:master commit in: games-emulation/higan/ Ionen Wolkens
2022-01-13  8:06 Ionen Wolkens
2021-04-04 13:23 Andreas Sturmlechner
2020-12-25 16:13 Andreas Sturmlechner
2020-05-21 10:57 Andreas Sturmlechner
2018-08-27 21:16 James Le Cuirot
2018-01-26 20:20 Sebastian Pipping
2017-12-03 19:41 Andreas Sturmlechner
2017-01-23 19:13 Richard Farina
2017-01-23 18:19 Richard Farina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1617314912.429c60c6c35880607345d24c15372a9062b1a0fd.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox