blob: af4524df93782f89b9da1dc23ca5ce51e17b2709 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
inherit eutils
MY_PN="spotify-client-qt"
MY_PV="${PV}.ga662380"
MY_P="${MY_PN}_${MY_PV}"
DESCRIPTION="A proprietary peer-to-peer music streaming desktop application"
HOMEPAGE="http://www.spotify.com"
REPO_URI="http://repository.spotify.com/pool/non-free/s/spotify"
SRC_URI="amd64? ( ${REPO_URI}/${MY_P}-1_amd64.deb )
x86? ( ${REPO_URI}/${MY_P}-1_i386.deb )"
LICENSE="Spotify"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# media-sound/asoundconf left
DEPEND=""
RDEPEND="${RDEPEND}
>=x11-libs/qt-dbus-4.5.0
>=x11-libs/qt-webkit-4.5.0
>=x11-libs/qt-core-4.5.0
>=x11-libs/qt-gui-4.5.0"
src_unpack() {
unpack ${A} ./data.tar.gz
}
src_install() {
insinto /opt/${PN}
into /opt/${PN}
dobin usr/bin/spotify
dosym /opt/${PN}/bin/spotify /usr/bin/spotify
newdoc usr/share/doc/spotify-client-qt/changelog.Debian.gz changelog.gz
doins -r usr/share/spotify/theme
# hardcoded path fix
dodir /usr/share/spotify
dosym /opt/${PN}/theme /usr/share/spotify/theme
}
|