summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-04-02 19:58:14 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-04-02 19:58:14 +0000
commit2f8a9e65639c8e61711d6051c3bf6929c323de55 (patch)
tree19e2c6d75108b83c3a8c6ae6e5db158f96f14cd8 /media-sound
parentversion bump, internal ebuild enhancements, solving bug #128167. (diff)
downloadhistorical-2f8a9e65639c8e61711d6051c3bf6929c323de55.tar.gz
historical-2f8a9e65639c8e61711d6051c3bf6929c323de55.tar.bz2
historical-2f8a9e65639c8e61711d6051c3bf6929c323de55.zip
New ebuild thanks to David Li <matrixhax0r@yahoo.com> in bug 102059
Package-Manager: portage-2.1_pre7-r2
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/lastfmplayer/ChangeLog10
-rw-r--r--media-sound/lastfmplayer/Manifest12
-rw-r--r--media-sound/lastfmplayer/files/digest-lastfmplayer-1.1.4_p20991
-rw-r--r--media-sound/lastfmplayer/lastfmplayer-1.1.4_p2099.ebuild76
-rw-r--r--media-sound/lastfmplayer/metadata.xml9
5 files changed, 108 insertions, 0 deletions
diff --git a/media-sound/lastfmplayer/ChangeLog b/media-sound/lastfmplayer/ChangeLog
new file mode 100644
index 000000000000..1a98f339342e
--- /dev/null
+++ b/media-sound/lastfmplayer/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-sound/lastfmplayer
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.1 2006/04/02 19:58:14 genstef Exp $
+
+*lastfmplayer-1.1.4_p2099 (02 Apr 2006)
+
+ 02 Apr 2006; Stefan Schweizer <genstef@gentoo.org> +metadata.xml,
+ +lastfmplayer-1.1.4_p2099.ebuild:
+ New ebuild thanks to David Li <matrixhax0r@yahoo.com> in bug 102059
+
diff --git a/media-sound/lastfmplayer/Manifest b/media-sound/lastfmplayer/Manifest
new file mode 100644
index 000000000000..52fe541967b4
--- /dev/null
+++ b/media-sound/lastfmplayer/Manifest
@@ -0,0 +1,12 @@
+MD5 01879abfdac0eab61dac68d1746cc283 ChangeLog 438
+RMD160 859ea60cc99b4d754ed3730d1b4ef3a7aeb8a8b2 ChangeLog 438
+SHA256 074781a1569e6b374a113882e083c4c2e02f2f083dde4c5b55998ed93a5f559f ChangeLog 438
+MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-lastfmplayer-1.1.4_p2099 1
+RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-lastfmplayer-1.1.4_p2099 1
+SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-lastfmplayer-1.1.4_p2099 1
+MD5 02d70508cbd5a060da93d151894bf972 lastfmplayer-1.1.4_p2099.ebuild 2338
+RMD160 0b51955cd96d9a3df21564f434efdb314a14403d lastfmplayer-1.1.4_p2099.ebuild 2338
+SHA256 ebe62de40775d9854aea000ea4987aca1bc7eef35fd20a7a6c1aa68b561cfd8b lastfmplayer-1.1.4_p2099.ebuild 2338
+MD5 99b44433affea389a5ec121d625af495 metadata.xml 251
+RMD160 d7ccc9e1d41d94cb971d83931a8ece9a684f6fc6 metadata.xml 251
+SHA256 c87b81ca4913491f67f603b92fa806fb2af4f29d1fec96891731d2ac7490cb2b metadata.xml 251
diff --git a/media-sound/lastfmplayer/files/digest-lastfmplayer-1.1.4_p2099 b/media-sound/lastfmplayer/files/digest-lastfmplayer-1.1.4_p2099
new file mode 100644
index 000000000000..8b137891791f
--- /dev/null
+++ b/media-sound/lastfmplayer/files/digest-lastfmplayer-1.1.4_p2099
@@ -0,0 +1 @@
+
diff --git a/media-sound/lastfmplayer/lastfmplayer-1.1.4_p2099.ebuild b/media-sound/lastfmplayer/lastfmplayer-1.1.4_p2099.ebuild
new file mode 100644
index 000000000000..fd88cf900f9c
--- /dev/null
+++ b/media-sound/lastfmplayer/lastfmplayer-1.1.4_p2099.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.1.4_p2099.ebuild,v 1.1 2006/04/02 19:58:14 genstef Exp $
+
+inherit eutils subversion
+
+DESCRIPTION="The Last.fm player allows you to listen to their internet radio which is tailored to your music profile"
+HOMEPAGE="http://lastfmplayer.sourceforge.net"
+SRC_URI=""
+ESVN_REPO_URI="svn://svn.audioscrobbler.net/player/trunk"
+ESVN_OPTIONS="--revision ${PV#*_p}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="oss"
+
+DEPEND="=x11-libs/qt-4*"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ if ! built_with_use qt gif ; then
+ eerror "It appears that qt was compiled with the \"gif\" USE flag disabled."
+ eerror
+ eerror "In order to use the Last.fm player, you need to enable this USE flag"
+ eerror "To do this, run the following in a command window:"
+ eerror "echo \"x11-libs/qt gif\" >> /etc/portage/package.use"
+ eerror "and recompile qt using \"emerge -avN1 qt\""
+
+ die "no gif support in qt"
+ fi
+}
+
+src_compile() {
+ # gcc-4.1 fix
+ sed -i "s/Player:://" src/player.h || die
+ qmake || die "qmake failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ # The root at which the player, data, and cache
+ # are to be installed
+ local destination="/opt/lastfm"
+
+ # Install the player
+ exeinto ${destination}
+ doexe player
+
+ insinto ${destination}
+ doins -r data
+
+ # Make a folder such that album art cache works
+ diropts -m0775 -g audio
+ dodir ${destination}/cache
+ keepdir ${destination}/cache
+
+ use oss || make_wrapper lastfm "aoss ./player" ${destination}
+ use oss && make_wrapper lastfm ./player ${destination}
+ newicon data/icon.png lastfm.png
+ make_desktop_entry lastfm "Last.fm Player" lastfm.png
+
+ dodoc ChangeLog README
+}
+
+pkg_postinst() {
+ einfo "In order to use the Last.fm player with your mozilla based browser,"
+ einfo "You must follow these steps:"
+ einfo " 1. Go to \"about:config\" using the location bar"
+ einfo " 2. Right-click on the page. Select \"New\" and then \"String\""
+ einfo " 3. Type in the name field: \"network.protocol-handler.app.lastfm\""
+ einfo " 4. Type in the value field: \"/usr/bin/lastfm\""
+ einfo
+ einfo "If you experiance awkward fonts or widgets, you may consider"
+ einfo "running \"qtconfig\" and change the settings"
+}
diff --git a/media-sound/lastfmplayer/metadata.xml b/media-sound/lastfmplayer/metadata.xml
new file mode 100644
index 000000000000..8f34ab70b2d7
--- /dev/null
+++ b/media-sound/lastfmplayer/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>genstef@gentoo.org</email>
+ <name>Stefan Schweizer</name>
+</maintainer>
+<herd>sound</herd>
+</pkgmetadata>