summaryrefslogtreecommitdiff
path: root/games-emulation/higan
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-21 20:47:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-21 20:47:17 +0000
commit4ab6db5717ef23f29320d4c6fb9ebdb8dec1f193 (patch)
treef7640b8b96a04499f1ce44a2cad122d45a8373bd /games-emulation/higan
parent48bdeb0db9c7ffed22c6eb859ee40b55ba598b86 (diff)
gentoo resync : 21.12.2017
Diffstat (limited to 'games-emulation/higan')
-rw-r--r--games-emulation/higan/Manifest4
-rw-r--r--games-emulation/higan/higan-094.ebuild144
-rw-r--r--games-emulation/higan/metadata.xml6
3 files changed, 1 insertions, 153 deletions
diff --git a/games-emulation/higan/Manifest b/games-emulation/higan/Manifest
index 33b02224bc86..11c040fe18c9 100644
--- a/games-emulation/higan/Manifest
+++ b/games-emulation/higan/Manifest
@@ -1,8 +1,6 @@
AUX higan-094-QA.patch 2611 BLAKE2B 40d1a68b1686db0a58a1d1dd16df92f84b48ea0e5261224ac11c0a82d11a62d0b216177b64ecf32b53968fa90191fd38a7f1365228ac74eb04c69b742f10ad67 SHA512 12ea06fb32af29136965150029f19ba95cf3690cbd8e2531d84b06a31d40083047d96e463d77194d1cc07365f966b6040886bff789ba6401df90dd5687990844
AUX higan-099-QA.patch 2597 BLAKE2B 0737dd216f1dc63620c43478e372a41736d47da6df5e46118b8b8607f81746d3aa79767b0fcda34a1fab405e87b3ebdf15b9b5dfc9dc08b24def7bebc7ecbb6e SHA512 421584e9c26ae66117b5f4d95a7afb3b21674fd112ca33fca7cb0c33e7382f8dda100900536eab3f413a6a3cf0f98cc079644b8cee309f17f50c1bd99604728e
AUX higan-wrapper 124 BLAKE2B 3b87ba7212551d8c5b4814ff41e2ecd647589dafe8abfac6f354970e1093cf2ef53e885c9f88f6755c8e2a72c08c61491da073819a19494dbb6a75f8ba413f8e SHA512 af3163d06f3bc14b14ec38cf84d11cc706eb6359727743eea35670b4f1ac120af40102ee5409695eba00ead70fcf964073c24d2f47d6824776391927ebbf3f45
-DIST higan_v094-source.tar.xz 882732 BLAKE2B fb2794a95060befc3495f347328e62c45ee8a21b888a9958857f739f5fb138704275b3624241fee4224e78678746e68d534db6d8d839eb4a6973c092819c509b SHA512 e7e48c76cdc93d2d66db1fa0c71e64903cf4188571b2d5ecb8066dd4e2172a67da4dee68bed6fd0a532b6fd397fa4f537b97de58cc5043a9e970d48d0b66b0da
DIST higan_v099-source.7z 1012348 BLAKE2B db3eb7b8819532786e6f2dd664225abddc49d12cf5c525862578523240c76ab3ac2680537e04b347130ae7e821d1d98e6c4bf25cf47449567afd90887989aa0e SHA512 567f0c9841fb3fed1c78f2afcd9865cbfe06d04b995d4dc468269e459249b758daed949b461b5b8645ebab40edc1f4f28a566de5795325dae4f604190ca9eae6
-EBUILD higan-094.ebuild 3357 BLAKE2B eb354f770e0881677cca6aaa659b520b05e7f98afb1e83d5083d8d2b41b8b6f589ee9793239b31c521faa4101f3daad438d4eb4d09e649a9a7d036e931ea5ed1 SHA512 eae543c1705a3d7e2af1b0425a1839d3121cf3ff22c0b15a8a3564be6c088d7cf16798f5a74133b2b1681b0f2ba6009f8e456c0737ce102fba8faa6545002a38
EBUILD higan-099.ebuild 3081 BLAKE2B ff75470da256db5e49f8313d87135af2def1d6bd185effa328bb49b97c783d23cc517e46160888707724a56c73ec1303fd2fd98638197e8f62c28f95ffac6e3b SHA512 3e7eff25fc8649bf2181eba3f383e824230c4d574643c5ef0c986fadcd1464f2db0c5db0b3fcb22ae2d26ebdc5504b24916ee5f91025d7fcdc2e0c9ba64f35d9
-MISC metadata.xml 636 BLAKE2B 445ca6a449f6972817e33eb020450420cee9af2f27d605e08764d43d9265d06ba8bb059936c5597f362032964631ffc3fe1b01c3970b23c29e6a988c00448187 SHA512 a835b9cb4fa482754349eaddee279a6bca17cbc070806c0a59c923502159375bbfb481964faae23bbee8379fdbe7e9f0e070cbc783e3c2e62ddd2d88f511170b
+MISC metadata.xml 377 BLAKE2B aefc33327d342c730de8b2bdd95c2299692c894fd67a3f43d378964e7b776e467d2a4644777e7c8a1eb94b41ee300a65cad084decf64fc02abbac8c02de509c1 SHA512 2faa3ffcca01d5740a5ca1c4f554c51e90e81c6c19cde15cf817c448debb5585e09a1b784d94e3ecd06321ed28a740ce846f1afbd149bce590ca69ef5b1ce9f4
diff --git a/games-emulation/higan/higan-094.ebuild b/games-emulation/higan/higan-094.ebuild
deleted file mode 100644
index 1401fc403ff3..000000000000
--- a/games-emulation/higan/higan-094.ebuild
+++ /dev/null
@@ -1,144 +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://byuu.org/files/${MY_P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ao +alsa openal opengl oss profile_accuracy +profile_balanced profile_performance pulseaudio +sdl udev xv"
-REQUIRED_USE="|| ( ao openal alsa pulseaudio oss )
- || ( xv opengl sdl )
- || ( profile_accuracy profile_balanced profile_performance )"
-
-RDEPEND="
- x11-libs/gtk+:2
- x11-libs/libX11
- x11-libs/libXext
- 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}
- virtual/pkgconfig"
-
-S=${WORKDIR}/${MY_P}
-
-disable_module() {
- sed -i \
- -e "s|$1\b||" \
- "${S}"/target-ethos/Makefile || die
-}
-
-src_prepare() {
- local i
-
- 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
-
- for i in profile_accuracy profile_balanced profile_performance ; do
- if use ${i} ; then
- cp -dRP "${S}" "${S}_${i}" || die
- fi
- done
-}
-
-src_compile() {
- local mytoolkit i
-
- mytoolkit="gtk"
-
- for i in profile_accuracy profile_balanced profile_performance ; do
- if use ${i} ; then
- cd "${S}_${i}" || die
- emake \
- platform="linux" \
- compiler="$(tc-getCXX)" \
- profile="${i#profile_}" \
- phoenix="${mytoolkit}"
-
- sed \
- -e "s:%GAMES_DATADIR%:${GAMES_DATADIR}:" \
- < "${FILESDIR}"/${PN}-wrapper \
- > out/${PN}-wrapper || die "generating wrapper failed!"
- fi
- done
-}
-
-src_install() {
- local i
-
- for i in profile_accuracy profile_balanced profile_performance ; do
- if use ${i} ; then
- # install higan
- newgamesbin "${S}_${i}"/out/${PN} ${PN}-${i#profile_}.bin
- newgamesbin "${S}_${i}"/out/${PN}-wrapper ${PN}-${i#profile_}
- make_desktop_entry "${PN}-${i#profile_}" "${PN} (${i#profile_})"
- fi
- done
-
- # copy home directory stuff to a global location
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r data/cheats.bml profile/*
-
- # install shaders
- if use opengl; then
- insinto "${GAMES_DATADIR}/${PN}/Video Shaders"
- doins -r shaders/*.shader
- fi
-
- doicon -s 48 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
-}
diff --git a/games-emulation/higan/metadata.xml b/games-emulation/higan/metadata.xml
index fad703a696a7..5bef912000c6 100644
--- a/games-emulation/higan/metadata.xml
+++ b/games-emulation/higan/metadata.xml
@@ -7,12 +7,6 @@
</maintainer>
<use>
<flag name="icarus">Build icarus library manager</flag>
- <flag name="profile_accuracy">
- Compile a binary optimized for accuracy</flag>
- <flag name="profile_balanced">
- Compile a binary with balanced optimization</flag>
- <flag name="profile_performance">
- Compile a binary optimized for performance</flag>
<flag name="udev">Enable udev based input</flag>
</use>
</pkgmetadata>