Since https://github.com/dolphin-emu/dolphin/pull/11669/ building this package did not work, due to missing an "rcheevos" submodule, with error:
CMake Error at Externals/rcheevos/CMakeLists.txt:1 (add_library):
Cannot find source file:
rcheevos/include/rc_api_editor.h
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
.hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
CMake Error at Externals/rcheevos/CMakeLists.txt:1 (add_library):
No SOURCES given to target: rcheevos
I personally resolved that with this patch since I don't care about those achievements anyways, I suspect many people probably think the same too
diff --git a/PKGBUILD b/PKGBUILD
index 2431733..11a65b1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -85,6 +85,7 @@ build() {
-DDISTRIBUTOR=archlinux.org \
-DENABLE_TESTS=OFF \
-DUSE_SHARED_ENET=ON \
+ -DUSE_RETRO_ACHIEVEMENTS=OFF \
-Wno-dev
cmake --build 'build/'
}
Whether it's worth keeping these achievements in a regular build is not really up to me, I guess, but this fix is the easiest for now.
Pinned Comments
dpeukert commented on 2020-04-10 12:34 (UTC) (edited on 2020-09-26 17:48 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/dolphin-emu-git