lime3ds: fix build

This commit is contained in:
arthsmn 2024-10-17 19:32:11 -03:00
parent 9b8c252701
commit b4596b4773
No known key found for this signature in database

View File

@ -7,9 +7,10 @@
cpp-jwt,
doxygen,
enet,
fetchpatch,
fetchzip,
fmt,
ffmpeg-headless,
ffmpeg_6-headless,
gamemode,
httplib,
inih,
@ -77,7 +78,7 @@ stdenv.mkDerivation (finalAttrs: {
cpp-jwt
enet
fmt
ffmpeg-headless
ffmpeg_6-headless
httplib
inih
libGL
@ -112,6 +113,14 @@ stdenv.mkDerivation (finalAttrs: {
++ optionals enableCubeb [ cubeb ]
++ optional useDiscordRichPresence rapidjson;
patches = [
# FIXME: this patch fixes the build with newer QT versions, remove it when the new version gets released
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/Lime3DS/Lime3DS/pull/441.patch";
hash = "sha256-NKJ3fmh5kY/DaTCVbIz1dvJrvK5IbJt1eogrbXWciCI=";
})
];
postPatch = ''
# Fix file not found when looking in var/empty instead of opt
mkdir externals/dynarmic/src/dynarmic/ir/var