1 |
genstef 07/12/22 13:47:03 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lastfmplayer-1.4.1.57486.ebuild |
5 |
Log: |
6 |
version bump thanks to Geert Lamers <biert85@×××××.com> in bug 202861 |
7 |
(Portage version: 2.1.4_rc11) |
8 |
|
9 |
Revision Changes Path |
10 |
1.25 media-sound/lastfmplayer/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lastfmplayer/ChangeLog?rev=1.25&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lastfmplayer/ChangeLog?rev=1.25&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lastfmplayer/ChangeLog?r1=1.24&r2=1.25 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v |
19 |
retrieving revision 1.24 |
20 |
retrieving revision 1.25 |
21 |
diff -u -r1.24 -r1.25 |
22 |
--- ChangeLog 16 Nov 2007 08:42:10 -0000 1.24 |
23 |
+++ ChangeLog 22 Dec 2007 13:47:02 -0000 1.25 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for media-sound/lastfmplayer |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.24 2007/11/16 08:42:10 genstef Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.25 2007/12/22 13:47:02 genstef Exp $ |
29 |
+ |
30 |
+*lastfmplayer-1.4.1.57486 (22 Dec 2007) |
31 |
+ |
32 |
+ 22 Dec 2007; Stefan Schweizer <genstef@g.o> |
33 |
+ +files/lastfmplayer-mad-asneeded.patch, +lastfmplayer-1.4.1.57486.ebuild: |
34 |
+ version bump thanks to Geert Lamers <biert85@×××××.com> in bug 202861 |
35 |
|
36 |
*lastfmplayer-1.3.2.13 (16 Nov 2007) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 media-sound/lastfmplayer/lastfmplayer-1.4.1.57486.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.4.1.57486.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.4.1.57486.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: lastfmplayer-1.4.1.57486.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $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 $ |
51 |
|
52 |
inherit eutils qt4 |
53 |
|
54 |
MY_P="${P/lastfmplayer/last.fm}" |
55 |
|
56 |
DESCRIPTION="The player allows you to listen to last.fm radio streams" |
57 |
HOMEPAGE="http://www.last.fm/help/player" |
58 |
SRC_URI="http://cdn.last.fm/client/src/${MY_P}.src.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~x86 ~ppc ~amd64" |
63 |
IUSE="" |
64 |
RESTRICT="mirror" |
65 |
|
66 |
DEPEND="$(qt4_min_version 4.2) |
67 |
media-libs/libsamplerate |
68 |
sci-libs/fftw |
69 |
media-libs/libmad |
70 |
media-libs/libgpod |
71 |
media-libs/alsa-lib" |
72 |
RDEPEND="${DEPEND}" |
73 |
|
74 |
S="${WORKDIR}/${MY_P}" |
75 |
|
76 |
src_unpack() { |
77 |
unpack ${A} |
78 |
cd "${S}" |
79 |
epatch "${FILESDIR}"/lastfmplayer-mad-asneeded.patch |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
# eqmake4 LastFM.pro |
84 |
# for subdir in src src/httpinput src/mp3transcode \ |
85 |
# src/output/alsa-playback src/output/portAudio ; do |
86 |
# eqmake4 "${subdir}/${subdir##*/}.pro" -o ${subdir}/Makefile |
87 |
# done |
88 |
./configure |
89 |
emake || die "emake failed" |
90 |
} |
91 |
|
92 |
src_install() { |
93 |
# Docs |
94 |
dodoc ChangeLog README |
95 |
|
96 |
# The root at which the player, data, and cache |
97 |
# are to be installed |
98 |
local destination="/usr/share/lastfm" |
99 |
cd bin |
100 |
|
101 |
# Make ${destination} writable by audio group |
102 |
diropts -m0775 -g audio |
103 |
dodir ${destination} |
104 |
|
105 |
# Install the player |
106 |
cp -R * "${D}"/${destination} |
107 |
|
108 |
# Make a folder such that album art cache works |
109 |
diropts -m0775 -g audio |
110 |
dodir ${destination}/cache |
111 |
keepdir ${destination}/cache |
112 |
|
113 |
# Icon, menu, protcol |
114 |
make_wrapper lastfm ./last.fm ${destination} ${destination} |
115 |
newicon data/icons/as.png lastfm.png |
116 |
make_desktop_entry lastfm "Last.fm Player" lastfm.png |
117 |
|
118 |
# make sure no hanging instance of lastfm is running |
119 |
sed -i -e 's:exec:if ! ps aux | grep "^$USER.*last.fm.app" | grep Sl >/dev/null 2>\&1; \ |
120 |
then killall -u $USER last.fm.app >/dev/null 2>\&1; fi\nexec:' \ |
121 |
"${D}"/usr/bin/lastfm |
122 |
|
123 |
insinto /usr/share/services |
124 |
doins "${FILESDIR}"/lastfm.protocol |
125 |
} |
126 |
|
127 |
pkg_postinst() { |
128 |
elog "To use the Last.fm player with a mozilla based browser:" |
129 |
elog " 1. Go to about:config in the browser" |
130 |
elog " 2. Right-click on the page" |
131 |
elog " 3. Select New and then String" |
132 |
elog " 4. For the name: network.protocol-handler.app.lastfm" |
133 |
elog " 5. For the value: /usr/bin/lastfm" |
134 |
elog |
135 |
elog "If you experience awkward fonts or widgets, try running qtconfig." |
136 |
} |
137 |
|
138 |
|
139 |
|
140 |
-- |
141 |
gentoo-commits@g.o mailing list |