summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Lasse Brun <bruners@gmail.com> 2012-02-03 23:30:41 +0100
committerAvatar Timo Gurr <tgurr@exherbo.org> 2018-08-02 01:10:41 +0200
commit800c1749d8c1deae0b1679bd138d35a696006c7c (patch)
tree23bf2caa7fb7a6416605c12015b0c2e7466f23a6
parent4faa31bdc5984e7f6413c99f9ed9a672b9553f27 (diff)
downloadmedia-800c1749d8c1deae0b1679bd138d35a696006c7c.tar.gz
media-800c1749d8c1deae0b1679bd138d35a696006c7c.tar.xz
Fix downloads in Spotify to have platform dependant download
-rw-r--r--packages/media-sound/spotify/spotify-0.6.6.10.exheres-016
1 files changed, 15 insertions, 1 deletions
diff --git a/packages/media-sound/spotify/spotify-0.6.6.10.exheres-0 b/packages/media-sound/spotify/spotify-0.6.6.10.exheres-0
index 30da0aa..782cd54 100644
--- a/packages/media-sound/spotify/spotify-0.6.6.10.exheres-0
+++ b/packages/media-sound/spotify/spotify-0.6.6.10.exheres-0
@@ -8,7 +8,15 @@ A DRM-based music streaming service offering streaming of selected music from a
independent record labels, including Sony, EMI, Warner Music Group, and Universal.
"
HOMEPAGE="http://www.spotify.com"
-DOWNLOADS="http://repository.spotify.com/pool/non-free/s/spotify/spotify-client-qt_0.6.6.10.gdb39032.58-1_amd64.deb"
+
+_MYREPO="http://repository.spotify.com/pool/non-free/s/spotify"
+_MYPN="spotify-client-qt"
+_MYPV="${PV}.gbd39032.58"
+
+DOWNLOADS="
+ platform:amd64? ( "${_MYREPO}"/"${_MYPN}"_"${_MYPV}"-1_amd64.deb )
+ platform:x86? ( "${_MYREPO}"/"${_MYPN}"_"${_MYPV}"-1_i386.deb )
+"
LICENCES="Spotify"
SLOT="0"
@@ -22,6 +30,12 @@ DEPENDENCIES="
x11-libs/qt:4[dbus][webkit][X(+)]
"
+MYOPTIONS="
+ platform:
+ amd64
+ x86
+"
+
BUGS_TO="
alm.anma@gmail.com
bruners@gmail.com