summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/spotify/spotify-0.6.2.291.ebuild')
-rw-r--r--media-sound/spotify/spotify-0.6.2.291.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/media-sound/spotify/spotify-0.6.2.291.ebuild b/media-sound/spotify/spotify-0.6.2.291.ebuild
new file mode 100644
index 0000000..970ce59
--- /dev/null
+++ b/media-sound/spotify/spotify-0.6.2.291.ebuild
@@ -0,0 +1,45 @@
+# 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}.gcccc1f5.116"
+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
+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"
+DEPEND="${RDEPEND}"
+
+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
+}