# 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.10 2006/11/04 20:58:19 genstef Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.11 2007/02/11 11:17:36 genstef Exp $
+
+*lastfmplayer-1.1.3 (11 Feb 2007)
+
+ 11 Feb 2007; <genstef@gentoo.org> +lastfmplayer-1.1.3.ebuild:
+ version bump thanks to Jouni Rinne in bug 164044
04 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
lastfmplayer-1.0.0.1_p2113.ebuild:
MD5 98fd5b839973495daeabb4bd64331416 files/lastfmplayer-amd64.patch 1187
RMD160 5d965cbc1e670c0b1b0f121e78577cc9452f6ad6 files/lastfmplayer-amd64.patch 1187
SHA256 fb282c0067bf91a3d62b208a0ffe39da08cc307f84d5c3d6b6001b948bf6089a files/lastfmplayer-amd64.patch 1187
+DIST last.fm-1.1.3.src.tar.bz2 856755 RMD160 bfbddb23975dec3186251ebb3e1dcd4d0ad4ff9f SHA1 856e1fd0b85e689bd9553d35d9207633ce929748 SHA256 e05f9b1e177f6c4801295d33246e891690447c594b1138a292779dcef7d85cec
DIST lastfmplayer-1.0.0.1_p2113.tar.bz2 1115375 RMD160 d54d82591391508d56cda1b9249982d2711fa179 SHA1 771afa4d535426ecae9e2c6d083ddbddf964816f SHA256 48f4b91004588c1de5b6e691fbe0e7696ea0b7581c41899e9b52c3082132a20c
EBUILD lastfmplayer-1.0.0.1_p2113.ebuild 2909 RMD160 5d1b9f5ec1bfa5478340a4642c53bc2a0f03da0d SHA1 beed30ed48f0764b632abfbe729fbb31814053d8 SHA256 9cfb87a38978a6a7a0ec684be23f316292524dcaa330a068a1a00aac046aec88
MD5 35d2b802066475c80e71fdef3ac94cd3 lastfmplayer-1.0.0.1_p2113.ebuild 2909
RMD160 5d1b9f5ec1bfa5478340a4642c53bc2a0f03da0d lastfmplayer-1.0.0.1_p2113.ebuild 2909
SHA256 9cfb87a38978a6a7a0ec684be23f316292524dcaa330a068a1a00aac046aec88 lastfmplayer-1.0.0.1_p2113.ebuild 2909
-MISC ChangeLog 2424 RMD160 412d9142ea08a4f7c73a91c1351a06c8f1d19707 SHA1 9d4d0b3134f4d1b08aef2720c7f831d4ba3bda9a SHA256 fcaa6dd20b9ae9021ca46c0ebf2929924973652ab2df6173beed27db46352ff0
-MD5 fb9f4caca621c98996aeb049b2f7bfa3 ChangeLog 2424
-RMD160 412d9142ea08a4f7c73a91c1351a06c8f1d19707 ChangeLog 2424
-SHA256 fcaa6dd20b9ae9021ca46c0ebf2929924973652ab2df6173beed27db46352ff0 ChangeLog 2424
+EBUILD lastfmplayer-1.1.3.ebuild 1773 RMD160 905c4628d980facd83ff784e0dcd101c082aed57 SHA1 0fc15507f21f6a9939c8dfe5b8855afcfc3f7cfe SHA256 38602f4f76e331c9b3f48186806dbe03c6508ba435ff330b44e938492d4ff842
+MD5 a8e83b926eb17f5e29cf743b93ee4216 lastfmplayer-1.1.3.ebuild 1773
+RMD160 905c4628d980facd83ff784e0dcd101c082aed57 lastfmplayer-1.1.3.ebuild 1773
+SHA256 38602f4f76e331c9b3f48186806dbe03c6508ba435ff330b44e938492d4ff842 lastfmplayer-1.1.3.ebuild 1773
+MISC ChangeLog 2576 RMD160 02c44665ee07ccaa8651a560565ecbb3fdaad9c8 SHA1 77769d2bce20defef80a64d59d1c4c96098e75ee SHA256 6c0a80a9ad55cc90dffb90ba2c756b125321f497cb496abedd6cfeb057f735c8
+MD5 5af9227f657dddb2980eba0dc870a1d9 ChangeLog 2576
+RMD160 02c44665ee07ccaa8651a560565ecbb3fdaad9c8 ChangeLog 2576
+SHA256 6c0a80a9ad55cc90dffb90ba2c756b125321f497cb496abedd6cfeb057f735c8 ChangeLog 2576
MISC metadata.xml 251 RMD160 d7ccc9e1d41d94cb971d83931a8ece9a684f6fc6 SHA1 1a65ae8b81af34d32b85ed8a18e1df5caef40ff3 SHA256 c87b81ca4913491f67f603b92fa806fb2af4f29d1fec96891731d2ac7490cb2b
MD5 99b44433affea389a5ec121d625af495 metadata.xml 251
RMD160 d7ccc9e1d41d94cb971d83931a8ece9a684f6fc6 metadata.xml 251
MD5 fd123671a9e7c9d43238d7a160030201 files/digest-lastfmplayer-1.0.0.1_p2113 286
RMD160 f314831eaa27bc6b6b40b1a0cddcc48ba3a94a9b files/digest-lastfmplayer-1.0.0.1_p2113 286
SHA256 38616aa5a2814055010380fd603e5e190c8494d53fcf83ac9f0a314e37aed135 files/digest-lastfmplayer-1.0.0.1_p2113 286
+MD5 6657a20eaa2d2330819948b39f61b44e files/digest-lastfmplayer-1.1.3 256
+RMD160 eb29f6d2e05b76d63cf8ba7e0c56ce3e0fc013b5 files/digest-lastfmplayer-1.1.3 256
+SHA256 7cf053b4971e3bd4505ef93741f9a673cd565a6ee07e6f5cc68755526a60c2cd files/digest-lastfmplayer-1.1.3 256
--- /dev/null
+MD5 237531e1b30f75c4c0c07e7e39e9a250 last.fm-1.1.3.src.tar.bz2 856755
+RMD160 bfbddb23975dec3186251ebb3e1dcd4d0ad4ff9f last.fm-1.1.3.src.tar.bz2 856755
+SHA256 e05f9b1e177f6c4801295d33246e891690447c594b1138a292779dcef7d85cec last.fm-1.1.3.src.tar.bz2 856755
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.1.3.ebuild,v 1.1 2007/02/11 11:17:36 genstef Exp $
+
+inherit eutils versionator
+
+DESCRIPTION="The player allows you to listen to last.fm radio streams"
+HOMEPAGE="http://www.last.fm/help/player"
+MY_P="${P/lastfmplayer/last.fm}"
+SRC_URI="http://static.last.fm/client/Linux/${MY_P}.src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+RESTRICT="nomirror"
+S="${WORKDIR}/${MY_P}"
+
+DEPEND=">=x11-libs/qt-4.2
+ media-libs/alsa-lib"
+
+src_compile() {
+ ./configure
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ # Docs
+ dodoc ChangeLog README
+
+ # The root at which the player, data, and cache
+ # are to be installed
+ local destination="/opt/lastfm"
+ cd bin
+
+ # Make ${destination} writable by audio group
+ diropts -m0775 -g audio
+ dodir ${destination}
+
+ # Install the player
+ cp -R * ${D}/${destination}
+
+ # Make a folder such that album art cache works
+ diropts -m0775 -g audio
+ dodir ${destination}/cache
+ keepdir ${destination}/cache
+
+ # Icon, menu, protcol
+ make_wrapper lastfm ./last.fm ${destination} ${destination}
+ newicon data/icons/as.png lastfm.png
+ make_desktop_entry lastfm "Last.fm Player" lastfm.png
+
+ insinto /usr/share/services
+ doins ${FILESDIR}/lastfm.protocol
+}
+
+pkg_postinst() {
+ einfo "To use the Last.fm player with a mozilla based browser:"
+ einfo " 1. Go to about:config in the browser"
+ einfo " 2. Right-click on the page"
+ einfo " 3. Select New and then String"
+ einfo " 4. For the name: network.protocol-handler.app.lastfm"
+ einfo " 5. For the value: /usr/bin/lastfm"
+ einfo
+ einfo "If you experiance awkward fonts or widgets, try running qtconfig."
+}