From 90a3be9d71a22834f9bc82c072f1b993f9a10e31 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Aug 2023 21:42:17 +0100 Subject: gentoo auto-resync : 20:08:2023 - 21:42:17 --- games-emulation/Manifest.gz | Bin 11698 -> 11701 bytes games-emulation/dolphin/Manifest | 4 +- .../dolphin/dolphin-5.0_p20220520-r1.ebuild | 216 --------------------- .../dolphin/dolphin-5.0_p20220520-r2.ebuild | 216 +++++++++++++++++++++ games-emulation/dolphin/dolphin-9999.ebuild | 2 +- 5 files changed, 219 insertions(+), 219 deletions(-) delete mode 100644 games-emulation/dolphin/dolphin-5.0_p20220520-r1.ebuild create mode 100644 games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild (limited to 'games-emulation') diff --git a/games-emulation/Manifest.gz b/games-emulation/Manifest.gz index 36a3806faa31..344938aa3cda 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 0961b9abc782..2f4f61a356b5 100644 --- a/games-emulation/dolphin/Manifest +++ b/games-emulation/dolphin/Manifest @@ -1,6 +1,6 @@ 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-r1.ebuild 4779 BLAKE2B f75796f6c909951766ca7b49e9d8f9a7a82410ca8e3d7205892c7303933d2371cfb7645e9b6f47dcd8c04746172f8391a106335338da3891d7051581d0f72f28 SHA512 cc127369075d7cb64fa2836463ab646ed292cfd36b19284c7092d60ed213b43c05d5e4acf1207cc4314f2d719a937a26c6ffef18d57454320381eda6b5994412 -EBUILD dolphin-9999.ebuild 4718 BLAKE2B 275f751dd895a95dda1e59bae01ff41764e356c513e92ed1311af071f152e72c9ed8fdf2edfe88745203dfaf5c8c0aa89987323a1c05b6b6b7912edcf85a46fe SHA512 35b72f431364d7df01c15bd99cb112c7df1348cc5444df8eed5a5da05c3f544ad1ea11c32fab9176c5e5a58b0652f305454f520c39c8ad6d9b83bb229f4c66b8 +EBUILD dolphin-5.0_p20220520-r2.ebuild 4781 BLAKE2B b07bcc4a8edb1c5e6381e85424e8f00308311a8fc5a0c84b8d0cd6bdbeff7baa588e9fe1aee812a327ad646d9b48a890ff31ed306df122936fc330feb736f471 SHA512 996399d84bc26ef8c7918c891704b23f5ff42e1cb475b28426474482a52bda0080c580c41daf765678680c23b1e3d011adcadd816d6ccd619e2002b1877e9744 +EBUILD dolphin-9999.ebuild 4720 BLAKE2B 0f74d4b606f8d98b94f17548d8fbc569d5837a54f4a76bac6094f6f987a7a2c999ba3d5e33c27067c51f056967e8d196b3cf69e6eaf9bb43edb4f60c3b2f1b76 SHA512 97badc55ee2d540f4b7528a118d623c63f17774c96342b852fae01ade32d6ee9eaeb042dbfa003fd82ad0efb2cf19a07e8835e79b06249387f5264d2cd01147b MISC metadata.xml 938 BLAKE2B 07b08890471080d41dd0bbc37bc94e5c9b7d98f2c0cea33c592dea3ccc331f9e6d8ef99cff08350f382c8298111e2d8f811f703562a045cbe853cf12c482ea04 SHA512 91239b346061f8f474880e13c6d3e877a63637d7e56d4c31106e6a17583e0a30db29eec8fe6a711fb033efcec39a7262037e0f7f867459398841b8339d3f6bef diff --git a/games-emulation/dolphin/dolphin-5.0_p20220520-r1.ebuild b/games-emulation/dolphin/dolphin-5.0_p20220520-r1.ebuild deleted file mode 100644 index 1660b4e0497e..000000000000 --- a/games-emulation/dolphin/dolphin-5.0_p20220520-r1.ebuild +++ /dev/null @@ -1,216 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake desktop 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") - -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() { - 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-r2.ebuild b/games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild new file mode 100644 index 000000000000..af6e7afd45e0 --- /dev/null +++ b/games-emulation/dolphin/dolphin-5.0_p20220520-r2.ebuild @@ -0,0 +1,216 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake desktop 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") + +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() { + 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-9999.ebuild b/games-emulation/dolphin/dolphin-9999.ebuild index 38913a1d3125..690c3afb5517 100644 --- a/games-emulation/dolphin/dolphin-9999.ebuild +++ b/games-emulation/dolphin/dolphin-9999.ebuild @@ -45,7 +45,7 @@ RDEPEND=" dev-libs/pugixml:= media-libs/cubeb:= media-libs/libpng:= - media-libs/libsfml + media-libs/libsfml:= media-libs/mesa[egl(+)] net-libs/enet:1.3 net-libs/mbedtls:= -- cgit v1.2.3