Package Details: suyu-dev-qt6-git r27354.b911ac8516-1

Git Clone URL: https://aur.archlinux.org/suyu-dev-qt6-git.git (read-only, click to copy)
Package Base: suyu-dev-qt6-git
Description: suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (dev branch with QT6)
Upstream URL: https://git.suyu.dev/suyu/suyu
Licenses: GPL-3.0-or-later
Conflicts: suyu-dev-git, suyu-git
Provides: suyu-dev-git, suyu-git
Submitter: Fijxu
Maintainer: Fijxu (HurricanePootis, username227)
Last Packager: HurricanePootis
Votes: 4
Popularity: 1.01
First Submitted: 2024-03-11 04:06 (UTC)
Last Updated: 2024-04-06 02:21 (UTC)

Dependencies (39)

Required by (0)

Sources (28)

Latest Comments

1 2 Next › Last »

Odaem commented on 2024-05-14 17:16 (UTC)

I have a suggestion to reduce the required source repositories: see this gist.

Since this build uses system packages for some dependencies, their submodules are not used in the build process. In particular SDL and Ffmpeg are large repositories that go ignored because of explicit configuration flags, and similarly for vcpkg, which appears not to be used when building on Linux. By only initializing necessary submodules, and using -DSUYU_CHECK_SUBMODULES=OFF, the build succeeds without having to download these huge repositories, saving both time and disc space.

It is possible that other repositories could be removed as well, these are just the ones I found.

yangtsesu commented on 2024-03-31 11:34 (UTC)

Delete two lines of 'SKIP'.

dnmodder commented on 2024-03-30 22:59 (UTC)

In the array b2sums, there are two SKIPs left over.

Fijxu commented on 2024-03-30 15:44 (UTC) (edited on 2024-03-30 16:13 (UTC) by Fijxu)

Doing a clean build in a clean chroot right now. I will push the changes is a few minutes more.

EDIT: My internet is not being very cool now and I can't clone the vcpkg git repository. I will do it later I guess.

solarisfire commented on 2024-03-30 15:39 (UTC)

This will still just not build for me with errors in dynarmic on either of my totally updated Arch systems:

Examples of build errors:

[853/1450] Building CXX object src/core/CMakeFiles/core.dir/arm/dynarmic/arm_dynarmic_32.cpp.o
FAILED: src/core/CMakeFiles/core.dir/arm/dynarmic/arm_dynarmic_32.cpp.o 
/home/solarisfire/.cache/yay/suyu-dev-qt6-git/src/suyu/src/core/arm/dynarmic/arm_dynarmic_32.cpp:195:46: error: no match for ‘operator=’ (operand types are ‘std::optional<long unsigned int>’ and ‘u8*’ {aka ‘unsigned char*’})
  195 |         config.fastmem_pointer = page_table->fastmem_arena;
      |                                              ^~~~~~~~~~~~~
/home/solarisfire/.cache/yay/suyu-dev-qt6-git/src/suyu/src/core/arm/dynarmic/arm_dynarmic_32.cpp:195:46:   required from here
/usr/include/c++/13.2.1/type_traits:2610:11: error: no type named ‘type’ in ‘struct std::enable_if<false, std::optional<long unsigned int>&>’
 2610 |     using enable_if_t = typename enable_if<_Cond, _Tp>::type;
      |           ^~~~~~~~~~~
/home/solarisfire/.cache/yay/suyu-dev-qt6-git/src/suyu/src/core/arm/dynarmic/arm_dynarmic_32.cpp:197:66: error: no match for ‘operator!=’ (operand types are ‘std::optional<long unsigned int>’ and ‘std::nullptr_t’)
  197 |         config.fastmem_exclusive_access = config.fastmem_pointer != nullptr;
      |                                           ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/c++/13.2.1/optional:1196:43: error: invalid operands of types ‘const long unsigned int’ and ‘std::nullptr_t’ to binary ‘operator!=’
 1196 |       decltype(std::declval<const _Tp&>() != std::declval<const _Up&>())
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/solarisfire/.cache/yay/suyu-dev-qt6-git/src/suyu/src/core/arm/dynarmic/arm_dynarmic_32.cpp:254:38: error: no match for ‘operator=’ (operand types are ‘std::optional<long unsigned int>’ and ‘std::nullptr_t’)
  254 |             config.fastmem_pointer = nullptr;
      |

italoghost commented on 2024-03-30 15:37 (UTC)

@Fijxu, you have to remove the following line as well:

cd "${pkgdir}"/usr/share/applications

Fijxu commented on 2024-03-30 15:08 (UTC)

I reverted the changes made in the .desktop file.

queenbiscuit311 commented on 2024-03-30 06:33 (UTC)

@yangtsesu wouldn't be surprised, although putting it on the tryexec line seems to have been an accident. i think it should just be set to not force x11 and tell nvidia users to do it themselves if they have issues like other packages do.

yangtsesu commented on 2024-03-29 07:49 (UTC)

@italoghost , Maybe he is using a Nvida GPU.

italoghost commented on 2024-03-29 00:57 (UTC)

Thanks, @yangtsesu! It worked! I wonder why the packager added this option. Forcing X11 was unnecessary to yuzu and suyu works just fine on Wayland as well.