mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
multimedia/spotify: Updated for version 0.9.0.133.gd18ed58.259.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
801ba30e34
commit
cfe57a13e4
6 changed files with 46 additions and 30 deletions
|
@ -1,3 +1 @@
|
||||||
You need to be Premium User to login and be able to listen to music
|
Spotify is a social music player.
|
||||||
from this application, also note this software might not run on AMD
|
|
||||||
CPU hardware.
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
HOW TO EDIT THIS FILE:
|
# HOW TO EDIT THIS FILE:
|
||||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
# The "handy ruler" below makes it easier to edit a package description.
|
||||||
# up the first '|' above the ':' following the base package name, and the '|'
|
# Line up the first '|' above the ':' following the base package name, and
|
||||||
# on the right side marks the last column you can put a character in. You must
|
# the '|' on the right side marks the last column you can put a character in.
|
||||||
# make exactly 11 lines for the formatting to be correct. It's also
|
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||||
# customary to leave one space after the ':'.
|
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||||
|
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
spotify: Spotify (digital music service)
|
spotify: Spotify (digital music service)
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
LD_LIBRARY_PATH="/usr/share/spotify/" /usr/share/spotify/spotify $@
|
|
|
@ -2,9 +2,10 @@
|
||||||
#
|
#
|
||||||
# Slackware build script for spotify
|
# Slackware build script for spotify
|
||||||
|
|
||||||
# Copyright 2011-2012 Minime
|
# Copyright 2011-2013 Minime
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
# Updated for 0.9.0.133.gd18ed58.259 by Klaatu @member.fsf.org
|
||||||
|
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
# permitted provided that the following conditions are met:
|
# permitted provided that the following conditions are met:
|
||||||
#
|
#
|
||||||
|
@ -23,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=spotify
|
PRGNAM=spotify
|
||||||
VERSION=0.8.4.103.g9cb177b.260
|
VERSION=0.9.0.133.gd18ed58.259
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -47,18 +48,27 @@ ar -p $CWD/${PRGNAM}-client_${VERSION}-1_${DEBARCH}.deb data.tar.gz | tar zxv
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R u+w,go+r-w,a-s .
|
chmod -R u+w,go+r-w,a-s .
|
||||||
|
|
||||||
# Replace the symlink with our wrapper.
|
|
||||||
rm $PKG/usr/bin/spotify
|
|
||||||
install -m0755 -oroot -groot $CWD/spotify $PKG/usr/bin/spotify
|
|
||||||
|
|
||||||
# Symlinks to fix lib naming issue.
|
# Symlinks to fix lib naming issue.
|
||||||
cd $PKG/usr/share/spotify/
|
ln -sf /usr/lib${LIBDIRSUFFIX}/libnspr4.so $PKG/opt/spotify/spotify-client/libnspr4.so.0d
|
||||||
ln -s /usr/lib$LIBDIRSUFFIX/libnss3.so libnss3.so.1d
|
ln -sf /usr/lib${LIBDIRSUFFIX}/libnss3.so $PKG/opt/spotify/spotify-client/libnss3.so.1d
|
||||||
ln -s /usr/lib$LIBDIRSUFFIX/libnssutil3.so libnssutil3.so.1d
|
ln -sf /usr/lib${LIBDIRSUFFIX}/libnssutil3.so $PKG/opt/spotify/spotify-client/libnssutil3.so.1d
|
||||||
ln -s /usr/lib$LIBDIRSUFFIX/libsmime3.so libsmime3.so.1d
|
ln -sf /usr/lib${LIBDIRSUFFIX}/libplc4.so $PKG/opt/spotify/spotify-client/libplc4.so.0d
|
||||||
ln -s /usr/lib$LIBDIRSUFFIX/libplc4.so libplc4.so.0d
|
ln -sf /usr/lib${LIBDIRSUFFIX}/libplds4.so $PKG/opt/spotify/spotify-client/libplds4.so.0d
|
||||||
ln -s /usr/lib$LIBDIRSUFFIX/libnspr4.so libnspr4.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.10 $PKG/opt/spotify/spotify-client/libssl.so.0.9.8
|
||||||
|
ln -sf /usr/lib${LIBDIRSUFFIX}/libcrypto.so.10 $PKG/opt/spotify/spotify-client/libcrypto.so.0.9.8
|
||||||
|
|
||||||
|
# Stole a sed command
|
||||||
|
# from github.com/xhochy/gentoo-overlay/blob/master/media-sound/spotify/spotify-0.8.8.323.ebuild
|
||||||
|
sed -i \
|
||||||
|
-e 's/\(lib\(ssl\|crypto\).so\).0.9.8/\1.1.0.0/g' \
|
||||||
|
$PKG/opt/spotify/spotify-client/spotify || exit 1
|
||||||
|
|
||||||
|
|
||||||
|
rm $PKG/opt/spotify/spotify-client/spotify.desktop
|
||||||
|
mkdir -p $PKG/usr/share/applications/
|
||||||
|
cat $CWD/spotify.desktop > $PKG/usr/share/applications/spotify.desktop
|
||||||
|
|
||||||
mv $PKG/usr/share/doc $PKG/usr
|
mv $PKG/usr/share/doc $PKG/usr
|
||||||
mv $PKG/usr/doc/$PRGNAM-client $PKG/usr/doc/$PRGNAM-$VERSION
|
mv $PKG/usr/doc/$PRGNAM-client $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
11
multimedia/spotify/spotify.desktop
Normal file
11
multimedia/spotify/spotify.desktop
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Spotify
|
||||||
|
GenericName=Music Player
|
||||||
|
Comment=Listen to music using Spotify
|
||||||
|
Icon=/opt/spotify/spotify-client/Icons/spotify-linux-128.png
|
||||||
|
Exec=spotify %U
|
||||||
|
TryExec=spotify
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Qt;Audio;Player;AudioVideo;
|
||||||
|
MimeType=x-scheme-handler/spotify;
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="spotify"
|
PRGNAM="spotify"
|
||||||
VERSION="0.8.4.103.g9cb177b.260"
|
VERSION="0.9.0.133.gd18ed58.259"
|
||||||
HOMEPAGE="http://www.spotify.com"
|
HOMEPAGE="http://www.spotify.com"
|
||||||
DOWNLOAD="http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_0.8.4.103.g9cb177b.260-1_i386.deb"
|
DOWNLOAD="http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_0.9.0.133.gd18ed58.259-1_i386.deb"
|
||||||
MD5SUM="0d87b47e356b308b56399ceabe8bd6c8"
|
MD5SUM="52d3bf6176a5060e41fb497b3efddd13"
|
||||||
DOWNLOAD_x86_64="http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_0.8.4.103.g9cb177b.260-1_amd64.deb"
|
DOWNLOAD_x86_64="http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_0.9.0.133.gd18ed58.259-1_amd64.deb"
|
||||||
MD5SUM_x86_64="d85ef9a3e612510b8565834df66eb47e"
|
MD5SUM_x86_64="2f1596a85ebb63e3590b88530b745078"
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
MAINTAINER="Minime"
|
MAINTAINER="Minime"
|
||||||
EMAIL="i_am_minime_2003@hotmail.com"
|
EMAIL="i_am_minime_2003@hotmail.com"
|
||||||
|
|
Loading…
Reference in a new issue