summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGergely Nagy <ngg@ngg.hu>2019-07-17 14:40:03 +0200
committerMatthew Thode <prometheanfire@gentoo.org>2019-07-17 10:14:29 -0500
commitd8c8d8abd012c709551cc96802d2615fa69b5212 (patch)
tree7185ee6fa369bdeae5f8db48dc1b8ed5badd367d /media-sound/spotify
parentapp-admin/supervisor: remove old (diff)
downloadgentoo-d8c8d8abd012c709551cc96802d2615fa69b5212.tar.gz
gentoo-d8c8d8abd012c709551cc96802d2615fa69b5212.tar.bz2
gentoo-d8c8d8abd012c709551cc96802d2615fa69b5212.zip
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 <ngg@ngg.hu> Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'media-sound/spotify')
-rw-r--r--media-sound/spotify/spotify-1.1.5-r1.ebuild1
1 files changed, 1 insertions, 0 deletions
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