public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/higan/
Date: Sun,  4 Apr 2021 13:23:11 +0000 (UTC)	[thread overview]
Message-ID: <1617542383.ff0791015fac652c4e28fac9ff00dd805a75369b.asturm@gentoo> (raw)

commit:     ff0791015fac652c4e28fac9ff00dd805a75369b
Author:     William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
AuthorDate: Sat Oct 31 14:44:54 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 13:19:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff079101

games-emulation/higan: Version bump to 116_pre20210404

Closes: https://bugs.gentoo.org/709674
Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18503
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 games-emulation/higan/Manifest                     |   1 +
 games-emulation/higan/higan-116_pre20210404.ebuild | 101 +++++++++++++++++++++
 games-emulation/higan/metadata.xml                 |   6 +-
 3 files changed, 107 insertions(+), 1 deletion(-)

diff --git a/games-emulation/higan/Manifest b/games-emulation/higan/Manifest
index 21f340144cd..f87f396c26e 100644
--- a/games-emulation/higan/Manifest
+++ b/games-emulation/higan/Manifest
@@ -1 +1,2 @@
 DIST higan-106_p1.tar.bz2 954533 BLAKE2B e7ea44f97f7e2c3ce86b57b853aa59c4372f37185846f8a928ba659b525965aed39f7859721394a776990e53e2f671fc0e7071d17f9397973343d9a7adcf70ac SHA512 f4d8dbfacaa20b948bd382fd0ef48e89cbb21a0569a70b6a4beca6c0a2ba404efc4c28d14bfd3df14d4fd76c763ca1537166bb24d765a8da33423bbea32df4c3
+DIST higan-116_pre20210404.tar.gz 9130899 BLAKE2B bb9830901d7014f9d442f3a3bd9bd82ad791d2ba62a3264cfc187e5d7498a5ec6eae1fff6509f5206d9a21294e2a3ef710fbed5fac3626ecc88c4156bd50f289 SHA512 8ee40d8b9867fe767d5321dc4df3e73039fa39b7ecad2eddb58c3114bcf42b1b2074396ae5c4783ca060057aeb4bca7110101cc44d9608fe7c4d5f561b3f40a5

diff --git a/games-emulation/higan/higan-116_pre20210404.ebuild b/games-emulation/higan/higan-116_pre20210404.ebuild
new file mode 100644
index 00000000000..bf6c718a2f3
--- /dev/null
+++ b/games-emulation/higan/higan-116_pre20210404.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+COMMIT=9a625c545ca89b094d5c1da40bbfa5d07156a4aa
+
+inherit desktop toolchain-funcs xdg
+
+DESCRIPTION="Multi-system emulator focused on accuracy, preservation, and configurability"
+HOMEPAGE="https://github.com/higan-emu/higan"
+SRC_URI="https://github.com/higan-emu/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa ao +gtk openal +opengl oss +pulseaudio +sdl udev xv"
+
+RDEPEND="
+	x11-libs/libX11
+	x11-libs/libXext
+	alsa? ( media-libs/alsa-lib )
+	ao? ( media-libs/libao )
+	openal? ( media-libs/openal )
+	opengl? ( virtual/opengl )
+	pulseaudio? ( media-sound/pulseaudio )
+	sdl? ( media-libs/libsdl2[joystick] )
+	udev? ( virtual/udev )
+	xv? ( x11-libs/libXv )
+	gtk? (
+		x11-libs/cairo
+		x11-libs/gtk+:3
+		x11-libs/gtksourceview:3.0
+	)
+	!gtk? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtwidgets:5
+	)"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_compile() {
+	local makeopts=(
+		platform=linux
+		compiler="$(tc-getCXX)"
+		hiro="$(usex gtk gtk3 qt5)"
+	)
+
+	local drivers=(
+		video.xshm
+		input.xlib
+		$(usex alsa audio.alsa "")
+		$(usex ao audio.ao "")
+		$(usex openal audio.openal "")
+		$(usex opengl "video.glx video.glx2" "")
+		$(usex oss audio.oss "")
+		$(usex pulseaudio "audio.pulseaudio audio.pulseaudiosimple" "")
+		$(usex sdl input.sdl "")
+		$(usex udev input.udev "")
+		$(usex xv video.xvideo "")
+	)
+
+	local coreopts=(
+		cores="cv fc gb gba md ms msx ngp pce sfc sg ws"
+		ruby="${drivers[*]}"
+		build=performance
+		local=false
+	)
+
+	# Make higan
+	emake "${makeopts[@]}" "${coreopts[@]}" -C higan-ui
+
+	# Make icarus
+	emake "${makeopts[@]}" -C icarus
+}
+
+src_install() {
+	# Install higan
+	dobin higan-ui/out/higan
+
+	insinto "/usr/share/${P}"
+	doins -r higan/System
+
+	domenu higan-ui/resource/higan.desktop
+	doicon -s 256 higan-ui/resource/higan.png
+
+	doins -r extras
+
+	# Install icarus
+	dobin icarus/out/icarus
+
+	domenu icarus/resource/icarus.desktop
+	doicon -s scalable icarus/resource/icarus.svg
+
+	insinto "/usr/share/${P}/Database"
+	doins -r icarus/Database
+	insinto "/usr/share/${P}/Firmware"
+	doins -r icarus/Firmware
+}

diff --git a/games-emulation/higan/metadata.xml b/games-emulation/higan/metadata.xml
index 5bef912000c..b9316f15fc5 100644
--- a/games-emulation/higan/metadata.xml
+++ b/games-emulation/higan/metadata.xml
@@ -7,6 +7,10 @@
 	</maintainer>
 	<use>
 		<flag name="icarus">Build icarus library manager</flag>
-		<flag name="udev">Enable udev based input</flag>
+		<flag name="gtk">Use GTK3 (Qt5 if disabled) user interface backend</flag>
 	</use>
+	<upstream>
+		<bugs-to>https://github.com/higan-emu/higan/issues</bugs-to>
+		<remote-id type="github">higan-emu/higan</remote-id>
+	</upstream>
 </pkgmetadata>


             reply	other threads:[~2021-04-04 13:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-04 13:23 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-15  9:29 [gentoo-commits] repo/gentoo:master commit in: games-emulation/higan/ Ulrich Müller
2022-12-28 10:24 Ionen Wolkens
2022-01-13  8:06 Ionen Wolkens
2021-04-01 22:08 Sam James
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=1617542383.ff0791015fac652c4e28fac9ff00dd805a75369b.asturm@gentoo \
    --to=asturm@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