lime3ds: 2118.2 -> 2119

This commit is contained in:
arthsmn 2024-10-30 20:06:52 -03:00
parent d4c7cea44f
commit f5fc59f995
No known key found for this signature in database

View File

@ -7,7 +7,6 @@
cpp-jwt,
doxygen,
enet,
fetchpatch,
fetchzip,
fmt,
ffmpeg_6-headless,
@ -56,11 +55,11 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "lime3ds";
version = "2118.2";
version = "2119";
src = fetchzip {
url = "https://github.com/Lime3DS/Lime3DS/releases/download/${finalAttrs.version}/lime3ds-unified-source-${finalAttrs.version}.tar.xz";
hash = "sha256-DovVkk5QolOizV3mfxtMNMeIJWYs3xAu96icrTcQN68=";
hash = "sha256-cBPSzkvvivWGTD2E7fjeY3uJ1nSlALbOgIalGdk6xLU=";
};
nativeBuildInputs = [
@ -91,7 +90,6 @@ stdenv.mkDerivation (finalAttrs: {
openssl
pipewire
portaudio
SDL2
soundtouch
sndio
spirv-tools
@ -109,18 +107,11 @@ stdenv.mkDerivation (finalAttrs: {
qtwayland
]
)
++ optionals enableSdl2Frontend [ SDL2 ]
++ optionals enableQtTranslations [ kdePackages.qttools ]
++ 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