summaryrefslogtreecommitdiff
path: root/games-emulation/higan
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
commit290aebdea65a02557706eaeda477fef0437b6a48 (patch)
treef87a939169a508a2e943570501b64cc16b411cda /games-emulation/higan
parent6783ddcd4b73d9ce586a71770caed352bec93b16 (diff)
downloadbaldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip
Adding metadata
Diffstat (limited to 'games-emulation/higan')
-rw-r--r--games-emulation/higan/Manifest1
-rw-r--r--games-emulation/higan/files/higan-116_pre20210404-makefile.patch85
-rw-r--r--games-emulation/higan/files/higan-116_pre20210818-gcc13.patch7
-rw-r--r--games-emulation/higan/files/higan-116_pre20210818-paths.patch44
-rw-r--r--games-emulation/higan/higan-116_pre20210818-r2.ebuild117
-rw-r--r--games-emulation/higan/metadata.xml12
6 files changed, 0 insertions, 266 deletions
diff --git a/games-emulation/higan/Manifest b/games-emulation/higan/Manifest
deleted file mode 100644
index fc1ffb2a3c7a..000000000000
--- a/games-emulation/higan/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST higan-116_pre20210818.tar.gz 9131284 BLAKE2B 4d3a514b9b8ec46353066b7257814c42024bff86c462b7a121aad5b5d1969d21cd7a96097e7d9d89d35e7a7f66a14c11a35cd77be05e73eca96caa3990e1c9b5 SHA512 d218feab3a3a39cd58fd2a727320ac88a4f006aa987c26860463f577039a9124b93119ee162f7d120f3bb4c23974eec53c7a0850c6e5743a8fdc8e48d108125d
diff --git a/games-emulation/higan/files/higan-116_pre20210404-makefile.patch b/games-emulation/higan/files/higan-116_pre20210404-makefile.patch
deleted file mode 100644
index 21f3f35ae3e5..000000000000
--- a/games-emulation/higan/files/higan-116_pre20210404-makefile.patch
+++ /dev/null
@@ -1,85 +0,0 @@
---- a/higan-ui/GNUmakefile
-+++ b/higan-ui/GNUmakefile
-@@ -54,7 +54,7 @@
-
- all: $(all.objects)
- $(info Linking $(output.path)/$(name) ...)
-- +@$(compiler) -o $(output.path)/$(name) $(all.objects) $(all.options)
-+ $(compiler) $(LDFLAGS) -o $(output.path)/$(name) $(all.objects) $(all.options)
- ifeq ($(platform),macos)
- rm -rf $(output.path)/$(name).app
- mkdir -p $(output.path)/$(name).app/Contents/MacOS/
---- a/hiro/GNUmakefile
-+++ b/hiro/GNUmakefile
-@@ -70,7 +70,7 @@
- $(if $(filter qt%,$(hiro)),$(info Compiling $(hiro.path)/qt/qt.moc ...))
- $(if $(filter qt%,$(hiro)),@$(moc) -i -o $(hiro.path)/qt/qt.moc $(hiro.path)/qt/qt.hpp)
- $(info Compiling $(subst ../,,$<) ...)
-- @$(compiler) $(hiro.flags) $(flags) $(flags.deps) -c $< -o $@
-+ $(compiler) $(hiro.flags) $(flags) $(flags.deps) -c $< -o $@
-
- $(object.path)/hiro-resource.o: $(hiro.resource)
- $(info Compiling $(subst ../,,$<) ...)
---- a/icarus/GNUmakefile
-+++ b/icarus/GNUmakefile
-@@ -19,7 +19,7 @@
-
- all: $(hiro.objects) $(objects)
- $(info Linking $(output.path)/$(name) ...)
-- +@$(compiler) -o $(output.path)/$(name) $(hiro.objects) $(objects) $(hiro.options) $(options)
-+ $(compiler) $(LDFLAGS) -o $(output.path)/$(name) $(hiro.objects) $(objects) $(hiro.options) $(options)
- ifeq ($(platform),macos)
- rm -rf $(output.path)/$(name).app
- mkdir -p $(output.path)/$(name).app/Contents/MacOS/
---- a/nall/GNUmakefile
-+++ b/nall/GNUmakefile
-@@ -77,17 +77,7 @@
- endif
-
- # build optimization levels
--ifeq ($(build),debug)
-- flags += -Og -g -DBUILD_DEBUG
--else ifeq ($(build),stable)
-- flags += -O1 -DBUILD_STABLE
--else ifeq ($(build),size)
-- flags += -Os -DBUILD_SIZE
--else ifeq ($(build),release)
-- flags += -O2 -DBUILD_RELEASE
--else ifeq ($(build),performance)
-- flags += -O3 -DBUILD_PERFORMANCE
--endif
-+flags += $(CPPFLAGS) $(CXXFLAGS) -DBUILD_RELEASE
-
- # link-time optimization
- ifeq ($(lto),true)
-@@ -167,7 +157,7 @@
-
- %.o: $<
- $(info Compiling $(subst ../,,$<) ...)
-- @$(call compile)
-+ $(call compile)
-
- # function compile([arguments])
- compile = \
---- a/ruby/GNUmakefile
-+++ b/ruby/GNUmakefile
-@@ -74,7 +74,7 @@
-
- $(object.path)/ruby.o: $(ruby.path)/ruby.cpp $(call rwildcard,$(ruby.path))
- $(info Compiling $(subst ../,,$<) ...)
-- @$(compiler) $(ruby.flags) $(flags) $(flags.deps) -c $< -o $@
-+ $(compiler) $(ruby.flags) $(flags) $(flags.deps) -c $< -o $@
-
- ruby.verbose:
- $(info ruby Drivers:)
---- a/sourcery/GNUmakefile
-+++ b/sourcery/GNUmakefile
-@@ -11,7 +11,7 @@
-
- all: $(objects)
- $(info Linking out/$(name) ...)
-- +@$(compiler) -o out/$(name) $(objects) $(options)
-+ $(compiler) $(LDFLAGS) -o out/$(name) $(objects) $(options)
-
- verbose: nall.verbose all;
-
diff --git a/games-emulation/higan/files/higan-116_pre20210818-gcc13.patch b/games-emulation/higan/files/higan-116_pre20210818-gcc13.patch
deleted file mode 100644
index 8e55894b521f..000000000000
--- a/games-emulation/higan/files/higan-116_pre20210818-gcc13.patch
+++ /dev/null
@@ -1,7 +0,0 @@
-https://bugs.gentoo.org/898898
---- a/nall/arithmetic/natural.hpp
-+++ b/nall/arithmetic/natural.hpp
-@@ -1 +1,3 @@
-+#include <stdexcept>
-+
- #define ConcatenateType(Size) uint##Size##_t
diff --git a/games-emulation/higan/files/higan-116_pre20210818-paths.patch b/games-emulation/higan/files/higan-116_pre20210818-paths.patch
deleted file mode 100644
index 0652b164cfd9..000000000000
--- a/games-emulation/higan/files/higan-116_pre20210818-paths.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Based on patch from Arch additionally using system's Shaders/
-
-Resulting paths:
-/usr/share/higan/{Database,Firmware,Shaders,Templates}
-~/higan/ -> ~/.local/share/higan/Systems
-
-Templates+Systems can be changed in ~/.config/higan/paths.bml and
-does not disrupt existing configurations. Shaders will use default
-~/.config/higan/Shaders over system's if it exists.
-
-https://bugs.gentoo.org/828108
---- a/higan-ui/higan-ui.cpp
-+++ b/higan-ui/higan-ui.cpp
-@@ -44,9 +44,8 @@
- }
- if(!directory::exists(Path::templates)) {
-- Path::templates = {Path::userData(), "higan/"};
-- directory::create(Path::templates);
-+ Path::templates = {Path::sharedData(), "higan/Templates/"};
- }
- if(!directory::exists(Path::data)) {
-- Path::data = {Path::user(), "higan/"};
-+ Path::data = {Path::userData(), "higan/Systems/"};
- directory::create(Path::data);
- }
---- a/higan-ui/menus/settings.cpp
-+++ b/higan-ui/menus/settings.cpp
-@@ -78,4 +78,6 @@
-
- string location{Path::settings, "Shaders/"};
-+ if(!directory::exists(location))
-+ location = string{Path::sharedData(), "higan/Shaders/"};
-
- if(settings.video.driver == "OpenGL 3.2") {
---- a/icarus/icarus.cpp
-+++ b/icarus/icarus.cpp
-@@ -9,6 +9,5 @@
- if(inode::exists(location)) return location;
-
-- directory::create({Path::userData(), "icarus/"});
-- return {Path::userData(), "icarus/", name};
-+ return {Path::sharedData(), "higan/", name};
- }
-
diff --git a/games-emulation/higan/higan-116_pre20210818-r2.ebuild b/games-emulation/higan/higan-116_pre20210818-r2.ebuild
deleted file mode 100644
index 68c87710a8c1..000000000000
--- a/games-emulation/higan/higan-116_pre20210818-r2.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop eapi9-ver toolchain-funcs
-
-HIGAN_COMMIT="9bf1b3314b2bcc73cbc11d344b369c31562aff10"
-
-DESCRIPTION="Multi-system emulator focused on accuracy, preservation, and configurability"
-HOMEPAGE="https://github.com/higan-emu/higan"
-SRC_URI="https://github.com/higan-emu/higan/archive/${HIGAN_COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${HIGAN_COMMIT}"
-
-LICENSE="GPL-3+ ISC"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa ao openal +opengl oss +pulseaudio +sdl udev xv"
-
-RDEPEND="
- dev-libs/glib:2
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:3[X]
- x11-libs/gtksourceview:3.0=
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXrandr
- x11-libs/pango
- alsa? ( media-libs/alsa-lib )
- ao? ( media-libs/libao )
- openal? ( media-libs/openal )
- opengl? ( media-libs/libglvnd[X] )
- pulseaudio? ( media-libs/libpulse )
- sdl? ( media-libs/libsdl2[joystick] )
- udev? ( virtual/libudev:= )
- xv? ( x11-libs/libXv )
-"
-DEPEND="
- ${RDEPEND}
- x11-base/xorg-proto
-"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
- # insane build system, reinvents every built-in rule
- "${FILESDIR}"/${PN}-116_pre20210404-makefile.patch
- "${FILESDIR}"/${PN}-116_pre20210818-paths.patch
- "${FILESDIR}"/${PN}-116_pre20210818-gcc13.patch
-)
-
-src_prepare() {
- default
-
- use !prefix || sed -i "s|/usr/share|${EPREFIX}&|" nall/path.hpp || die
-}
-
-src_compile() {
- local makeopts=(
- platform=linux
- compiler="$(tc-getCXX)"
- hiro=gtk3 # TODO: re-add Qt option if supports Qt6 (bug #962040)
- )
-
- local drivers=(
- video.xshm
- input.xlib
- $(usev alsa audio.alsa)
- $(usev ao audio.ao)
- $(usev openal audio.openal)
- $(usev opengl "video.glx video.glx2")
- $(usev oss audio.oss)
- $(usev pulseaudio "audio.pulseaudio audio.pulseaudiosimple")
- $(usev sdl input.sdl)
- $(usev udev input.udev)
- $(usev xv video.xvideo)
- )
-
- local coreopts=(
- cores="cv fc gb gba md ms msx ngp pce sfc sg ws"
- ruby="${drivers[*]}"
- build=performance
- local=false
- )
-
- emake "${makeopts[@]}" "${coreopts[@]}" -C higan-ui
-
- emake "${makeopts[@]}" -C icarus
-}
-
-src_install() {
- dobin higan-ui/out/higan
- domenu higan-ui/resource/higan.desktop
- doicon higan-ui/resource/higan.png
-
- dobin icarus/out/icarus
- domenu icarus/resource/icarus.desktop
- doicon icarus/resource/icarus.svg
-
- insinto /usr/share/higan
- doins -r icarus/{Database,Firmware}
- use opengl && doins -r extras/Shaders
-
- insinto /usr/share/higan/Templates
- doins -r higan/System/.
-}
-
-pkg_postinst() {
- if ver_replacing -lt 116_pre20210818; then
- elog "On new installs, higan now uses ~/.local/share/higan/Systems/ rather than"
- elog "~/higan/, and reads Templates from ${EROOT}/usr/share/higan/ on Gentoo."
- elog "Will need to edit/delete ~/.config/higan/paths.bml for this to take effect."
- elog
- elog "Additionally, system's shaders will be used if ~/.config/higan/Shaders"
- elog "does not exist, and icarus now uses the system's Database+Firmware files."
- fi
-}
diff --git a/games-emulation/higan/metadata.xml b/games-emulation/higan/metadata.xml
deleted file mode 100644
index e27abbc6962e..000000000000
--- a/games-emulation/higan/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
- <upstream>
- <bugs-to>https://github.com/higan-emu/higan/issues</bugs-to>
- </upstream>
- <origin>baldeagleos-repo</origin>
-</pkgmetadata>