commit:     7fbd4053271d960d22bafe068b5b634071041ca2
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Sat Feb 28 21:16:00 2026 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Feb 28 21:17:39 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7fbd4053

games-emulation/eden: update quazip which dropped qt5 and qt6 flags

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 games-emulation/eden/eden-0.2.0_rc1-r1.ebuild | 175 ++++++++++++++++++++++++++
 1 file changed, 175 insertions(+)

diff --git a/games-emulation/eden/eden-0.2.0_rc1-r1.ebuild 
b/games-emulation/eden/eden-0.2.0_rc1-r1.ebuild
new file mode 100644
index 0000000000..3c16cf7341
--- /dev/null
+++ b/games-emulation/eden/eden-0.2.0_rc1-r1.ebuild
@@ -0,0 +1,175 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+_TZDB_VER=121125
+
+DESCRIPTION="Nintendo Switch Emulator"
+HOMEPAGE="https://eden-emu.dev";
+SRC_URI="
+       https://git.eden-emu.dev/eden-emu/eden/archive/v${PV/_/-}.tar.gz -> 
${P}.tar.gz
+       
https://git.crueter.xyz/misc/tzdb_to_nx/releases/download/${_TZDB_VER}/${_TZDB_VER}.tar.gz
 ->
+               nx-tzdb-${_TZDB_VER}.tar.gz
+"
+
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="camera +cubeb discord llvm lto +opengl +qt6 room sdl ssl test +usb 
web-applet web-service wifi"
+REQUIRED_USE="
+       !qt6? ( !camera !discord !web-applet )
+       web-service? ( ssl || ( qt6 room ) )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       app-arch/lz4
+       app-arch/zstd
+       dev-libs/libfmt:=
+       dev-libs/mcl
+       >=dev-libs/sirit-1.0.1
+       dev-util/spirv-tools
+       games-util/gamemode
+       media-gfx/renderdoc
+       media-libs/libva
+       media-libs/opus
+       media-video/ffmpeg
+       net-libs/enet
+       net-libs/mbedtls:3
+       virtual/zlib:=
+
+       camera? ( dev-qt/qtmultimedia:6 )
+       cubeb? ( media-libs/cubeb )
+       discord? (
+               dev-cpp/cpp-httplib:=[ssl]
+               dev-libs/discord-rpc
+       )
+       qt6? (
+               dev-libs/quazip[qt6(+)]
+               dev-qt/qtbase:6[concurrent,dbus,gui,widgets]
+       )
+       sdl? ( media-libs/libsdl2[haptic,joystick,sound,video] )
+       ssl? (
+               dev-libs/openssl:=
+               dev-cpp/cpp-httplib:=[ssl]
+       )
+       usb? ( dev-libs/libusb )
+       web-applet? ( dev-qt/qtwebengine:6[widgets] )
+       web-service? ( dev-cpp/cpp-httplib:=[ssl] )
+       wifi? ( net-wireless/wireless-tools )
+       llvm? ( llvm-core/llvm )
+"
+DEPEND="
+       ${RDEPEND}
+       dev-cpp/nlohmann_json
+       dev-cpp/simpleini
+       dev-libs/boost:=[context]
+       dev-libs/frozen
+       dev-libs/unordered_dense
+       dev-util/spirv-headers
+       dev-util/vulkan-headers
+       dev-util/vulkan-utility-libraries
+       media-libs/VulkanMemoryAllocator
+
+       amd64? ( dev-libs/xbyak )
+       arm64? ( dev-libs/oaknut )
+       x86? ( dev-libs/xbyak )
+
+       web-service? ( dev-cpp/cpp-jwt )
+
+       test? ( dev-libs/oaknut )
+"
+BDEPEND="
+       app-arch/unzip
+       dev-util/glslang
+       virtual/pkgconfig
+
+       test? ( dev-cpp/catch )
+"
+
+# [directory]=license
+declare -A KEEP_BUNDLED=(
+       # Generated or copied files for internal usage
+       [bc_decoder]=MPL-2.0
+       [cmake-modules]=Boost-1.0
+       [demangle]=Apache-2.0-with-LLVM-exceptions
+       [FidelityFX-FSR]=MIT
+       [glad]=GPL-2+
+       [nx_tzdb]="GPL-2+"
+       [stb]="MIT public-domain"
+       [tz]=BSD-2
+
+       # Configuration for the system library
+       [libusb]=GPL-3+
+)
+
+add_bundled_licenses() {
+       for license in "${KEEP_BUNDLED[@]}"; do
+               if [[ -n "$license" ]]; then
+                       LICENSE+=" ${license}"
+               fi
+       done
+}
+add_bundled_licenses
+
+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
+
+       cmake_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DCPMUTIL_FORCE_SYSTEM=yes
+               -DTITLE_BAR_FORMAT_IDLE="Eden | v${PV/_/-}"
+               -DYUZU_TZDB_PATH="${WORKDIR}/nx-tzdb-${_TZDB_VER}"
+               -DUSE_FASTER_LINKER=no
+
+               -DENABLE_LTO=$(usex lto)
+
+               -DDYNARMIC_USE_LLVM=$(usex llvm)
+               -DYUZU_DISABLE_LLVM=$(usex !llvm)
+
+               -DBUILD_TESTING=$(usex test)
+               -DENABLE_CUBEB=$(usex cubeb)
+               -DENABLE_LIBUSB=$(usex usb)
+               -DENABLE_OPENGL=$(usex opengl)
+               -DENABLE_OPENSSL=$(usex ssl)
+               -DENABLE_QT=$(usex qt6)
+               -DENABLE_SDL2=$(usex sdl)
+               -DENABLE_WEB_SERVICE=$(usex web-service)
+               -DENABLE_WIFI_SCAN=$(usex wifi)
+               -DUSE_DISCORD_PRESENCE=$(usex discord)
+               -DYUZU_USE_QT_MULTIMEDIA=$(usex camera)
+               -DYUZU_USE_QT_WEB_ENGINE=$(usex web-applet)
+
+               -DYUZU_ROOM=$(usex room)
+
+               -Wno-dev
+       )
+
+       cmake_src_configure
+}
+
+src_test() {
+       cd "${BUILD_DIR}" || die
+
+       ./bin/dynarmic_tests || die
+
+       # See https://git.eden-emu.dev/eden-emu/eden/issues/126
+       ./bin/tests "~Fibers::InterExchange" "~RingBuffer: Threaded Test" || die
+}

Reply via email to