From d8c8d8abd012c709551cc96802d2615fa69b5212 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Wed, 17 Jul 2019 14:40:03 +0200 Subject: [PATCH] media-sound/spotify: use apulse if available Adding apulse libraries to LD_LIBRARY_PATH make spotify work even if pulseaudio is not installed. If pulseaudio is installed instead of apulse, this has no effect. Signed-off-by: Gergely Nagy Signed-off-by: Matthew Thode --- media-sound/spotify/spotify-1.1.5-r1.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/media-sound/spotify/spotify-1.1.5-r1.ebuild b/media-sound/spotify/spotify-1.1.5-r1.ebuild index 5fe58e2255fc..a681fe950c04 100644 --- a/media-sound/spotify/spotify-1.1.5-r1.ebuild +++ b/media-sound/spotify/spotify-1.1.5-r1.ebuild @@ -75,6 +75,7 @@ src_install() { dodir /usr/bin cat <<-EOF >"${D}"/usr/bin/spotify || die #! /bin/sh + LD_LIBRARY_PATH="/usr/$(get_libdir)/apulse" \\ exec ${SPOTIFY_HOME}/spotify "\$@" EOF fperms +x /usr/bin/spotify -- 2.26.2