summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2008-04-02 22:30:52 +0000
committerStefan Schweizer <genstef@gentoo.org>2008-04-02 22:30:52 +0000
commit4d5c65d267f234b8932f5886dbe3f5251c6dec21 (patch)
treea7f4fb634a97c8e1ab087ce982e505efc8f30d20 /media-sound
parentUSE mask mythtv on gst-plugins-meta - dependency not keyworded (diff)
downloadhistorical-4d5c65d267f234b8932f5886dbe3f5251c6dec21.tar.gz
historical-4d5c65d267f234b8932f5886dbe3f5251c6dec21.tar.bz2
historical-4d5c65d267f234b8932f5886dbe3f5251c6dec21.zip
Use debian package to reduce download size dramatically and also install i18n, bug 215635
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/lastfmplayer/ChangeLog9
-rw-r--r--media-sound/lastfmplayer/Manifest5
-rw-r--r--media-sound/lastfmplayer/lastfmplayer-1.4.2.58240-r1.ebuild82
3 files changed, 94 insertions, 2 deletions
diff --git a/media-sound/lastfmplayer/ChangeLog b/media-sound/lastfmplayer/ChangeLog
index 5ec284a19064..e42dc038a291 100644
--- a/media-sound/lastfmplayer/ChangeLog
+++ b/media-sound/lastfmplayer/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/lastfmplayer
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.28 2008/03/11 20:05:55 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.29 2008/04/02 22:30:52 genstef Exp $
+
+*lastfmplayer-1.4.2.58240-r1 (02 Apr 2008)
+
+ 02 Apr 2008; Stefan Schweizer <genstef@gentoo.org>
+ +lastfmplayer-1.4.2.58240-r1.ebuild:
+ Use debian package to reduce download size dramatically and also install
+ i18n, bug 215635
11 Mar 2008; Stefan Schweizer <genstef@gentoo.org>
lastfmplayer-1.4.2.58240.ebuild:
diff --git a/media-sound/lastfmplayer/Manifest b/media-sound/lastfmplayer/Manifest
index e208bad7f808..0036b200dffc 100644
--- a/media-sound/lastfmplayer/Manifest
+++ b/media-sound/lastfmplayer/Manifest
@@ -1,6 +1,9 @@
AUX lastfm.protocol 159 RMD160 863935a9ee6f66f5c901f39182278346117f80b3 SHA1 827723dfcc15714fa676671ec6656d352419208a SHA256 c0f82b00703ed8c307e448ae49f173e30801a06ea2eb7a82d21a6b3f75f25093
AUX lastfmplayer-mad-asneeded.patch 443 RMD160 8fe0db8ec176ad4a217a16b0770b2cd3eb002e7a SHA1 194ad97e005d55f9301dcf407e94d84bf4d3a26a SHA256 e113e3251563e91f920e0ec82347b8a5e162a04b39219800cc9e613a7ed92736
DIST last.fm-1.4.2.58240.src.tar.bz2 7302117 RMD160 dd8adf91514786fd31ee8e8f4e87f92c89eb7cf9 SHA1 b71267b978b1d44c1a877e45855d24fcdf3137a9 SHA256 6e66f3408021b3ea512224451599e81bd0fb9ede464575d9acae2cc16d5b6429
+DIST lastfm_1.4.2.58240.dfsg-1.diff.gz 86651 RMD160 6208140b51234797f314c481c44cdfd43b7499a8 SHA1 360549b3b7126f408a98be52c37421b3ef357dcd SHA256 49d2ac81e20b61ef6d72a746acec0fa973ee5e185f86985ea41fc95ee9083b3c
+DIST lastfm_1.4.2.58240.dfsg.orig.tar.gz 1420805 RMD160 942572d21ff8c4b987c38a7919539af136b0b62a SHA1 7086ace7036d6e53b33e82d35287eb548790a348 SHA256 0e623ac3ec9a57940c7535133c1fcfdd88bb80e488a903ea033ac1b093144ab1
+EBUILD lastfmplayer-1.4.2.58240-r1.ebuild 2258 RMD160 34e3a8af132551b1161bc101db189465fd71b1ac SHA1 bf990be305e5e614010c8124a56be246fb9f614b SHA256 a1fbac2e20dc3db7d9d94cd8efc397d2187413ebd617442e5caf0f0bae63b9da
EBUILD lastfmplayer-1.4.2.58240.ebuild 2411 RMD160 c4f4e5b988146ecdd142f9c7b4cf04cdf8d78b53 SHA1 9aa958cff58d3c6181ac047f8fdd1123c5f80eb6 SHA256 efca562d5da4bf41cf26df86921099cadd6bec2b8fcace5d92736f5e12629915
-MISC ChangeLog 6161 RMD160 efd85d7b8360068ec68ac34b1c8cf48ec1d4c76e SHA1 9644e64f6ea5cbf9da9734431e004288917dcd4f SHA256 8f108df1209d590b43f96631215de7befb212cdb4102f896816361af40d6deec
+MISC ChangeLog 6392 RMD160 7a9d981a2d5408f27d8b775306b17d1238b5fb55 SHA1 93e7b809640e75a7372a6276047ddceb0f95c8c7 SHA256 aa439f7376e91270f9434822b67bcfe2d2fe5dfcb9fbd04444377ab2ccb57356
MISC metadata.xml 251 RMD160 d7ccc9e1d41d94cb971d83931a8ece9a684f6fc6 SHA1 1a65ae8b81af34d32b85ed8a18e1df5caef40ff3 SHA256 c87b81ca4913491f67f603b92fa806fb2af4f29d1fec96891731d2ac7490cb2b
diff --git a/media-sound/lastfmplayer/lastfmplayer-1.4.2.58240-r1.ebuild b/media-sound/lastfmplayer/lastfmplayer-1.4.2.58240-r1.ebuild
new file mode 100644
index 000000000000..b637878a73b3
--- /dev/null
+++ b/media-sound/lastfmplayer/lastfmplayer-1.4.2.58240-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.4.2.58240-r1.ebuild,v 1.1 2008/04/02 22:30:52 genstef Exp $
+
+inherit eutils qt4
+
+MY_P="${P/lastfmplayer/lastfm}.dfsg"
+
+DESCRIPTION="The player allows you to listen to last.fm radio streams"
+HOMEPAGE="http://www.last.fm/help/player"
+SRC_URI="mirror://debian/pool/main/l/lastfm/lastfm_${PV}.dfsg.orig.tar.gz
+ mirror://debian/pool/main/l/lastfm/lastfm_${PV}.dfsg-1.diff.gz"
+#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-0.5.2
+ media-libs/alsa-lib"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ epatch lastfm_${PV}.dfsg-1.diff
+ cd "${S}"
+ for i in $(< debian/patches/series); do
+ epatch debian/patches/$i
+ done
+}
+
+src_compile() {
+ ./configure
+ emake || die "emake failed"
+ cd i18n; lrelease *.ts
+}
+
+src_install() {
+ # Docs
+ dodoc ChangeLog README debian/README.Debian-source
+
+ # make directories
+ for i in $(<debian/lastfm.install); do [ ${i:0:1} == / ] && dodir $i; done
+ # debian installation
+ sed -i -e "s:^:cp :" -e 's: /:${D}/:' debian/lastfm.install
+ bash debian/lastfm.install
+
+ # Copied from debian/rules
+ uudecode -o - debian/icons.tar.gz.uu | tar -xzf -
+ uudecode -o - debian/trayicons22.tar.gz.uu | tar -xzf -
+ insinto /usr/share
+ doins icons
+ insinto /usr/share/lastfm/icons
+ doins user_*.png
+ mv ${D}/usr/bin/last{.,}fm
+ rm -f ${D}/usr/share/lastfm/icons/{*profile24,systray_mac}.png
+ doman debian/lastfm.1
+
+ # make icon work
+ rm ${D}/usr/share/pixmaps/lastfm{16,32}.xpm
+ cd ${D}/usr/share/pixmaps
+ ln -s /usr/share/lastfm/icons/as.png lastfm.png
+}
+
+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."
+}