1 |
hwoarang 10/08/26 21:25:24 |
2 |
|
3 |
Modified: ChangeLog lastfmplayer-1.5.4.26862-r1.ebuild |
4 |
Added: lastfmplayer-1.5.4.26862-r2.ebuild |
5 |
Log: |
6 |
Drop RESTRICT=mirror from ebuilds. Put files on our mirrors. Revbump to apply latest debian patchset. Bug #334695 |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.48 media-sound/lastfmplayer/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lastfmplayer/ChangeLog?rev=1.48&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lastfmplayer/ChangeLog?rev=1.48&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lastfmplayer/ChangeLog?r1=1.47&r2=1.48 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v |
19 |
retrieving revision 1.47 |
20 |
retrieving revision 1.48 |
21 |
diff -u -r1.47 -r1.48 |
22 |
--- ChangeLog 14 Jul 2010 23:50:51 -0000 1.47 |
23 |
+++ ChangeLog 26 Aug 2010 21:25:24 -0000 1.48 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for media-sound/lastfmplayer |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.47 2010/07/14 23:50:51 hwoarang Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.48 2010/08/26 21:25:24 hwoarang Exp $ |
29 |
+ |
30 |
+*lastfmplayer-1.5.4.26862-r2 (26 Aug 2010) |
31 |
+ |
32 |
+ 26 Aug 2010; Markos Chandras <hwoarang@g.o> |
33 |
+ lastfmplayer-1.5.4.26862-r1.ebuild, +lastfmplayer-1.5.4.26862-r2.ebuild: |
34 |
+ Drop RESTRICT=mirror from ebuilds. Put files on our mirrors. Revbump to |
35 |
+ apply latest debian patchset. Bug #334695 |
36 |
|
37 |
14 Jul 2010; Markos Chandras <hwoarang@g.o> |
38 |
-lastfmplayer-1.5.1.31879-r3.ebuild, -lastfmplayer-1.5.4.26862.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.5 media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r1.ebuild?rev=1.5&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r1.ebuild?rev=1.5&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r1.ebuild?r1=1.4&r2=1.5 |
47 |
|
48 |
Index: lastfmplayer-1.5.4.26862-r1.ebuild |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r1.ebuild,v |
51 |
retrieving revision 1.4 |
52 |
retrieving revision 1.5 |
53 |
diff -u -r1.4 -r1.5 |
54 |
--- lastfmplayer-1.5.4.26862-r1.ebuild 14 Jul 2010 13:28:26 -0000 1.4 |
55 |
+++ lastfmplayer-1.5.4.26862-r1.ebuild 26 Aug 2010 21:25:24 -0000 1.5 |
56 |
@@ -1,6 +1,6 @@ |
57 |
# Copyright 1999-2010 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r1.ebuild,v 1.4 2010/07/14 13:28:26 fauli Exp $ |
60 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r1.ebuild,v 1.5 2010/08/26 21:25:24 hwoarang Exp $ |
61 |
|
62 |
EAPI=2 |
63 |
inherit eutils multilib toolchain-funcs qt4-r2 |
64 |
@@ -9,14 +9,13 @@ |
65 |
|
66 |
DESCRIPTION="A player for last.fm radio streams" |
67 |
HOMEPAGE="http://www.last.fm/help/player" |
68 |
-SRC_URI="mirror://debian/pool/main/l/lastfm/lastfm_${PV}+dfsg.orig.tar.gz |
69 |
- mirror://debian/pool/main/l/lastfm/lastfm_${PV}+dfsg-3.debian.tar.gz" |
70 |
+SRC_URI="mirror://gentoo/lastfm_${PV}+dfsg.orig.tar.gz |
71 |
+ mirror://gentoo/lastfm/lastfm_${PV}+dfsg-3.debian.tar.gz" |
72 |
|
73 |
LICENSE="GPL-2" |
74 |
SLOT="0" |
75 |
KEYWORDS="amd64 ppc x86" |
76 |
IUSE="ipod" |
77 |
-RESTRICT="mirror" |
78 |
|
79 |
RDEPEND="x11-libs/qt-gui:4 |
80 |
x11-libs/qt-sql:4 |
81 |
|
82 |
|
83 |
|
84 |
1.1 media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r2.ebuild |
85 |
|
86 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r2.ebuild?rev=1.1&view=markup |
87 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r2.ebuild?rev=1.1&content-type=text/plain |
88 |
|
89 |
Index: lastfmplayer-1.5.4.26862-r2.ebuild |
90 |
=================================================================== |
91 |
# Copyright 1999-2010 Gentoo Foundation |
92 |
# Distributed under the terms of the GNU General Public License v2 |
93 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r2.ebuild,v 1.1 2010/08/26 21:25:24 hwoarang Exp $ |
94 |
|
95 |
EAPI=2 |
96 |
inherit eutils multilib toolchain-funcs qt4-r2 |
97 |
|
98 |
MY_P="${P/lastfmplayer/lastfm}+dfsg" |
99 |
|
100 |
DESCRIPTION="A player for last.fm radio streams" |
101 |
HOMEPAGE="http://www.last.fm/help/player" |
102 |
SRC_URI="mirror://gentoo/lastfm_${PV}+dfsg.orig.tar.gz |
103 |
mirror://gentoo/lastfm/lastfm_${PV}+dfsg-4.debian.tar.gz" |
104 |
|
105 |
LICENSE="GPL-2" |
106 |
SLOT="0" |
107 |
KEYWORDS="~amd64 ~ppc ~x86" |
108 |
IUSE="ipod" |
109 |
|
110 |
RDEPEND="x11-libs/qt-gui:4 |
111 |
x11-libs/qt-sql:4 |
112 |
media-libs/libsamplerate |
113 |
sci-libs/fftw |
114 |
media-libs/libmad |
115 |
ipod? ( >=media-libs/libgpod-0.5.2 ) |
116 |
media-libs/alsa-lib" |
117 |
DEPEND="${RDEPEND} |
118 |
app-arch/sharutils" |
119 |
|
120 |
S=${WORKDIR}/${MY_P} |
121 |
|
122 |
src_prepare() { |
123 |
qt4-r2_src_prepare |
124 |
epatch "${FILESDIR}"/fix_plugin_path.patch |
125 |
einfo "Applying Debian patchset" |
126 |
ebegin "Disabling tray-icon-size patch" |
127 |
sed -i "/^tray-icon-size.diff/d" "${WORKDIR}"/debian/patches/series |
128 |
eend $? |
129 |
cd "${S}" |
130 |
for i in $( < "${WORKDIR}"/debian/patches/series); do |
131 |
epatch "${WORKDIR}"/debian/patches/$i |
132 |
done |
133 |
if ! use ipod ; then |
134 |
sed -i '/src\/mediadevices\/ipod/d' LastFM.pro || die "sed failed" |
135 |
fi |
136 |
#don't install plugins into generic location |
137 |
sed -i "s:\$\$BIN_DIR/services:\$\$BIN_DIR/lastfm_services:" \ |
138 |
"${S}"/definitions.pro.inc |
139 |
#fix plugin search path |
140 |
sed -i "s:/usr/lib/services:/usr/$(get_libdir)/lastfm_services:" \ |
141 |
"${S}"/src/libMoose/MooseCommon.cpp |
142 |
} |
143 |
|
144 |
src_compile() { |
145 |
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "emake failed" |
146 |
cd i18n; lrelease *.ts |
147 |
} |
148 |
|
149 |
src_install() { |
150 |
cd "${WORKDIR}" |
151 |
# Docs |
152 |
dodoc "${S}"/ChangeLog "${S}"/README debian/README.source \ |
153 |
|| die "dodoc failed" |
154 |
doman debian/lastfm.1 || die "doman failed" |
155 |
|
156 |
# Copied from debian/rules |
157 |
insinto /usr/share |
158 |
doins -r debian/package-files/share/icons || die "failed to install icons" |
159 |
insinto /usr/share/lastfm/icons |
160 |
doins "${S}"/bin/data/icons/*.png \ |
161 |
|| die "failed to install application icons" |
162 |
insinto /usr/share/lastfm |
163 |
doins "${S}"/bin/data/*.png || die "failed to install icons" |
164 |
dodir /usr/$(get_libdir)/lastfm_services/ |
165 |
insinto /usr/$(get_libdir)/lastfm_services/ |
166 |
insopts -m0755 |
167 |
doins -r "${S}"/bin/lastfm_services/*.so || die "failed to install plugins" |
168 |
insinto /usr/$(get_libdir) |
169 |
insopts -m0755 |
170 |
doins "${S}"/bin/libLastFmTools.so.1* || die "failed to install library" |
171 |
doins "${S}"/bin/libMoose.so.1* || die "failed to install library" |
172 |
#fix symlinks |
173 |
cd "${D}"/usr/$(get_libdir)/ |
174 |
ln -sfn libLastFmTools.so.1.0.0 libLastFmTools.so.1 |
175 |
ln -sfn libLastFmTools.so.1.0.0 libLastFmTools.so.1.0 |
176 |
ln -sfn libMoose.so.1.0.0 libMoose.so.1 |
177 |
ln -sfn libMoose.so.1.0.0 libMoose.so.1.0 |
178 |
cd "${WORKDIR}" |
179 |
newbin "${S}"/bin/last.fm lastfm || die "newbin failed" |
180 |
insinto /usr/share/lastfm/i18n |
181 |
doins "${S}"/i18n/*.qm || die "failed to install translations" |
182 |
fperms 755 /usr/bin/lastfm |
183 |
rm -f "${D}"/usr/share/lastfm/icons/{*profile24,systray_mac}.png |
184 |
# create desktop entry |
185 |
doicon "${WORKDIR}"/debian/package-files/share/icons/hicolor/48x48/apps/lastfm.png |
186 |
make_desktop_entry lastfm "Last.fm Player" lastfm |
187 |
} |
188 |
|
189 |
pkg_postinst() { |
190 |
elog "To use the Last.fm player with a mozilla based browser:" |
191 |
elog " 1. Install gnome-bae/gconf" |
192 |
elog " 2. gconftool-2 -t string -s \ |
193 |
/desktop/gnome/url-handlers/lastfm/command \"/usr/bin/lastfm %s\"" |
194 |
elog " 3. gconftool-2 -s \ |
195 |
/desktop/gnome/url-handlers/lastfm/needs_terminal false -t bool" |
196 |
elog " 4. gconftool-2 -t bool -s \ |
197 |
/desktop/gnome/url-handlers/lastfm/enabled true" |
198 |
elog |
199 |
elog "If you experience awkward fonts or widgets, try running qtconfig." |
200 |
} |