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.
This commit is contained in:
huantian 2024-08-21 12:37:15 -07:00
parent a2fcb4e05c
commit b24f9173e6
No known key found for this signature in database
GPG Key ID: 4A0318E04E555DE5

View File

@ -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"
];