From b24f9173e6b78a9a65704e049e6eefe47fa90fa2 Mon Sep 17 00:00:00 2001 From: huantian Date: Wed, 21 Aug 2024 12:37:15 -0700 Subject: [PATCH] tauon: remove unused depedencies and fix runtime dependency game-music-emu needs to be in LD_LIBRARY_PATH for the app to find it. gst-python and pylyrics are no longer used. tauon does have optional support for libjxl, but it's via the python library pyjxl and not directly with the C library. --- pkgs/applications/audio/tauon/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/audio/tauon/default.nix b/pkgs/applications/audio/tauon/default.nix index 9a5f5b9e6cce..660348fcf84d 100644 --- a/pkgs/applications/audio/tauon/default.nix +++ b/pkgs/applications/audio/tauon/default.nix @@ -6,7 +6,6 @@ python3Packages, ffmpeg, flac, - libjxl, librsvg, game-music-emu, gobject-introspection, @@ -92,10 +91,9 @@ stdenv.mkDerivation (finalAttrs: { with python3Packages; [ beautifulsoup4 - gst-python dbus-python isounidecode - libjxl + jxlpy musicbrainzngs mutagen natsort @@ -105,7 +103,6 @@ stdenv.mkDerivation (finalAttrs: { pychromecast pylast pygobject3 - pylyrics pysdl2 requests send2trash @@ -116,7 +113,12 @@ stdenv.mkDerivation (finalAttrs: { makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}" - "--prefix LD_LIBRARY_PATH : ${pulseaudio}/lib" + "--prefix LD_LIBRARY_PATH : ${ + lib.makeLibraryPath [ + game-music-emu + pulseaudio + ] + }" "--prefix PYTHONPATH : $out/share/tauon" "--set GI_TYPELIB_PATH $GI_TYPELIB_PATH" ];