From ebadb1bcdd3c4fdd2e1a569a04d2cd8c5049b64d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Dec 2022 14:12:52 +0000 Subject: gentoo auto-resync : 28:12:2022 - 14:12:52 --- games-emulation/Manifest.gz | Bin 9527 -> 9531 bytes games-emulation/higan/Manifest | 2 +- .../higan/higan-116_pre20210818-r1.ebuild | 122 +++++++++++++++++++++ games-emulation/higan/higan-116_pre20210818.ebuild | 122 --------------------- 4 files changed, 123 insertions(+), 123 deletions(-) create mode 100644 games-emulation/higan/higan-116_pre20210818-r1.ebuild delete mode 100644 games-emulation/higan/higan-116_pre20210818.ebuild (limited to 'games-emulation') diff --git a/games-emulation/Manifest.gz b/games-emulation/Manifest.gz index 4d72a5756f96..2df246947c44 100644 Binary files a/games-emulation/Manifest.gz and b/games-emulation/Manifest.gz differ diff --git a/games-emulation/higan/Manifest b/games-emulation/higan/Manifest index b6f9fa8e1eea..e020c0583630 100644 --- a/games-emulation/higan/Manifest +++ b/games-emulation/higan/Manifest @@ -1,5 +1,5 @@ AUX higan-116_pre20210404-makefile.patch 2657 BLAKE2B d74b58ffedff5d4c1345bbbd0023dbabc162ff305fd39bf77a33b47dc6002f8fe3ad1d729bd5bcaa67dc6a57a4e6dd5cdce298bb6121396b0d779aa98845717b SHA512 c876acb714658cb1ba6fca9c359b9f030f5e15035bcf35697276ba5a3b68dd6098784b5e2eacc5bf7e082922d748eb526784c88139b24a099340531b34e3f152 AUX higan-116_pre20210818-paths.patch 1413 BLAKE2B 9eb598b02a90d2e1e54455ad904b563929be754b20b788044f404f26c54debcfc16761c67f0abe4848aa705843ce77521db11a278e95dc40105c2f3672e134b5 SHA512 107957dc1b04958415e26e126966e1966d08631383dbefeff6245c6da59de67c00a229447a6befa2056878a67bc85f96e0f5b6aaf5aee4826411240c47a196be DIST higan-116_pre20210818.tar.gz 9131284 BLAKE2B 4d3a514b9b8ec46353066b7257814c42024bff86c462b7a121aad5b5d1969d21cd7a96097e7d9d89d35e7a7f66a14c11a35cd77be05e73eca96caa3990e1c9b5 SHA512 d218feab3a3a39cd58fd2a727320ac88a4f006aa987c26860463f577039a9124b93119ee162f7d120f3bb4c23974eec53c7a0850c6e5743a8fdc8e48d108125d -EBUILD higan-116_pre20210818.ebuild 3025 BLAKE2B ed9fb7a299d9490076b2e51bd399ecb6cad481f2edb7e085b0f6be52a8b77ec92e448c07c7cf57528e36e691ad63318216e610afd55bf22b07c6d32b6e6b02f5 SHA512 0f4fda1db900ea1434a8fc9a32f62fa10bfb05d6a1bc3433c48f8c596e168e01c54093a464599b3522f01c0425222d1994c6717217837c7836abe3b236bf477e +EBUILD higan-116_pre20210818-r1.ebuild 3028 BLAKE2B 4479f05a3994ab6740a4073ced13f401e9204bff517450874d8066fd37752c69953b15b3a0b3ef31f683f2dd16db46b9c17b8df6b3ef3a353911ce6a1c5e94bc SHA512 77a7b4681d978aad60ac723184cc5a24b0e27b4b764fa0712c7ca947cda4103ab926b921fc1f8c264b07f20c6706e020b875c4a7769999868fd90ed6b4904fed MISC metadata.xml 488 BLAKE2B cadd5790504bc0ba9b4c182741dbba75fed245452b8436187415454e1cede5cd2abe672c780520576d5e81eea1eaa2c84a33ce2cf4891086acdcf60583c3d578 SHA512 ea768f4b82c19039dbd2891b6710dab6f3037665faf20d62c1a4a9ddb4219ada1c43edf13de2608a4606989d64712201c9f7393d2f42a2918385d306985e6d2c diff --git a/games-emulation/higan/higan-116_pre20210818-r1.ebuild b/games-emulation/higan/higan-116_pre20210818-r1.ebuild new file mode 100644 index 000000000000..a839c1ef8e50 --- /dev/null +++ b/games-emulation/higan/higan-116_pre20210818-r1.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop 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 +gtk openal +opengl oss +pulseaudio +sdl udev xv" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr + 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/libudev:= ) + xv? ( x11-libs/libXv ) + gtk? ( + dev-libs/glib:2 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + x11-libs/gtksourceview:3.0= + x11-libs/pango + ) + !gtk? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + )" +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 +) + +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=$(usex gtk gtk3 qt5) + ) + + 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 [[ ${REPLACING_VERSIONS} ]] && + ver_test ${REPLACING_VERSIONS} -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/higan-116_pre20210818.ebuild b/games-emulation/higan/higan-116_pre20210818.ebuild deleted file mode 100644 index e484fdff7aa0..000000000000 --- a/games-emulation/higan/higan-116_pre20210818.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop 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 +gtk openal +opengl oss +pulseaudio +sdl udev xv" - -RDEPEND=" - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXrandr - 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/libudev:= ) - xv? ( x11-libs/libXv ) - gtk? ( - dev-libs/glib:2 - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - x11-libs/gtksourceview:3.0= - x11-libs/pango - ) - !gtk? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - )" -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 -) - -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=$(usex gtk gtk3 qt5) - ) - - 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 [[ ${REPLACING_VERSIONS} ]] && - ver_test ${REPLACING_VERSIONS} -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 -} -- cgit v1.2.3