summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-12-22 13:47:03 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-12-22 13:47:03 +0000
commit022364d4cd83e9a721e9483663ab8d685e9a9f13 (patch)
treea77c284c2faef0fb811036cab4e6204f5de5a659 /media-sound/lastfmplayer
parentStable on ppc wrt bug 202458 (diff)
downloadhistorical-022364d4cd83e9a721e9483663ab8d685e9a9f13.tar.gz
historical-022364d4cd83e9a721e9483663ab8d685e9a9f13.tar.bz2
historical-022364d4cd83e9a721e9483663ab8d685e9a9f13.zip
version bump thanks to Geert Lamers <biert85@gmail.com> in bug 202861
Package-Manager: portage-2.1.4_rc11
Diffstat (limited to 'media-sound/lastfmplayer')
-rw-r--r--media-sound/lastfmplayer/ChangeLog8
-rw-r--r--media-sound/lastfmplayer/Manifest20
-rw-r--r--media-sound/lastfmplayer/files/digest-lastfmplayer-1.4.1.574863
-rw-r--r--media-sound/lastfmplayer/files/lastfmplayer-mad-asneeded.patch11
-rw-r--r--media-sound/lastfmplayer/lastfmplayer-1.4.1.57486.ebuild89
5 files changed, 126 insertions, 5 deletions
diff --git a/media-sound/lastfmplayer/ChangeLog b/media-sound/lastfmplayer/ChangeLog
index a78aa12597ab..d394aa26bff4 100644
--- a/media-sound/lastfmplayer/ChangeLog
+++ b/media-sound/lastfmplayer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/lastfmplayer
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.24 2007/11/16 08:42:10 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.25 2007/12/22 13:47:02 genstef Exp $
+
+*lastfmplayer-1.4.1.57486 (22 Dec 2007)
+
+ 22 Dec 2007; Stefan Schweizer <genstef@gentoo.org>
+ +files/lastfmplayer-mad-asneeded.patch, +lastfmplayer-1.4.1.57486.ebuild:
+ version bump thanks to Geert Lamers <biert85@gmail.com> in bug 202861
*lastfmplayer-1.3.2.13 (16 Nov 2007)
diff --git a/media-sound/lastfmplayer/Manifest b/media-sound/lastfmplayer/Manifest
index 97435e912303..ac7d7ca07e79 100644
--- a/media-sound/lastfmplayer/Manifest
+++ b/media-sound/lastfmplayer/Manifest
@@ -2,8 +2,13 @@ AUX lastfm.protocol 159 RMD160 863935a9ee6f66f5c901f39182278346117f80b3 SHA1 827
MD5 fb5e9996204c9704722582e18e15fb1a files/lastfm.protocol 159
RMD160 863935a9ee6f66f5c901f39182278346117f80b3 files/lastfm.protocol 159
SHA256 c0f82b00703ed8c307e448ae49f173e30801a06ea2eb7a82d21a6b3f75f25093 files/lastfm.protocol 159
+AUX lastfmplayer-mad-asneeded.patch 443 RMD160 8fe0db8ec176ad4a217a16b0770b2cd3eb002e7a SHA1 194ad97e005d55f9301dcf407e94d84bf4d3a26a SHA256 e113e3251563e91f920e0ec82347b8a5e162a04b39219800cc9e613a7ed92736
+MD5 fdcd86347ee3a3e0a8d9b6d6747fcacb files/lastfmplayer-mad-asneeded.patch 443
+RMD160 8fe0db8ec176ad4a217a16b0770b2cd3eb002e7a files/lastfmplayer-mad-asneeded.patch 443
+SHA256 e113e3251563e91f920e0ec82347b8a5e162a04b39219800cc9e613a7ed92736 files/lastfmplayer-mad-asneeded.patch 443
DIST last.fm-1.3.1.0.src.tar.bz2 1348815 RMD160 b7a2839d53b50f4815d59efbae3f6476cfb81493 SHA1 674b0187c355bbe85931e5a4e15971bf6931e0cc SHA256 e33f575112b58050beb4c82d008c90c11e99308b6f9429a354a1980bd854436c
DIST last.fm-1.3.2.13.src.tar.bz2 1615081 RMD160 7cfa97ac99c1f732ea802c5d5ad1cac0ef17f0db SHA1 0380e9e6caebbc5c6920fa3ad7fda2284bc0d042 SHA256 24178521bbe26e8d1b02a6ebc4a1934f863f4c315b4bd092a389391036b48638
+DIST last.fm-1.4.1.57486.src.tar.bz2 7300175 RMD160 358e2967773db790143ff5fd13485fc7e9351543 SHA1 6401909698890ccf93acc3b686a29dc629117bb7 SHA256 2e75d8526f50ae076d93768a378a2a7bb82714159704701cc754a52c71628760
EBUILD lastfmplayer-1.3.1.0.ebuild 2207 RMD160 90a64fd9ddfa9a52b7252f1509b251f9c3d0bf82 SHA1 f843d1a9022a29824ca4a6f94afce036c18d3e87 SHA256 e29f0c81255fe41587a02cc434ea3f53725025d878e08a1f41827349b484fc9c
MD5 738573a67b2e41e851ce0a971978c140 lastfmplayer-1.3.1.0.ebuild 2207
RMD160 90a64fd9ddfa9a52b7252f1509b251f9c3d0bf82 lastfmplayer-1.3.1.0.ebuild 2207
@@ -12,10 +17,14 @@ EBUILD lastfmplayer-1.3.2.13.ebuild 2209 RMD160 0bc502062bb9289a78adefa0b614716f
MD5 492541ab646bc14b7ea0cc913ccae273 lastfmplayer-1.3.2.13.ebuild 2209
RMD160 0bc502062bb9289a78adefa0b614716f770a2839 lastfmplayer-1.3.2.13.ebuild 2209
SHA256 ac975f2f26e272dd73fa17b6a404ecdecfd30e5be832bc1a4ea89aab8de0146e lastfmplayer-1.3.2.13.ebuild 2209
-MISC ChangeLog 5322 RMD160 985a4da29b84f2193df20656e3e5e57b046deee2 SHA1 2360bfb5a1a594a07ba246e3797c93a08447c4fa SHA256 80d326d87d22cf044b2b602a95f2d63d4fa3bc8ee02759114a86b4c8e75b020a
-MD5 6b5d03aa7f60c5bfa2892634c1240895 ChangeLog 5322
-RMD160 985a4da29b84f2193df20656e3e5e57b046deee2 ChangeLog 5322
-SHA256 80d326d87d22cf044b2b602a95f2d63d4fa3bc8ee02759114a86b4c8e75b020a ChangeLog 5322
+EBUILD lastfmplayer-1.4.1.57486.ebuild 2407 RMD160 92e3e433c7cc8b5534a2946198f2a290a8e4b6b0 SHA1 fe54d25ef98f523e3a216696d59b4826d92d6dbc SHA256 121de952ed887fd0f9b2b47e657f0d6e1a0f94ca6115a7ee145db76960363f10
+MD5 e66727e0c02f243ac0d2d2b43750710e lastfmplayer-1.4.1.57486.ebuild 2407
+RMD160 92e3e433c7cc8b5534a2946198f2a290a8e4b6b0 lastfmplayer-1.4.1.57486.ebuild 2407
+SHA256 121de952ed887fd0f9b2b47e657f0d6e1a0f94ca6115a7ee145db76960363f10 lastfmplayer-1.4.1.57486.ebuild 2407
+MISC ChangeLog 5565 RMD160 0a350847d8c5759d9e8517fa5288dba2ab12e03a SHA1 9c12aca277b75029be292e295452dd557fc43778 SHA256 6d0acd640af19f7f7341d9e8e39e01369994e4473680ff1db8a9a6eb53ba74d8
+MD5 ea595041f84b2ceb9ff40438975c83b8 ChangeLog 5565
+RMD160 0a350847d8c5759d9e8517fa5288dba2ab12e03a ChangeLog 5565
+SHA256 6d0acd640af19f7f7341d9e8e39e01369994e4473680ff1db8a9a6eb53ba74d8 ChangeLog 5565
MISC metadata.xml 251 RMD160 d7ccc9e1d41d94cb971d83931a8ece9a684f6fc6 SHA1 1a65ae8b81af34d32b85ed8a18e1df5caef40ff3 SHA256 c87b81ca4913491f67f603b92fa806fb2af4f29d1fec96891731d2ac7490cb2b
MD5 99b44433affea389a5ec121d625af495 metadata.xml 251
RMD160 d7ccc9e1d41d94cb971d83931a8ece9a684f6fc6 metadata.xml 251
@@ -26,3 +35,6 @@ SHA256 173460e110ac3dd62c6cdc35df3fd937df4a0b88793ad33da67258e37bfd3e3c files/di
MD5 71080ab4aeefcb34a1ad502321546cb3 files/digest-lastfmplayer-1.3.2.13 268
RMD160 bd3ea9c5f7c83ffb861ee1c0293a73dd8af24f21 files/digest-lastfmplayer-1.3.2.13 268
SHA256 04e430c455b5c0dc3173d0b47ca7c51afef0fd92834868c125987012b425b474 files/digest-lastfmplayer-1.3.2.13 268
+MD5 bf9b9686a7e0f5ad66f376ec9bce2629 files/digest-lastfmplayer-1.4.1.57486 277
+RMD160 4daaa45f11216bebeac27409149f9fa830dcb70b files/digest-lastfmplayer-1.4.1.57486 277
+SHA256 266143228b6497b6c9fbefd4399d015e3fd03f83c49b3e32bce8e9e234f6bb39 files/digest-lastfmplayer-1.4.1.57486 277
diff --git a/media-sound/lastfmplayer/files/digest-lastfmplayer-1.4.1.57486 b/media-sound/lastfmplayer/files/digest-lastfmplayer-1.4.1.57486
new file mode 100644
index 000000000000..ee12c43b38ca
--- /dev/null
+++ b/media-sound/lastfmplayer/files/digest-lastfmplayer-1.4.1.57486
@@ -0,0 +1,3 @@
+MD5 a400524adb4dfac28495669d8ff17379 last.fm-1.4.1.57486.src.tar.bz2 7300175
+RMD160 358e2967773db790143ff5fd13485fc7e9351543 last.fm-1.4.1.57486.src.tar.bz2 7300175
+SHA256 2e75d8526f50ae076d93768a378a2a7bb82714159704701cc754a52c71628760 last.fm-1.4.1.57486.src.tar.bz2 7300175
diff --git a/media-sound/lastfmplayer/files/lastfmplayer-mad-asneeded.patch b/media-sound/lastfmplayer/files/lastfmplayer-mad-asneeded.patch
new file mode 100644
index 000000000000..b55548ec8433
--- /dev/null
+++ b/media-sound/lastfmplayer/files/lastfmplayer-mad-asneeded.patch
@@ -0,0 +1,11 @@
+--- last.fm-1.4.1.57486/src/libFingerprint/libFingerprint.pro.orig 2007-12-22 13:08:59.000000000 +0100
++++ last.fm-1.4.1.57486/src/libFingerprint/libFingerprint.pro 2007-12-22 13:09:23.000000000 +0100
+@@ -40,7 +40,7 @@
+
+ unix:!mac {
+ LIBPATH += $$BUILD_DIR/../fplib
+- LIBS += $$ROOT_DIR/build/fplib/libfplib$${EXT}.a -lsamplerate -lfftw3f
++ LIBS += $$ROOT_DIR/build/fplib/libfplib$${EXT}.a -lsamplerate -lfftw3f -lmad
+ }
+
+ win32 {
diff --git a/media-sound/lastfmplayer/lastfmplayer-1.4.1.57486.ebuild b/media-sound/lastfmplayer/lastfmplayer-1.4.1.57486.ebuild
new file mode 100644
index 000000000000..796c51d67fdb
--- /dev/null
+++ b/media-sound/lastfmplayer/lastfmplayer-1.4.1.57486.ebuild
@@ -0,0 +1,89 @@
+# 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.4.1.57486.ebuild,v 1.1 2007/12/22 13:47:02 genstef Exp $
+
+inherit eutils qt4
+
+MY_P="${P/lastfmplayer/last.fm}"
+
+DESCRIPTION="The player allows you to listen to last.fm radio streams"
+HOMEPAGE="http://www.last.fm/help/player"
+SRC_URI="http://cdn.last.fm/client/src/${MY_P}.src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND="$(qt4_min_version 4.2)
+ media-libs/libsamplerate
+ sci-libs/fftw
+ media-libs/libmad
+ media-libs/libgpod
+ media-libs/alsa-lib"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/lastfmplayer-mad-asneeded.patch
+}
+
+src_compile() {
+# eqmake4 LastFM.pro
+# for subdir in src src/httpinput src/mp3transcode \
+# src/output/alsa-playback src/output/portAudio ; do
+# eqmake4 "${subdir}/${subdir##*/}.pro" -o ${subdir}/Makefile
+# done
+ ./configure
+ emake || die "emake failed"
+}
+
+src_install() {
+ # Docs
+ dodoc ChangeLog README
+
+ # The root at which the player, data, and cache
+ # are to be installed
+ local destination="/usr/share/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
+
+ # make sure no hanging instance of lastfm is running
+ sed -i -e 's:exec:if ! ps aux | grep "^$USER.*last.fm.app" | grep Sl >/dev/null 2>\&1; \
+ then killall -u $USER last.fm.app >/dev/null 2>\&1; fi\nexec:' \
+ "${D}"/usr/bin/lastfm
+
+ insinto /usr/share/services
+ doins "${FILESDIR}"/lastfm.protocol
+}
+
+pkg_postinst() {
+ elog "To use the Last.fm player with a mozilla based browser:"
+ elog " 1. Go to about:config in the browser"
+ elog " 2. Right-click on the page"
+ elog " 3. Select New and then String"
+ elog " 4. For the name: network.protocol-handler.app.lastfm"
+ elog " 5. For the value: /usr/bin/lastfm"
+ elog
+ elog "If you experience awkward fonts or widgets, try running qtconfig."
+}