Lines 6-26
Link Here
|
6 |
|
6 |
|
7 |
DESCRIPTION="Spotify is a social music platform" |
7 |
DESCRIPTION="Spotify is a social music platform" |
8 |
HOMEPAGE="https://www.spotify.com/ch-de/download/previews/" |
8 |
HOMEPAGE="https://www.spotify.com/ch-de/download/previews/" |
9 |
BUILD_ID_AMD64="117.g6bd7cc73-35" |
|
|
10 |
BUILD_ID_X86="117.g6bd7cc73-35" |
11 |
SRC_BASE="http://repository.spotify.com/pool/non-free/s/${PN}-client/" |
9 |
SRC_BASE="http://repository.spotify.com/pool/non-free/s/${PN}-client/" |
12 |
SRC_URI="amd64? ( ${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_AMD64}_amd64.deb ) |
10 |
BUILD_ID_AMD64="338.g758ebd78-41" |
13 |
x86? ( ${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_X86}_i386.deb )" |
11 |
#BUILD_ID_X86="" |
|
|
12 |
#SRC_URI="amd64? ( ${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_AMD64}_amd64.deb ) |
13 |
# x86? ( ${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_X86}_i386.deb )" |
14 |
SRC_URI="${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_AMD64}_amd64.deb" |
14 |
LICENSE="Spotify" |
15 |
LICENSE="Spotify" |
15 |
SLOT="0" |
16 |
SLOT="0" |
16 |
KEYWORDS="amd64 x86" |
17 |
KEYWORDS="~amd64" |
17 |
IUSE="libnotify systray pax_kernel pulseaudio" |
18 |
IUSE="libnotify systray pax_kernel pulseaudio" |
18 |
RESTRICT="mirror strip" |
19 |
RESTRICT="mirror strip" |
19 |
|
20 |
|
20 |
DEPEND="" |
21 |
DEPEND=">=dev-util/patchelf-0.9_p20180129" |
21 |
# zenety needed for filepicker |
22 |
# zenety needed for filepicker |
22 |
RDEPEND=" |
23 |
RDEPEND=" |
23 |
${DEPEND} |
24 |
dev-libs/openssl:0 |
24 |
dev-libs/nss |
25 |
dev-libs/nss |
25 |
gnome-base/gconf |
26 |
gnome-base/gconf |
26 |
gnome-extra/zenity |
27 |
gnome-extra/zenity |
Lines 28-34
Link Here
|
28 |
media-libs/harfbuzz |
29 |
media-libs/harfbuzz |
29 |
media-libs/fontconfig |
30 |
media-libs/fontconfig |
30 |
media-libs/mesa |
31 |
media-libs/mesa |
31 |
net-misc/curl[ssl,curl_ssl_openssl] |
32 |
net-misc/curl[ssl] |
32 |
net-print/cups[ssl] |
33 |
net-print/cups[ssl] |
33 |
x11-libs/gtk+:2 |
34 |
x11-libs/gtk+:2 |
34 |
x11-libs/libXScrnSaver |
35 |
x11-libs/libXScrnSaver |
Lines 52-57
Link Here
|
52 |
usr/share/spotify/spotify.desktop || die "sed failed" |
53 |
usr/share/spotify/spotify.desktop || die "sed failed" |
53 |
fi |
54 |
fi |
54 |
default |
55 |
default |
|
|
56 |
|
57 |
# Spotify links against libcurl-gnutls.so.4, which does not exist in Gentoo. |
58 |
patchelf --replace-needed libcurl-gnutls.so.4 libcurl.so.4 usr/bin/spotify \ |
59 |
|| die "failed to patch libcurl library dependency" |
55 |
} |
60 |
} |
56 |
|
61 |
|
57 |
src_install() { |
62 |
src_install() { |