From be8708090362c01c6111c4b76f1e395c14d86e00 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 13 Aug 2024 11:06:03 +0100 Subject: gentoo auto-resync : 13:08:2024 - 11:06:03 --- games-emulation/Manifest.gz | Bin 12064 -> 12061 bytes games-emulation/dolphin/Manifest | 2 +- .../dolphin/dolphin-5.0_p20220520-r2.ebuild | 223 --------------------- .../dolphin/dolphin-5.0_p20220520-r3.ebuild | 223 +++++++++++++++++++++ 4 files changed, 224 insertions(+), 224 deletions(-) delete mode 100644 games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild create mode 100644 games-emulation/dolphin/dolphin-5.0_p20220520-r3.ebuild (limited to 'games-emulation') diff --git a/games-emulation/Manifest.gz b/games-emulation/Manifest.gz index 115c01b9674d..24996939bbca 100644 Binary files a/games-emulation/Manifest.gz and b/games-emulation/Manifest.gz differ diff --git a/games-emulation/dolphin/Manifest b/games-emulation/dolphin/Manifest index b8e2e9d359d9..125a61ec3c5e 100644 --- a/games-emulation/dolphin/Manifest +++ b/games-emulation/dolphin/Manifest @@ -2,6 +2,6 @@ AUX dolphin-5.0_p20220520-gcc-14.patch 985 BLAKE2B ce23b524350d24bc782a6dc6e2470 AUX dolphin-5.0_p20220520-libfmt-9.0.0-fix-build.patch 1473 BLAKE2B ce7d9aaf62fc71262600d72442251241353c6280c84d1d08d2986a99330ae22b786983ba3b99484983adf7e7367c094d3f5a7ce1184e94686516c093d3c9957a SHA512 7bbd120fecf9ad18a2fb242d3568da4c013081dbe39045007e82f4ed56a52800d2afeca7263abf785ff023432f0d60cb36b629fb41555b7b39ef56b12fa16aa6 DIST dolphin-5.0_p20220520.tar.gz 34880474 BLAKE2B 925cddfe8a5d6febced5721bea6ced7c8d2855619f74ca8940b95dc78ea523b4a1083b9ef6efe3561d833b8e9ecb742cb2adf5a1864c06b629b3ecd9e92cc871 SHA512 4993cb10061b142f6627c96493885a5f9d88857d8949c2e8e8d5df5ba6e19b4f98d199da5e641d3d61294884e1cbbe8191bc5b4445c60bf80723046b2524aad5 DIST mgba-40d4c430fc36caeb7ea32fd39624947ed487d2f2.tar.gz 12921593 BLAKE2B 8c5cf7b9b53f897f6248ad6bc51efafaa8a9d5df137d42d30f4b042b6d1527049644595938626c8cae1385d329bc45bf42db8dcc4424b963a3899e0df53246eb SHA512 26d7b60cbc7415652bb9ca2a42ccd532856867db57bf6dd91d8204551970109b6b9f4a96c42d643ea96b9d071d6aec924d3c1bb79c251c95183b7fb8536456c9 -EBUILD dolphin-5.0_p20220520-r2.ebuild 4979 BLAKE2B 30956f88e4adb8674e641afcb4efd7bd6e6aa2fe7615cabe842d56a12b00fa0a1207b600e493de8a68301ad7a8316076b8c647ac1a026f1271d48b2a6bc8ae45 SHA512 d0247e9612c82bdc7222e1183dcc431d1f905802a22a516465cfa8b72d4163f06690a2a1939a6d97055f725a8744f533ff3bff21904c1210e95366ffac530f55 +EBUILD dolphin-5.0_p20220520-r3.ebuild 4979 BLAKE2B 46fce5ad63f25de89c9a130793c63a221091355cab4c83de6f8d24d086ce9af95d2c51fd84492864e65d859f124148aaec2ab5e20eb53a881d0cedcc9ef523f1 SHA512 0ab0763991dbdd20aa80069fb85dd8dee3962d6c5b227c645d1dece979d311845224060bfc03005e1fd4c454551f6ef544cef02d10b1a8d9fe1b19d2c0b6a2ef EBUILD dolphin-9999.ebuild 4829 BLAKE2B a2419c154b9416db0a3dcecbf96440cbbe89ee52eb18834d6fac6c3e3e1d4b3b9e0a3e62ce7b95381f5faea2660b98b596bcf37409a6874da9beb56f012c1ed0 SHA512 0e350f7afb671b1e33afef83410f376abc671847af16b084f12f7aa331679d6b0adb2df53a07b3ebce531a5c1ef6444bb8ab3fe01bbe0150c3415acc2d1ae8f1 MISC metadata.xml 938 BLAKE2B 07b08890471080d41dd0bbc37bc94e5c9b7d98f2c0cea33c592dea3ccc331f9e6d8ef99cff08350f382c8298111e2d8f811f703562a045cbe853cf12c482ea04 SHA512 91239b346061f8f474880e13c6d3e877a63637d7e56d4c31106e6a17583e0a30db29eec8fe6a711fb033efcec39a7262037e0f7f867459398841b8339d3f6bef diff --git a/games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild b/games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild deleted file mode 100644 index eb77bc5735c5..000000000000 --- a/games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild +++ /dev/null @@ -1,223 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake desktop flag-o-matic xdg-utils pax-utils - -if [[ ${PV} == *9999 ]] -then - EGIT_REPO_URI="https://github.com/dolphin-emu/dolphin" - EGIT_SUBMODULES=( Externals/mGBA/mgba ) - inherit git-r3 -else - EGIT_COMMIT=0f2540a0d1133950467845f20b1e003181147781 - MGBA_COMMIT=40d4c430fc36caeb7ea32fd39624947ed487d2f2 - SRC_URI=" - https://github.com/dolphin-emu/dolphin/archive/${EGIT_COMMIT}.tar.gz - -> ${P}.tar.gz - mgba? ( - https://github.com/mgba-emu/mgba/archive/${MGBA_COMMIT}.tar.gz - -> mgba-${MGBA_COMMIT}.tar.gz - ) - " - S=${WORKDIR}/${PN}-${EGIT_COMMIT} - KEYWORDS="amd64 ~arm64" -fi - -DESCRIPTION="Gamecube and Wii game emulator" -HOMEPAGE="https://dolphin-emu.org/" - -LICENSE="GPL-2+ BSD BSD-2 LGPL-2.1+ MIT ZLIB" -SLOT="0" -IUSE=" - alsa bluetooth discord-presence doc +evdev ffmpeg +gui log mgba - profile pulseaudio systemd upnp vulkan -" - -PATCHES=( - "${FILESDIR}/${P}-libfmt-9.0.0-fix-build.patch" - # https://github.com/dolphin-emu/dolphin/pull/12575 - "${FILESDIR}/${P}-gcc-14.patch" -) - -RDEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= - dev-libs/hidapi:= - >=dev-libs/libfmt-8:= - dev-libs/lzo:= - dev-libs/pugixml:= - media-libs/cubeb:= - media-libs/libpng:= - media-libs/libsfml:= - media-libs/mesa[egl(+)] - net-libs/enet:1.3 - net-libs/mbedtls:= - net-misc/curl:= - sys-libs/readline:= - sys-libs/zlib:=[minizip] - x11-libs/libXext - x11-libs/libXi - x11-libs/libXrandr - virtual/libusb:1 - virtual/opengl - alsa? ( media-libs/alsa-lib ) - bluetooth? ( net-wireless/bluez ) - evdev? ( - dev-libs/libevdev - virtual/udev - ) - ffmpeg? ( media-video/ffmpeg:= ) - gui? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - ) - profile? ( dev-util/oprofile ) - pulseaudio? ( media-sound/pulseaudio ) - systemd? ( sys-apps/systemd:0= ) - upnp? ( net-libs/miniupnpc ) -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - sys-devel/gettext - virtual/pkgconfig -" - -# vulkan-loader required for vulkan backend which can be selected -# at runtime. -RDEPEND+=" - vulkan? ( media-libs/vulkan-loader ) -" - -# [directory]=license -declare -A KEEP_BUNDLED=( - # please keep this list in CMakeLists.txt order - - [Bochs_disasm]=LGPL-2.1+ - [cpp-optparse]=MIT - [imgui]=MIT - [glslang]=BSD - - # FIXME: xxhash can't be found by cmake - [xxhash]=BSD-2 - - # FIXME: requires minizip-ng - #[minizip]=ZLIB - - [FreeSurround]=GPL-2+ - [soundtouch]=LGPL-2.1+ - - # FIXME: discord-rpc not packaged - [discord-rpc]=MIT - - [mGBA]=MPL-2.0 - - [picojson]=BSD-2 - [rangeset]=ZLIB - [gtest]= # (build-time only) -) - -src_prepare() { - if use mgba && [[ ${PV} != *9999 ]]; then - rmdir Externals/mGBA/mgba || die - mv "${WORKDIR}/mgba-${MGBA_COMMIT}" Externals/mGBA/mgba || die - fi - - cmake_src_prepare - - local s remove=() - for s in Externals/*; do - [[ -f ${s} ]] && continue - if ! has "${s#Externals/}" "${!KEEP_BUNDLED[@]}"; then - remove+=( "${s}" ) - fi - done - - einfo "removing sources: ${remove[*]}" - rm -r "${remove[@]}" || die - - # About 50% compile-time speedup - if ! use vulkan; then - sed -i -e '/Externals\/glslang/d' CMakeLists.txt || die - fi - - # Allow regular minizip. - sed -i -e '/minizip/s:>=2[.]0[.]0::' CMakeLists.txt || die - - # Remove dirty suffix: needed for netplay - sed -i -e 's/--dirty/&=""/' CMakeLists.txt || die - - # Force Qt5 rather than automagic until support is properly handled here - sed -i -e '/NAMES Qt6 COMP/d' Source/Core/DolphinQt/CMakeLists.txt || die -} - -src_configure() { - # bug #891225 (https://bugs.dolphin-emu.org/issues/11481, QTBUG-61710) - use gui && filter-lto - - local mycmakeargs=( - # Use ccache only when user did set FEATURES=ccache (or similar) - # not when ccache binary is present in system (automagic). - -DCCACHE_BIN=CCACHE_BIN-NOTFOUND - -DENABLE_ALSA=$(usex alsa) - -DENABLE_AUTOUPDATE=OFF - -DENABLE_BLUEZ=$(usex bluetooth) - -DENABLE_EVDEV=$(usex evdev) - -DENCODE_FRAMEDUMPS=$(usex ffmpeg) - -DENABLE_LLVM=OFF - # just adds -flto, user can do that via flags - -DENABLE_LTO=OFF - -DUSE_MGBA=$(usex mgba) - -DENABLE_PULSEAUDIO=$(usex pulseaudio) - -DENABLE_QT=$(usex gui) - -DENABLE_SDL=OFF # not supported: #666558 - -DENABLE_VULKAN=$(usex vulkan) - -DFASTLOG=$(usex log) - -DOPROFILING=$(usex profile) - -DUSE_DISCORD_PRESENCE=$(usex discord-presence) - -DUSE_SHARED_ENET=ON - -DUSE_UPNP=$(usex upnp) - - # Undo cmake.eclass's defaults. - # All dolphin's libraries are private - # and rely on circular dependency resolution. - -DBUILD_SHARED_LIBS=OFF - - # Avoid warning spam around unset variables. - -Wno-dev - ) - - cmake_src_configure -} - -src_test() { - cmake_build unittests -} - -src_install() { - cmake_src_install - - dodoc Readme.md - if use doc; then - dodoc -r docs/ActionReplay docs/DSP docs/WiiMote - fi - - doicon -s 48 Data/dolphin-emu.png - doicon -s scalable Data/dolphin-emu.svg - doicon Data/dolphin-emu.svg -} - -pkg_postinst() { - # Add pax markings for hardened systems - pax-mark -m "${EPREFIX}"/usr/games/bin/"${PN}"-emu - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/games-emulation/dolphin/dolphin-5.0_p20220520-r3.ebuild b/games-emulation/dolphin/dolphin-5.0_p20220520-r3.ebuild new file mode 100644 index 000000000000..37564db0dd8f --- /dev/null +++ b/games-emulation/dolphin/dolphin-5.0_p20220520-r3.ebuild @@ -0,0 +1,223 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake desktop flag-o-matic xdg-utils pax-utils + +if [[ ${PV} == *9999 ]] +then + EGIT_REPO_URI="https://github.com/dolphin-emu/dolphin" + EGIT_SUBMODULES=( Externals/mGBA/mgba ) + inherit git-r3 +else + EGIT_COMMIT=0f2540a0d1133950467845f20b1e003181147781 + MGBA_COMMIT=40d4c430fc36caeb7ea32fd39624947ed487d2f2 + SRC_URI=" + https://github.com/dolphin-emu/dolphin/archive/${EGIT_COMMIT}.tar.gz + -> ${P}.tar.gz + mgba? ( + https://github.com/mgba-emu/mgba/archive/${MGBA_COMMIT}.tar.gz + -> mgba-${MGBA_COMMIT}.tar.gz + ) + " + S=${WORKDIR}/${PN}-${EGIT_COMMIT} + KEYWORDS="amd64 ~arm64" +fi + +DESCRIPTION="Gamecube and Wii game emulator" +HOMEPAGE="https://dolphin-emu.org/" + +LICENSE="GPL-2+ BSD BSD-2 LGPL-2.1+ MIT ZLIB" +SLOT="0" +IUSE=" + alsa bluetooth discord-presence doc +evdev ffmpeg +gui log mgba + profile pulseaudio systemd upnp vulkan +" + +PATCHES=( + "${FILESDIR}/${P}-libfmt-9.0.0-fix-build.patch" + # https://github.com/dolphin-emu/dolphin/pull/12575 + "${FILESDIR}/${P}-gcc-14.patch" +) + +RDEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= + dev-libs/hidapi:= + =2[.]0[.]0::' CMakeLists.txt || die + + # Remove dirty suffix: needed for netplay + sed -i -e 's/--dirty/&=""/' CMakeLists.txt || die + + # Force Qt5 rather than automagic until support is properly handled here + sed -i -e '/NAMES Qt6 COMP/d' Source/Core/DolphinQt/CMakeLists.txt || die +} + +src_configure() { + # bug #891225 (https://bugs.dolphin-emu.org/issues/11481, QTBUG-61710) + use gui && filter-lto + + local mycmakeargs=( + # Use ccache only when user did set FEATURES=ccache (or similar) + # not when ccache binary is present in system (automagic). + -DCCACHE_BIN=CCACHE_BIN-NOTFOUND + -DENABLE_ALSA=$(usex alsa) + -DENABLE_AUTOUPDATE=OFF + -DENABLE_BLUEZ=$(usex bluetooth) + -DENABLE_EVDEV=$(usex evdev) + -DENCODE_FRAMEDUMPS=$(usex ffmpeg) + -DENABLE_LLVM=OFF + # just adds -flto, user can do that via flags + -DENABLE_LTO=OFF + -DUSE_MGBA=$(usex mgba) + -DENABLE_PULSEAUDIO=$(usex pulseaudio) + -DENABLE_QT=$(usex gui) + -DENABLE_SDL=OFF # not supported: #666558 + -DENABLE_VULKAN=$(usex vulkan) + -DFASTLOG=$(usex log) + -DOPROFILING=$(usex profile) + -DUSE_DISCORD_PRESENCE=$(usex discord-presence) + -DUSE_SHARED_ENET=ON + -DUSE_UPNP=$(usex upnp) + + # Undo cmake.eclass's defaults. + # All dolphin's libraries are private + # and rely on circular dependency resolution. + -DBUILD_SHARED_LIBS=OFF + + # Avoid warning spam around unset variables. + -Wno-dev + ) + + cmake_src_configure +} + +src_test() { + cmake_build unittests +} + +src_install() { + cmake_src_install + + dodoc Readme.md + if use doc; then + dodoc -r docs/ActionReplay docs/DSP docs/WiiMote + fi + + doicon -s 48 Data/dolphin-emu.png + doicon -s scalable Data/dolphin-emu.svg + doicon Data/dolphin-emu.svg +} + +pkg_postinst() { + # Add pax markings for hardened systems + pax-mark -m "${EPREFIX}"/usr/games/bin/"${PN}"-emu + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} -- cgit v1.2.3