summaryrefslogtreecommitdiff
path: root/games-emulation
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-04-29 12:37:35 +0200
committerPacho Ramos <pacho@gentoo.org>2018-04-29 13:26:07 +0200
commitc3a082f24694b6204ef4377c282314c61a4975b3 (patch)
tree7a88f1df3d7897adcb309ec6ce7b3476a5c60bd5 /games-emulation
parentfbd8c44fbeb0ab4ba0b8eabe91b55a13aecd9089 (diff)
downloadgentoo-c3a082f24694b6204ef4377c282314c61a4975b3.tar.gz
gentoo-c3a082f24694b6204ef4377c282314c61a4975b3.tar.xz
games-emulation/higan: Drop old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/higan/Manifest1
-rw-r--r--games-emulation/higan/files/higan-099-QA.patch79
-rw-r--r--games-emulation/higan/higan-099.ebuild138
3 files changed, 0 insertions, 218 deletions
diff --git a/games-emulation/higan/Manifest b/games-emulation/higan/Manifest
index 70d8f65c8fa..21f340144cd 100644
--- a/games-emulation/higan/Manifest
+++ b/games-emulation/higan/Manifest
@@ -1,2 +1 @@
DIST higan-106_p1.tar.bz2 954533 BLAKE2B e7ea44f97f7e2c3ce86b57b853aa59c4372f37185846f8a928ba659b525965aed39f7859721394a776990e53e2f671fc0e7071d17f9397973343d9a7adcf70ac SHA512 f4d8dbfacaa20b948bd382fd0ef48e89cbb21a0569a70b6a4beca6c0a2ba404efc4c28d14bfd3df14d4fd76c763ca1537166bb24d765a8da33423bbea32df4c3
-DIST higan_v099-source.7z 1012348 BLAKE2B db3eb7b8819532786e6f2dd664225abddc49d12cf5c525862578523240c76ab3ac2680537e04b347130ae7e821d1d98e6c4bf25cf47449567afd90887989aa0e SHA512 567f0c9841fb3fed1c78f2afcd9865cbfe06d04b995d4dc468269e459249b758daed949b461b5b8645ebab40edc1f4f28a566de5795325dae4f604190ca9eae6
diff --git a/games-emulation/higan/files/higan-099-QA.patch b/games-emulation/higan/files/higan-099-QA.patch
deleted file mode 100644
index fd4eb13dd34..00000000000
--- a/games-emulation/higan/files/higan-099-QA.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-diff -Naur a/higan/GNUmakefile b/higan/GNUmakefile
---- a/higan/GNUmakefile 2016-06-17 18:56:06.414883957 +0200
-+++ b/higan/GNUmakefile 2016-06-17 18:56:19.075903050 +0200
-@@ -4,7 +4,7 @@
- # target := loki
- # console := true
-
--flags += -I. -I.. -O3
-+flags += -I. -I..
- objects := libco audio video resource
-
- # profile-guided optimization mode
-@@ -31,7 +31,7 @@
- else ifeq ($(platform),macosx)
- flags += -march=native
- else ifneq ($(filter $(platform),linux bsd),)
-- flags += -march=native -fopenmp
-+ flags += -fopenmp
- link += -fopenmp
- link += -Wl,-export-dynamic
- link += -lX11 -lXext
-@@ -42,9 +42,9 @@
- compile = \
- $(strip \
- $(if $(filter %.c,$<), \
-- $(compiler) $(cflags) $(flags) $1 -c $< -o $@, \
-+ $(compiler) $(cflags) $(flags) $(CFLAGS) $1 -c $< -o $@, \
- $(if $(filter %.cpp,$<), \
-- $(compiler) $(cppflags) $(flags) $1 -c $< -o $@ \
-+ $(compiler) $(cppflags) $(flags) $(CXXFLAGS) $1 -c $< -o $@ \
- ) \
- ) \
- )
-
---- a/higan/target-tomoko/GNUmakefile 2016-06-17 19:10:27.729182818 +0200
-+++ b/higan/target-tomoko/GNUmakefile 2016-06-17 19:14:34.034554246 +0200
-@@ -45,10 +45,10 @@
- objects := $(patsubst %,obj/%.o,$(objects))
-
- obj/ruby.o: ../ruby/ruby.cpp $(call rwildcard,../ruby/)
-- $(compiler) $(rubyflags) -c $< -o $@
-+ $(compiler) $(rubyflags) $(CXXFLAGS) -c $< -o $@
-
- obj/hiro.o: ../hiro/hiro.cpp $(call rwildcard,../hiro/)
-- $(compiler) $(hiroflags) -c $< -o $@
-+ $(compiler) $(hiroflags) $(CXXFLAGS) -c $< -o $@
-
- obj/ui-tomoko.o: $(ui)/tomoko.cpp $(call rwildcard,$(ui)/)
- obj/ui-program.o: $(ui)/program/program.cpp $(call rwildcard,$(ui)/)
-@@ -64,7 +64,7 @@
-
- # targets
- build: $(objects)
-- $(strip $(compiler) -o out/$(name) $(objects) $(link))
-+ $(strip $(CXX) $(CXXFLAGS) -o out/$(name) $(objects) $(link))
- ifeq ($(platform),macosx)
- @if [ -d out/$(name).app ]; then rm -r out/$(name).app; fi
- mkdir -p out/$(name).app/Contents/MacOS/
-
---- a/icarus/GNUmakefile 2016-07-05 16:42:09.198091772 +0200
-+++ b/icarus/GNUmakefile 2016-07-05 16:48:14.388351427 +0200
-@@ -2,7 +2,7 @@
- include ../hiro/GNUmakefile
-
- name := icarus
--flags += -I.. -O3
-+flags += -I.. $(CXXFLAGS)
- link +=
-
- ifeq ($(platform),windows)
-@@ -14,7 +14,7 @@
- objects += $(if $(call streq,$(platform),windows),obj/resource.o)
-
- all: $(objects)
-- $(call unique,$(compiler) -o out/$(name) $(objects) $(link) $(hirolink))
-+ $(call unique,$(compiler) -o out/$(name) $(objects) $(link) $(hirolink) $(LDFLAGS))
- ifeq ($(platform),macosx)
- @if [ -d out/$(name).app ]; then rm -r out/$(name).app; fi
- mkdir -p out/$(name).app/Contents/MacOS/
diff --git a/games-emulation/higan/higan-099.ebuild b/games-emulation/higan/higan-099.ebuild
deleted file mode 100644
index 7bea4f56b14..00000000000
--- a/games-emulation/higan/higan-099.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils gnome2-utils toolchain-funcs qmake-utils games
-
-MY_P=${PN}_v${PV}-source
-
-DESCRIPTION="A Nintendo multi-system emulator formerly known as bsnes"
-HOMEPAGE="http://byuu.org/higan/ https://code.google.com/p/higan/"
-SRC_URI="http://download.byuu.org/${MY_P}.7z"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ao +alsa +icarus openal opengl oss pulseaudio +sdl udev xv"
-REQUIRED_USE="|| ( ao openal alsa pulseaudio oss )
- || ( xv opengl sdl )"
-
-RDEPEND="
- x11-libs/gtk+:2
- x11-libs/libX11
- x11-libs/libXext
- icarus? ( x11-libs/gtksourceview:2.0
- x11-libs/gtk+:2
- x11-libs/pango
- dev-libs/atk
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- dev-libs/glib:2
- media-libs/fontconfig
- media-libs/freetype
- )
- ao? ( media-libs/libao )
- openal? ( media-libs/openal )
- alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-sound/pulseaudio )
- xv? ( x11-libs/libXv )
- opengl? ( virtual/opengl )
- sdl? ( media-libs/libsdl[X,joystick,video] )
- udev? ( virtual/udev )
-"
-DEPEND="${RDEPEND}
- app-arch/p7zip
- virtual/pkgconfig"
-
-S=${WORKDIR}/${MY_P}
-
-disable_module() {
- sed -i \
- -e "s|$1\b||" \
- "${S}"/higan/target-tomoko/GNUmakefile || die
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-QA.patch
-
- sed -i \
- -e "/handle/s#/usr/local/lib#/usr/$(get_libdir)#" \
- nall/dl.hpp || die "fixing libdir failed!"
-
- # audio modules
- use ao || disable_module audio.ao
- use openal || disable_module audio.openal
- use pulseaudio || { disable_module audio.pulseaudio
- disable_module audio.pulseaudiosimple ;}
- use oss || disable_module audio.oss
- use alsa || disable_module audio.alsa
-
- # video modules
- use opengl || disable_module video.glx
- use xv || disable_module video.xv
- use sdl || disable_module video.sdl
-
- # input modules
- use sdl || disable_module input.sdl
- use udev || disable_module input.udev
-}
-
-src_compile() {
- local mytoolkit
-
- mytoolkit="gtk"
-
- if use icarus; then
- cd "${S}/icarus" || die
- emake \
- platform="linux" \
- compiler="$(tc-getCXX)"
- fi
-
- cd "${S}/higan" || die
- emake \
- platform="linux" \
- compiler="$(tc-getCXX)" \
- hiro="${mytoolkit}"
-
- sed \
- -e "s:%GAMES_DATADIR%:${GAMES_DATADIR}:" \
- < "${FILESDIR}"/${PN}-wrapper \
- > out/${PN}-wrapper || die "generating wrapper failed!"
-}
-
-src_install() {
- if use icarus; then
- newgamesbin "${S}"/icarus/out/icarus icarus
- fi
- newgamesbin "${S}"/higan/out/${PN} ${PN}.bin
- newgamesbin "${S}"/higan/out/${PN}-wrapper ${PN}
- make_desktop_entry "${PN}" "${PN}"
-
- # copy home directory stuff to a global location
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r higan/data/cheats.bml higan/profile/*
-
- doicon -s 512 higan/data/${PN}.png
-
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- #elog "optional dependencies:"
- #elog " dev-games/higan-ananke (extra rom load options)"
- #elog " games-util/higan-purify (Rom purifier)"
-
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}