summary refs log tree commit diff
path: root/pkgs/applications/audio/famistudio
diff options
context:
space:
mode:
authorOPNA2608 <christoph.neidahl@gmail.com>2023-07-22 13:54:27 +0200
committerOPNA2608 <christoph.neidahl@gmail.com>2023-07-22 13:54:27 +0200
commit99a726ba3ca33f7e7d79010b86e4b84d8e240e98 (patch)
treef4a25eabf730ab5c49397c49768e3bd664f381b4 /pkgs/applications/audio/famistudio
parent632165b83dc576272d01249e308aeacc6f00f34a (diff)
famistudio: 4.1.0 -> 4.1.1
Diffstat (limited to 'pkgs/applications/audio/famistudio')
-rw-r--r--pkgs/applications/audio/famistudio/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/applications/audio/famistudio/default.nix b/pkgs/applications/audio/famistudio/default.nix
index abd829a4a9ceb..89d6845237558 100644
--- a/pkgs/applications/audio/famistudio/default.nix
+++ b/pkgs/applications/audio/famistudio/default.nix
@@ -3,19 +3,20 @@
 , fetchzip
 , autoPatchelfHook
 , dotnet-runtime
-, libGL
+, ffmpeg
+, libglvnd
 , makeWrapper
 , openal
 }:
 
 stdenv.mkDerivation rec {
   pname = "famistudio";
-  version = "4.1.0";
+  version = "4.1.1";
 
   src = fetchzip {
     url = "https://github.com/BleuBleu/FamiStudio/releases/download/${version}/FamiStudio${lib.strings.concatStrings (lib.splitVersion version)}-LinuxAMD64.zip";
     stripRoot = false;
-    hash = "sha256-NLlOmoaYg7cExYFpzo/JnlhKm/AIBOJl4LrhYgqCI6c=";
+    hash = "sha256-fRNjboCfymBhr7Eg5ENnO1fchX0oTdeaJJ0SC3BKTVI=";
   };
 
   strictDeps = true;
@@ -27,7 +28,8 @@ stdenv.mkDerivation rec {
 
   buildInputs = [
     dotnet-runtime
-    libGL
+    ffmpeg
+    libglvnd
     openal
   ];
 
@@ -42,7 +44,8 @@ stdenv.mkDerivation rec {
 
     makeWrapper ${lib.getExe dotnet-runtime} $out/bin/famistudio \
       --add-flags $out/lib/famistudio/FamiStudio.dll \
-      --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libGL ]}
+      --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libglvnd ]} \
+      --prefix PATH : ${lib.makeBinPath [ ffmpeg ]}
 
     # Bundled openal lib freezes the application
     rm $out/lib/famistudio/libopenal32.so