diff options
author | Gergely Nagy <ngg@ngg.hu> | 2019-07-17 14:40:03 +0200 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2019-07-17 10:14:29 -0500 |
commit | d8c8d8abd012c709551cc96802d2615fa69b5212 (patch) | |
tree | 7185ee6fa369bdeae5f8db48dc1b8ed5badd367d /media-sound | |
parent | app-admin/supervisor: remove old (diff) | |
download | gentoo-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')
-rw-r--r-- | media-sound/spotify/spotify-1.1.5-r1.ebuild | 1 |
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 |