diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2015-04-02 09:02:48 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-04-05 08:38:23 +0700 |
commit | 7db84256fe684d817470d281f2ea38754ff1eb50 (patch) | |
tree | ea641f47a8a0ac34068398c80484f0903a4e37cd | |
parent | 2228ebd8f36e301bac359cf0341bc2f4b358a9fa (diff) | |
download | slackbuilds-7db84256fe684d817470d281f2ea38754ff1eb50.tar.gz |
multimedia/spotify64: Updated for version 0.9.17.1.g9b85d43.7.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
-rw-r--r-- | multimedia/spotify64/spotify.desktop | 2 | ||||
-rw-r--r-- | multimedia/spotify64/spotify64.SlackBuild | 48 | ||||
-rw-r--r-- | multimedia/spotify64/spotify64.info | 6 |
3 files changed, 25 insertions, 31 deletions
diff --git a/multimedia/spotify64/spotify.desktop b/multimedia/spotify64/spotify.desktop index 8b5510169b..fd03b8ab8b 100644 --- a/multimedia/spotify64/spotify.desktop +++ b/multimedia/spotify64/spotify.desktop @@ -2,7 +2,7 @@ Name=Spotify GenericName=Music Player Comment=Listen to music using Spotify -Icon=/opt/spotify/spotify-client/Icons/spotify-linux-128.png +Icon=/opt/spotify/spotify-client/Icons/spotify-linux-512.png Exec=spotify %U TryExec=spotify Terminal=false diff --git a/multimedia/spotify64/spotify64.SlackBuild b/multimedia/spotify64/spotify64.SlackBuild index cb5e7fc060..bb1cb03256 100644 --- a/multimedia/spotify64/spotify64.SlackBuild +++ b/multimedia/spotify64/spotify64.SlackBuild @@ -24,8 +24,8 @@ PRGNAM=spotify64 SRCNAM=spotify -VERSION=${VERSION:-0.9.11.27.g2b1a638.81} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.9.17.1.g9b85d43.7} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} case "$(uname -m)" in @@ -43,7 +43,7 @@ set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG -ar -p $CWD/${SRCNAM}-client_${VERSION}-1_${DEBARCH}.deb data.tar.gz | tar zxv +ar -p $CWD/${SRCNAM}-client_${VERSION}-1_${DEBARCH}.deb data.tar.xz | tar Jxv chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -51,31 +51,25 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Symlinks to fix lib naming issue. -ln -sf /usr/lib${LIBDIRSUFFIX}/libnspr4.so $PKG/opt/spotify/spotify-client/libnspr4.so.0d -ln -sf /usr/lib${LIBDIRSUFFIX}/libnss3.so $PKG/opt/spotify/spotify-client/libnss3.so.1d -ln -sf /usr/lib${LIBDIRSUFFIX}/libnssutil3.so $PKG/opt/spotify/spotify-client/libnssutil3.so.1d -ln -sf /usr/lib${LIBDIRSUFFIX}/libplc4.so $PKG/opt/spotify/spotify-client/libplc4.so.0d -ln -sf /usr/lib${LIBDIRSUFFIX}/libplds4.so $PKG/opt/spotify/spotify-client/libplds4.so.0d -ln -sf /usr/lib${LIBDIRSUFFIX}/libsmime3.so $PKG/opt/spotify/spotify-client/libsmime3.so.1d -ln -sf /usr/lib${LIBDIRSUFFIX}/libssl3.so $PKG/opt/spotify/spotify-client/libssl3.so.1d -ln -sf /usr/lib${LIBDIRSUFFIX}/libssl.so.1.0.0 $PKG/opt/spotify/spotify-client/libssl.so.0.9.8 -ln -sf /usr/lib${LIBDIRSUFFIX}/libcrypto.so.1.0.0 $PKG/opt/spotify/spotify-client/libcrypto.so.0.9.8 - -## fixes some display issues -ln -sf /usr/lib${LIBDIRSUFFIX}/libnspr4.so $PKG/opt/spotify/spotify-client/Data/libnspr4.so.0d -ln -sf /usr/lib${LIBDIRSUFFIX}/libnss3.so $PKG/opt/spotify/spotify-client/Data/libnss3.so.1d -ln -sf /usr/lib${LIBDIRSUFFIX}/libnssutil3.so $PKG/opt/spotify/spotify-client/Data/libnssutil3.so.1d -ln -sf /usr/lib${LIBDIRSUFFIX}/libplc4.so $PKG/opt/spotify/spotify-client/Data/libplc4.so.0d -ln -sf /usr/lib${LIBDIRSUFFIX}/libplds4.so $PKG/opt/spotify/spotify-client/Data/libplds4.so.0d -ln -sf /usr/lib${LIBDIRSUFFIX}/libsmime3.so $PKG/opt/spotify/spotify-client/Data/libsmime3.so.1d -ln -sf /usr/lib${LIBDIRSUFFIX}/libssl3.so $PKG/opt/spotify/spotify-client/Data/libssl3.so.1d -ln -sf /usr/lib${LIBDIRSUFFIX}/libssl.so.1.0.0 $PKG/opt/spotify/spotify-client/Data/libssl.so.0.9.8 -ln -sf /usr/lib${LIBDIRSUFFIX}/libcrypto.so.1.0.0 $PKG/opt/spotify/spotify-client/Data/libcrypto.so.0.9.8 - -rm $PKG/opt/spotify/spotify-client/spotify.desktop +## fixes udev1 dependency +ln -sf /usr/lib${LIBDIRSUFFIX}/libudev.so $PKG/opt/$SRCNAM/$SRCNAM-client/Data/libudev.so.1 + +## we don't need the symlink, +## we have udev issues to fix ;^) +rm $PKG/usr/bin/$SRCNAM + +## we make our own script since +## we have to set the lib path +cat <<EOT > $PKG/usr/bin/$SRCNAM +#!/bin/sh +## fix libudev issue +LD_LIBRARY_PATH=/opt/$SRCNAM/$SRCNAM-client/Data/ /opt/$SRCNAM/$SRCNAM-client/$SRCNAM +EOT +chmod 755 $PKG/usr/bin/$SRCNAM + +rm $PKG/opt/$SRCNAM/$SRCNAM-client/$SRCNAM.desktop mkdir -p $PKG/usr/share/applications/ -cat $CWD/spotify.desktop > $PKG/usr/share/applications/spotify.desktop +cat $CWD/$SRCNAM.desktop > $PKG/usr/share/applications/$SRCNAM.desktop mv $PKG/usr/share/doc $PKG/usr mv $PKG/usr/doc/$SRCNAM-client $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/multimedia/spotify64/spotify64.info b/multimedia/spotify64/spotify64.info index f4e5bc851a..68703daf94 100644 --- a/multimedia/spotify64/spotify64.info +++ b/multimedia/spotify64/spotify64.info @@ -1,10 +1,10 @@ PRGNAM="spotify64" -VERSION="0.9.11.27.g2b1a638.81" +VERSION="0.9.17.1.g9b85d43.7" HOMEPAGE="http://www.spotify.com" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="http://repository-origin.spotify.com/pool/non-free/s/spotify/spotify-client_0.9.11.27.g2b1a638.81-1_amd64.deb" -MD5SUM_x86_64="778a0150fc9c0205f06a620a60f1365c" +DOWNLOAD_x86_64="http://repository-origin.spotify.com/pool/non-free/s/spotify/spotify-client_0.9.17.1.g9b85d43.7-1_amd64.deb" +MD5SUM_x86_64="6cac4995a58f1a8627865f034df42800" REQUIRES="" MAINTAINER="Ryan P.C. McQuen" EMAIL="ryan.q@linux.com" |