From: Gergely Nagy Date: Wed, 17 Jul 2019 12:40:03 +0000 (+0200) Subject: media-sound/spotify: use apulse if available X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d8c8d8abd012c709551cc96802d2615fa69b5212;p=gentoo.git 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 --- 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