public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/graaff:master commit in: media-sound/spotify/
@ 2012-09-19  7:06 Hans de Graaff
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff @ 2012-09-19  7:06 UTC (permalink / raw
  To: gentoo-commits

commit:     e02a97e87a96a6265cf20e6bf0daf4a97c2f71d0
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Wed Sep 19 07:05:55 2012 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Sep 19 07:05:55 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/graaff.git;a=commit;h=e02a97e8

Initial import. License still to be determined.

(Portage version: 2.1.11.9/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0x8883FA56A308A8D7!)

---
 media-sound/spotify/ChangeLog                |    9 ++
 media-sound/spotify/Manifest                 |   12 +++
 media-sound/spotify/metadata.xml             |    6 ++
 media-sound/spotify/spotify-0.8.4.103.ebuild |  116 ++++++++++++++++++++++++++
 4 files changed, 143 insertions(+), 0 deletions(-)

diff --git a/media-sound/spotify/ChangeLog b/media-sound/spotify/ChangeLog
new file mode 100644
index 0000000..9855528
--- /dev/null
+++ b/media-sound/spotify/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-sound/spotify
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*spotify-0.8.4.103 (19 Sep 2012)
+
+  19 Sep 2012; Hans de Graaff <graaff@gentoo.org> +spotify-0.8.4.103.ebuild:
+  Initial import based on ebuilds from other overlays.
+

diff --git a/media-sound/spotify/Manifest b/media-sound/spotify/Manifest
new file mode 100644
index 0000000..3a7e8b0
--- /dev/null
+++ b/media-sound/spotify/Manifest
@@ -0,0 +1,12 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST spotify-client_0.8.4.103.g9cb177b.260-1_amd64.deb 31702600 SHA256 d350defa4164aaf129985df7e3ca33fc3f88aad2fac1637e6a26cc1794f3b378 SHA512 0f07ff8e2844d3f2626fa02351474a76b0d7178dd94d4d857ff2a0b6d28f887980889e4bc57fab18ab2a0cb6d7771e90bb7a20c2427ab69e2195f5de47ae3622 WHIRLPOOL 7d8a24fdbd9a12e92443264bcb01f27a322028c2074b40cb26e8f0e06195175ae8f369da41cde5d8dbe741792ad3250dc408addf9ceee594f2782a45772817f7
+DIST spotify-client_0.8.4.103.g9cb177b.260-1_i386.deb 28110850 SHA256 61502995da6b126eb6801bf92a8463a7fdd37dc6be0e0aba3560bdadde3531c7 SHA512 b48c70267781dc4b6d5afeee8061a95266de59ae02d252b054cd3a63a8bdcb19a461e7c28095d3884f7e7ff1129778ab7549dda9b891dc107f54182e13725dc2 WHIRLPOOL 0c443030bad393721c964c36561b84eb1388248a47d0dcc2f14541f5a33de4364a2de081e69c8c379e3a4ef529209b76d1f2e14fdaef68631471b414e01ba239
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iF4EAREIAAYFAlBZbtMACgkQiIP6VqMIqNdg7AD9E7lvxCOLC3uF2iXm5VrFRc4t
+Wl5HgPeLXE4s+atmGsUA/0N6r4S+2vQOg+O1F6nlwxdhMUwD4hVULGEX23fCMtnX
+=RX/X
+-----END PGP SIGNATURE-----

diff --git a/media-sound/spotify/metadata.xml b/media-sound/spotify/metadata.xml
new file mode 100644
index 0000000..9bf681c
--- /dev/null
+++ b/media-sound/spotify/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version = '1.0' encoding = 'UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd></herd>
+<maintainer><email>graaff@gentoo.org</email></maintainer>
+</pkgmetadata>

diff --git a/media-sound/spotify/spotify-0.8.4.103.ebuild b/media-sound/spotify/spotify-0.8.4.103.ebuild
new file mode 100644
index 0000000..9a91cdf
--- /dev/null
+++ b/media-sound/spotify/spotify-0.8.4.103.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+DESCRIPTION="Spotify is a social music platform"
+HOMEPAGE="https://www.spotify.com/ch-de/download/previews/"
+MY_PV="${PV}.g9cb177b.260-1"
+MY_P="${PN}-client_${MY_PV}"
+SRC_BASE="http://repository.spotify.com/pool/non-free/${PN:0:1}/${PN}/"
+#SRC_BASE="http://download.spotify.com/preview/"
+SRC_URI="
+	x86?   ( ${SRC_BASE}${MY_P}_i386.deb )
+	amd64? ( ${SRC_BASE}${MY_P}_amd64.deb )
+	"
+LICENSE="Spotify"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="pulseaudio"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+		x11-libs/libX11
+		x11-libs/libSM
+		x11-libs/libICE
+		x11-libs/libXrender
+		x11-libs/libXrandr
+		x11-libs/libXinerama
+		x11-libs/libXext
+		x11-libs/libxcb
+		x11-libs/libXau
+		x11-libs/libXdmcp
+		x11-libs/qt-core:4
+		x11-libs/qt-gui:4
+		x11-libs/qt-webkit:4
+		x11-libs/qt-dbus:4
+		x11-libs/libXScrnSaver
+		media-libs/freetype
+		media-libs/fontconfig
+		media-libs/alsa-lib
+		dev-libs/openssl
+		dev-libs/glib:2
+		media-libs/libpng:1.2
+		dev-db/sqlite:3
+		sys-libs/zlib
+		app-arch/bzip2
+		sys-apps/dbus
+		sys-apps/util-linux
+		dev-libs/expat
+		>=dev-libs/nspr-4.9
+		gnome-base/gconf:2
+		x11-libs/gtk+:2
+		dev-libs/nss
+		dev-libs/glib:2
+		pulseaudio? ( >=media-sound/pulseaudio-0.9.21 )"
+
+RESTRICT="mirror strip"
+
+src_unpack() {
+	mkdir "${P}"
+	cd "${P}"
+	unpack ${A}
+	unpack ./data.tar.gz
+}
+
+src_prepare() {
+	# link against openssl-1.0.0 as it crashes with 0.9.8
+	sed -i \
+		-e 's/\(lib\(ssl\|crypto\).so\).0.9.8/\1.1.0.0/g' \
+		usr/share/spotify/spotify || die "sed failed"
+	# different NSPR / NSS library names for some reason
+	sed -i \
+		-e 's/\(lib\(nss3\|nssutil3\|smime3\).so\).1d/\1.12/g' \
+		-e 's/\(lib\(plc4\|nspr4\).so\).0d\(.\)/\1.9\3\3/g' \
+		usr/share/spotify/libcef.so || die "sed failed"
+}
+
+src_install() {
+	dodoc usr/share/doc/spotify-client/changelog.Debian.gz
+	dodoc usr/share/doc/spotify-client/copyright
+	insinto /usr/share/applications
+	doins usr/share/applications/*.desktop
+	insinto /usr/share/pixmaps
+	doins usr/share/pixmaps/*.png
+
+	# install in /opt/spotify
+	SPOTIFY_HOME=/opt/spotify
+	dodir ${SPOTIFY_HOME}
+	insinto ${SPOTIFY_HOME}
+	doins -r usr/share/spotify/*
+	fperms +x ${SPOTIFY_HOME}/spotify
+	dodir /usr/share
+	dosym ${SPOTIFY_HOME} /usr/share/spotify
+
+	dodir /usr/bin
+	cat <<-EOF >"${D}"/usr/bin/spotify
+		#! /bin/sh
+		LD_PRELOAD="\${LD_PRELOAD} /usr/share/spotify/libcef.so"
+		export LD_PRELOAD
+		exec ${SPOTIFY_HOME}/spotify "\$@"
+	EOF
+	fperms +x /usr/bin/spotify
+
+	# revdep-rebuild produces a false positive because of symbol versioning
+	dodir /etc/revdep-rebuild
+	cat <<-EOF >"${D}"/etc/revdep-rebuild/10${PN}
+		SEARCH_DIRS_MASK="${SPOTIFY_HOME}"
+	EOF
+}
+
+pkg_postinst() {
+	ewarn "If Spotify crashes after an upgrade its cache may be corrupt."
+	ewarn "To remove the cache:"
+	ewarn "rm -rf ~/.cache/spotify"
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/graaff:master commit in: media-sound/spotify/
@ 2012-11-14 15:20 Hans de Graaff
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff @ 2012-11-14 15:20 UTC (permalink / raw
  To: gentoo-commits

commit:     d133bdd7f4e3fc83bc3fd5303a9f82dee3cebecc
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Sun Nov 11 10:41:00 2012 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Nov 11 10:41:00 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/graaff.git;a=commit;h=d133bdd7

Remove now that there is a maintained version in the gentoo tree.

---
 media-sound/spotify/ChangeLog                |    9 --
 media-sound/spotify/Manifest                 |   12 ---
 media-sound/spotify/metadata.xml             |    6 --
 media-sound/spotify/spotify-0.8.4.103.ebuild |  116 --------------------------
 4 files changed, 0 insertions(+), 143 deletions(-)

diff --git a/media-sound/spotify/ChangeLog b/media-sound/spotify/ChangeLog
deleted file mode 100644
index 9855528..0000000
--- a/media-sound/spotify/ChangeLog
+++ /dev/null
@@ -1,9 +0,0 @@
-# ChangeLog for media-sound/spotify
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-*spotify-0.8.4.103 (19 Sep 2012)
-
-  19 Sep 2012; Hans de Graaff <graaff@gentoo.org> +spotify-0.8.4.103.ebuild:
-  Initial import based on ebuilds from other overlays.
-

diff --git a/media-sound/spotify/Manifest b/media-sound/spotify/Manifest
deleted file mode 100644
index 3a7e8b0..0000000
--- a/media-sound/spotify/Manifest
+++ /dev/null
@@ -1,12 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-DIST spotify-client_0.8.4.103.g9cb177b.260-1_amd64.deb 31702600 SHA256 d350defa4164aaf129985df7e3ca33fc3f88aad2fac1637e6a26cc1794f3b378 SHA512 0f07ff8e2844d3f2626fa02351474a76b0d7178dd94d4d857ff2a0b6d28f887980889e4bc57fab18ab2a0cb6d7771e90bb7a20c2427ab69e2195f5de47ae3622 WHIRLPOOL 7d8a24fdbd9a12e92443264bcb01f27a322028c2074b40cb26e8f0e06195175ae8f369da41cde5d8dbe741792ad3250dc408addf9ceee594f2782a45772817f7
-DIST spotify-client_0.8.4.103.g9cb177b.260-1_i386.deb 28110850 SHA256 61502995da6b126eb6801bf92a8463a7fdd37dc6be0e0aba3560bdadde3531c7 SHA512 b48c70267781dc4b6d5afeee8061a95266de59ae02d252b054cd3a63a8bdcb19a461e7c28095d3884f7e7ff1129778ab7549dda9b891dc107f54182e13725dc2 WHIRLPOOL 0c443030bad393721c964c36561b84eb1388248a47d0dcc2f14541f5a33de4364a2de081e69c8c379e3a4ef529209b76d1f2e14fdaef68631471b414e01ba239
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iF4EAREIAAYFAlBZbtMACgkQiIP6VqMIqNdg7AD9E7lvxCOLC3uF2iXm5VrFRc4t
-Wl5HgPeLXE4s+atmGsUA/0N6r4S+2vQOg+O1F6nlwxdhMUwD4hVULGEX23fCMtnX
-=RX/X
------END PGP SIGNATURE-----

diff --git a/media-sound/spotify/metadata.xml b/media-sound/spotify/metadata.xml
deleted file mode 100644
index 9bf681c..0000000
--- a/media-sound/spotify/metadata.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version = '1.0' encoding = 'UTF-8'?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd></herd>
-<maintainer><email>graaff@gentoo.org</email></maintainer>
-</pkgmetadata>

diff --git a/media-sound/spotify/spotify-0.8.4.103.ebuild b/media-sound/spotify/spotify-0.8.4.103.ebuild
deleted file mode 100644
index 9a91cdf..0000000
--- a/media-sound/spotify/spotify-0.8.4.103.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-DESCRIPTION="Spotify is a social music platform"
-HOMEPAGE="https://www.spotify.com/ch-de/download/previews/"
-MY_PV="${PV}.g9cb177b.260-1"
-MY_P="${PN}-client_${MY_PV}"
-SRC_BASE="http://repository.spotify.com/pool/non-free/${PN:0:1}/${PN}/"
-#SRC_BASE="http://download.spotify.com/preview/"
-SRC_URI="
-	x86?   ( ${SRC_BASE}${MY_P}_i386.deb )
-	amd64? ( ${SRC_BASE}${MY_P}_amd64.deb )
-	"
-LICENSE="Spotify"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="pulseaudio"
-
-DEPEND=""
-RDEPEND="${DEPEND}
-		x11-libs/libX11
-		x11-libs/libSM
-		x11-libs/libICE
-		x11-libs/libXrender
-		x11-libs/libXrandr
-		x11-libs/libXinerama
-		x11-libs/libXext
-		x11-libs/libxcb
-		x11-libs/libXau
-		x11-libs/libXdmcp
-		x11-libs/qt-core:4
-		x11-libs/qt-gui:4
-		x11-libs/qt-webkit:4
-		x11-libs/qt-dbus:4
-		x11-libs/libXScrnSaver
-		media-libs/freetype
-		media-libs/fontconfig
-		media-libs/alsa-lib
-		dev-libs/openssl
-		dev-libs/glib:2
-		media-libs/libpng:1.2
-		dev-db/sqlite:3
-		sys-libs/zlib
-		app-arch/bzip2
-		sys-apps/dbus
-		sys-apps/util-linux
-		dev-libs/expat
-		>=dev-libs/nspr-4.9
-		gnome-base/gconf:2
-		x11-libs/gtk+:2
-		dev-libs/nss
-		dev-libs/glib:2
-		pulseaudio? ( >=media-sound/pulseaudio-0.9.21 )"
-
-RESTRICT="mirror strip"
-
-src_unpack() {
-	mkdir "${P}"
-	cd "${P}"
-	unpack ${A}
-	unpack ./data.tar.gz
-}
-
-src_prepare() {
-	# link against openssl-1.0.0 as it crashes with 0.9.8
-	sed -i \
-		-e 's/\(lib\(ssl\|crypto\).so\).0.9.8/\1.1.0.0/g' \
-		usr/share/spotify/spotify || die "sed failed"
-	# different NSPR / NSS library names for some reason
-	sed -i \
-		-e 's/\(lib\(nss3\|nssutil3\|smime3\).so\).1d/\1.12/g' \
-		-e 's/\(lib\(plc4\|nspr4\).so\).0d\(.\)/\1.9\3\3/g' \
-		usr/share/spotify/libcef.so || die "sed failed"
-}
-
-src_install() {
-	dodoc usr/share/doc/spotify-client/changelog.Debian.gz
-	dodoc usr/share/doc/spotify-client/copyright
-	insinto /usr/share/applications
-	doins usr/share/applications/*.desktop
-	insinto /usr/share/pixmaps
-	doins usr/share/pixmaps/*.png
-
-	# install in /opt/spotify
-	SPOTIFY_HOME=/opt/spotify
-	dodir ${SPOTIFY_HOME}
-	insinto ${SPOTIFY_HOME}
-	doins -r usr/share/spotify/*
-	fperms +x ${SPOTIFY_HOME}/spotify
-	dodir /usr/share
-	dosym ${SPOTIFY_HOME} /usr/share/spotify
-
-	dodir /usr/bin
-	cat <<-EOF >"${D}"/usr/bin/spotify
-		#! /bin/sh
-		LD_PRELOAD="\${LD_PRELOAD} /usr/share/spotify/libcef.so"
-		export LD_PRELOAD
-		exec ${SPOTIFY_HOME}/spotify "\$@"
-	EOF
-	fperms +x /usr/bin/spotify
-
-	# revdep-rebuild produces a false positive because of symbol versioning
-	dodir /etc/revdep-rebuild
-	cat <<-EOF >"${D}"/etc/revdep-rebuild/10${PN}
-		SEARCH_DIRS_MASK="${SPOTIFY_HOME}"
-	EOF
-}
-
-pkg_postinst() {
-	ewarn "If Spotify crashes after an upgrade its cache may be corrupt."
-	ewarn "To remove the cache:"
-	ewarn "rm -rf ~/.cache/spotify"
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-14 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-19  7:06 [gentoo-commits] dev/graaff:master commit in: media-sound/spotify/ Hans de Graaff
  -- strict thread matches above, loose matches on Subject: below --
2012-11-14 15:20 Hans de Graaff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox