diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-04-02 19:58:14 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-04-02 19:58:14 +0000 |
commit | 3dc2a2b2c56c5fa8df423c78738570ef6c129609 (patch) | |
tree | d05e02a35bb07bea7b6f79087cf00b49cca00bf9 | |
parent | version bump, internal ebuild enhancements, solving bug #128167. (diff) | |
download | gentoo-2-3dc2a2b2c56c5fa8df423c78738570ef6c129609.tar.gz gentoo-2-3dc2a2b2c56c5fa8df423c78738570ef6c129609.tar.bz2 gentoo-2-3dc2a2b2c56c5fa8df423c78738570ef6c129609.zip |
New ebuild thanks to David Li <matrixhax0r@yahoo.com> in bug 102059
(Portage version: 2.1_pre7-r2)
-rw-r--r-- | media-sound/lastfmplayer/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/lastfmplayer/Manifest | 12 | ||||
-rw-r--r-- | media-sound/lastfmplayer/files/digest-lastfmplayer-1.1.4_p2099 | 1 | ||||
-rw-r--r-- | media-sound/lastfmplayer/lastfmplayer-1.1.4_p2099.ebuild | 76 | ||||
-rw-r--r-- | media-sound/lastfmplayer/metadata.xml | 9 |
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..7de1035c4c4d --- /dev/null +++ b/media-sound/lastfmplayer/Manifest @@ -0,0 +1,12 @@ +MD5 f8dfa59a544610e9d774f941dbf02d72 ChangeLog 341 +RMD160 ca8b34e5a4cb9ebd06f3d91d89bd6ce6a7306696 ChangeLog 341 +SHA256 75cd52c9f6fc8494016b9aadfd29805b339f9d88217618c316fdfacd7a7b030d ChangeLog 341 +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 4fe1c9c30d1a10d4ef166c79c90aa774 lastfmplayer-1.1.4_p2099.ebuild 2219 +RMD160 2bff4ca4201e0197bd79f17bd57f6e9f1853a22a lastfmplayer-1.1.4_p2099.ebuild 2219 +SHA256 880ae1b57d59eee75268fb569367a58e8f46841b24b289485af7820c2a19dced lastfmplayer-1.1.4_p2099.ebuild 2219 +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> |