Unverified Commit b24f9173 authored by huantian's avatar huantian
Browse files

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.
parent a2fcb4e0
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -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"
  ];