Package Details: citron 0.6.1-3

Git Clone URL: https://aur.archlinux.org/citron.git (read-only, click to copy)
Package Base: citron
Description: Nintendo Switch emulator forked from yuzu.
Upstream URL: https://citron-emu.org
Keywords: emulator nintendo switch yuzu
Licenses: GPL-2.0-or-later
Conflicts: citron
Provides: citron
Submitter: ouinouin
Maintainer: ouinouin
Last Packager: ouinouin
Votes: 7
Popularity: 3.17
First Submitted: 2025-01-20 20:23 (UTC)
Last Updated: 2025-03-27 20:08 (UTC)

Latest Comments

1 2 3 Next › Last »

tb0n3 commented on 2025-03-30 01:52 (UTC)

Looks like cmake hit a major revision on the 27th causing a compatibility issue with the build scripts. I downgraded to 3.31.6 and it builds just fine.

Glorious7060 commented on 2025-03-29 21:22 (UTC) (edited on 2025-03-30 18:49 (UTC) by Glorious7060)

-- Found Boost: /usr/lib/cmake/Boost-1.87.0/BoostConfig.cmake (found version "1.87.0") found components: context -- Found enet: /usr/lib/libenet.so (found version "1.3.18") -- Found lz4: /usr/lib/liblz4.so (found version "1.10.0") -- Found nlohmann_json: /usr/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.11.3") -- Found Opus: /usr/lib/libopus.so (found version "1.5.2") -- Could NOT find RenderDoc (missing: RenderDoc_INCLUDE_DIR) -- Could NOT find SimpleIni (missing: SIMPLEINI_INCLUDEDIR) (found version "") -- Could NOT find stb (missing: stb_image_INCLUDE_DIR stb_image_resize_INCLUDE_DIR stb_image_write_INCLUDE_DIR) -- Could NOT find VulkanMemoryAllocator (missing: VulkanMemoryAllocator_DIR) -- Found ZLIB: /usr/lib/libz.so (found version "1.3.1") -- Found zstd: /usr/lib/cmake/zstd/zstdConfig.cmake (found version "1.5.7") -- Found libusb: /usr/lib/libusb-1.0.so (found version "1.0.28") -- Could NOT find xbyak (missing: xbyak_DIR) -- Could NOT find dynarmic (missing: dynarmic_DIR) -- Could NOT find cubeb (missing: cubeb_DIR) -- Could NOT find DiscordRPC (missing: DiscordRPC_LIBRARY DiscordRPC_INCLUDE_DIR) -- Could NOT find cpp-jwt (missing: cpp-jwt_DIR) -- Could NOT find httplib (missing: HTTPLIB_INCLUDEDIR OpenSSL) (found version "") -- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.4.1") -- Found gamemode: /usr/include (found version "1.8.2") CMake Error at externals/xbyak/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.

Did anyone else have this problem with the submodules not being recognized? Edit: As tb0n3 said, a downgrade of cmake "fixes" this while it's being solved.

floreal commented on 2025-03-27 10:28 (UTC) (edited on 2025-03-27 10:30 (UTC) by floreal)

May I suggest this patch to fix submodules?

diff --git a/PKGBUILD b/PKGBUILD
index a392c76..2de094d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,20 +14,20 @@ options=(!debug)
 _tag="v${pkgver}-canary-refresh"
 source=(${pkgname}::git+https://git.citron-emu.org/Citron/Citron.git#tag=${_tag}
         cubeb::git+https://github.com/mozilla/cubeb.git#commit=48689ae7a73caeb747953f9ed664dc71d2f918d8
-        discord-rpc::git+https://git.citron-emu.org/Citron/discord-rpc.git#commit=20cc99aeffa08a4834f156b6ab49ed68618cf94a
-        dynarmic::git+https://git.citron-emu.org/Citron/dynarmic.git#commit=ba8192d89078af51ae6f97c9352e3683612cdff1
+        discord-rpc::git+https://github.com/yuzu-mirror/discord-rpc.git#commit=20cc99aeffa08a4834f156b6ab49ed68618cf94a
+        dynarmic::git+https://github.com/yuzu-mirror/dynarmic.git#commit=ba8192d89078af51ae6f97c9352e3683612cdff1
         Vulkan-Headers::git+https://github.com/KhronosGroup/Vulkan-Headers.git#commit=cacef3039d277c448c89336290ec3937270b0996
-        sirit::git+https://git.citron-emu.org/Citron/sirit.git#commit=ab75463999f4f3291976b079d42d52ee91eebf3f
-        mbedtls::git+https://git.citron-emu.org/Citron/mbedtls.git#commit=8c88150ca139e06aa2aae8349df8292a88148ea1
+        sirit::git+https://github.com/yuzu-mirror/sirit.git#commit=ab75463999f4f3291976b079d42d52ee91eebf3f
+        mbedtls::git+https://github.com/yuzu-mirror/mbedtls.git#commit=8c88150ca139e06aa2aae8349df8292a88148ea1
         xbyak::git+https://github.com/herumi/xbyak.git#commit=a1ac3750f9a639b5a6c6d6c7da4259b8d6790989
         cpp-httplib::git+https://github.com/yhirose/cpp-httplib.git#commit=39a64fb4e7e42216f14f0ec51ccc5fa85e651432
         cpp-jwt::git+https://github.com/arun11299/cpp-jwt.git#commit=4a970bc302d671476122cbc6b43cc89fbf4a96ec
         libadrenotools::git+https://github.com/bylaws/libadrenotools.git#commit=8fae8ce254dfc1344527e05301e43f37dea2df80
         tzdb_to_nx::git+https://github.com/lat9nq/tzdb_to_nx.git#commit=97929690234f2b4add36b33657fe3fe09bd57dfd
         VulkanMemoryAllocator::git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git#commit=c788c52156f3ef7bc7ab769cb03c110a53ac8fcb
-        breakpad::git+https://git.citron-emu.org/Citron/breakpad.git#commit=c89f9dddc793f19910ef06c13e4fd240da4e7a59
+        breakpad::git+https://github.com/yuzu-mirror/breakpad.git#commit=c89f9dddc793f19910ef06c13e4fd240da4e7a59
         simpleini::git+https://github.com/brofield/simpleini.git#commit=6048871ea9ee0ec24be5bd099d161a10567d7dc2
-        oaknut::git+https://git.citron-emu.org/Citron/oaknut.git#commit=94c726ce0338b054eb8cb5ea91de8fe6c19f4392
+        oaknut::git+https://github.com/yuzu-mirror/oaknut.git#commit=94c726ce0338b054eb8cb5ea91de8fe6c19f4392
         Vulkan-Utility-Libraries::git+https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git#commit=bc3a4d9fd9b46729651a3cec4f5226f6272b8684
         googletest::git+https://github.com/google/googletest.git#commit=800f5422ac9d9e0ad59cd860a2ef3a679588acb4
         sanitizers-cmake::git+https://github.com/arsenm/sanitizers-cmake.git#commit=aab6948fa863bc1cbe5d0850bc46b9ef02ed4c1a

Also, i don't know what happens but build is stuck because one of the dependency (discord-rpc) is not build (and when I try to build it individually, it does, so somethink may be missing somewhere to let deps build. Couldn't find it yet so far.

Aniam0n commented on 2025-03-25 16:54 (UTC)

3dLFTR, I have the same issue. Apparently since this commit you need to replace git.citron-emu.org repos with github.com/yuzu-mirror ones

ouinouin commented on 2025-03-22 22:33 (UTC)

PKGBUILD updated !

ptr1337 commented on 2025-03-22 09:49 (UTC)

Hi,

Can you please remove the -march=native stuff in the PKGBUILD?

Please use the CFLAGS from the makepkg.conf:

diff --git a/PKGBUILD b/PKGBUILD
index cbb640b..2048053 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Sébastien TERRIER <ouinouin at ouinouin dot eu>
 pkgname=citron
 pkgver=0.6.1
-pkgrel=1
+pkgrel=5
 pkgdesc="Nintendo Switch emulator forked from yuzu."
 arch=(x86_64)
 url=https://citron-emu.org
@@ -125,8 +125,8 @@ build() {
     -DBUNDLE_SPEEX=ON \
     -DCITRON_USE_FASTER_LD=OFF \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_CXX_FLAGS="-march=native -mtune=native -Wno-error" \
-    -DCMAKE_C_FLAGS="-march=native -mtune=native" \
+    -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+    -DCMAKE_C_FLAGS="$CFLAGS" \
     -DCMAKE_SYSTEM_PROCESSOR=x86_64 \
     -DCMAKE_BUILD_TYPE=Release

ouinouin commented on 2025-03-20 17:08 (UTC)

I've made a binary version (no compilation) here : https://aur.archlinux.org/packages/citron-bin

3dLFTR commented on 2025-03-19 04:30 (UTC)

When installing using yay it asks me for authentication like this:

Username for 'https://git.citron-emu.org': Password for 'https://git.citron-emu.org':

No idea what's caused by and it seems that I am the only one having the issue. I get the same issue just cloning it and building it with makepkg. Going to the website did not help either, especially as there is no way to even register. What's going on here?

ouinouin commented on 2025-03-17 21:17 (UTC)

PKGBUILD updated to v0.6.1 Add b2sums, update dependencies and add Discord RPC.

<deleted-account> commented on 2025-03-17 16:22 (UTC)

I was able to enable the Discord RPC support by including the discord-rpc submodule, adding the rapidjson library into makedepends and enable the compile option for it (-DUSE_DISCORD_PRESENCE=ON). The source for discord-rpc would be https://git.citron-emu.org/Citron/discord-rpc. The patch file for PKGBUILD if needed: https://0x0.st/s/atOeDaseyG8dV00ZDb4lkA/8QUd.patch