mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
spotify: fix warnings while updating. fixes #1044
This commit is contained in:
parent
7621e3b99e
commit
545e96bd15
2 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@ _LIBS=$(ldconfig -vNX -n /usr/lib 2>/dev/null)
|
||||||
|
|
||||||
linklib() {
|
linklib() {
|
||||||
_LIB=$(echo "$_LIBS" | grep -m 1 "${1}\.so" | sed 's/\s*\([^ ]*\).*$/\1/')
|
_LIB=$(echo "$_LIBS" | grep -m 1 "${1}\.so" | sed 's/\s*\([^ ]*\).*$/\1/')
|
||||||
ln -s "/usr/lib/${_LIB}" "/usr/share/spotify/libs/${1}.so.${2}"
|
ln -sf "/usr/lib/${_LIB}" "/usr/share/spotify/libs/${1}.so.${2}"
|
||||||
}
|
}
|
||||||
|
|
||||||
if test "$ACTION" = "post"; then
|
if test "$ACTION" = "post"; then
|
||||||
|
@ -29,10 +29,10 @@ if test "$ACTION" = "post"; then
|
||||||
mv "${_BUILDDIR}/opt/spotify/spotify-client" /usr/share/spotify/spotify-client
|
mv "${_BUILDDIR}/opt/spotify/spotify-client" /usr/share/spotify/spotify-client
|
||||||
for _s in 16 22 24 32 48 64 128 256 512; do
|
for _s in 16 22 24 32 48 64 128 256 512; do
|
||||||
mkdir -p "/usr/share/icons/hicolor/${_s}x${_s}/apps"
|
mkdir -p "/usr/share/icons/hicolor/${_s}x${_s}/apps"
|
||||||
ln -s "/usr/share/spotify/spotify-client/Icons/spotify-linux-${_s}.png" "/usr/share/icons/hicolor/${_s}x${_s}/apps/spotify-client.png"
|
ln -sf "/usr/share/spotify/spotify-client/Icons/spotify-linux-${_s}.png" "/usr/share/icons/hicolor/${_s}x${_s}/apps/spotify-client.png"
|
||||||
done
|
done
|
||||||
mkdir -p /usr/share/applications
|
mkdir -p /usr/share/applications
|
||||||
ln -s /usr/share/spotify/spotify-client/spotify.desktop /usr/share/applications/spotify.desktop
|
ln -sf /usr/share/spotify/spotify-client/spotify.desktop /usr/share/applications/spotify.desktop
|
||||||
|
|
||||||
if test "$ARCH" = "x86_64"; then
|
if test "$ARCH" = "x86_64"; then
|
||||||
linklib "libssl" "1.0.0"
|
linklib "libssl" "1.0.0"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'spotify'.
|
# Template build file for 'spotify'.
|
||||||
pkgname=spotify
|
pkgname=spotify
|
||||||
version=0.9
|
version=0.9
|
||||||
revision=4
|
revision=5
|
||||||
short_desc="Proprietary music streaming client"
|
short_desc="Proprietary music streaming client"
|
||||||
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
|
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
|
||||||
homepage="https://www.spotify.com"
|
homepage="https://www.spotify.com"
|
||||||
|
|
Loading…
Add table
Reference in a new issue