Postsync update gentoo

This commit is contained in:
2025-11-21 10:01:21 +01:00
parent 8023edc240
commit 1896125276
6 changed files with 135 additions and 4 deletions
+6 -3
View File
@@ -1,6 +1,6 @@
#!/bin/sh
export LD_LIBRARY_PATH="/usr/$LIBDIR/apulse"
export LD_LIBRARY_PATH="/usr/lib64/apulse"
if command -v spotify-dbus.py > /dev/null; then
echo "Launching spotify with Gnome systray integration."
@@ -10,7 +10,10 @@ else
busline="org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.OpenUri ${1}"
echo "Spotify is already running"
echo "Sending ${busline} to dbus"
if command -v qdbus &> /dev/null; then
if command -v qdbus6 &> /dev/null; then
qdbus6 $busline
exit
elif command -v qdbus &> /dev/null; then
qdbus $busline
exit
fi
@@ -22,6 +25,6 @@ else
else
echo "Neither gnome-integration-spotify nor spotify-tray are installed."
echo "Launching spotify without systray integration."
exec "$SPOTIFY_HOME/spotify" --no-zygote "$@"
exec "/opt/spotify/spotify-client/spotify" --no-zygote "$@"
fi
fi
@@ -37,7 +37,7 @@ RDEPEND="
net-misc/curl[ssl]
net-print/cups[ssl(+)]
sys-apps/dbus
sys-libs/zlib
virtual/zlib:=
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3