Gentoo Archives: gentoo-commits

From: "Christoph Junghans (ottxor)" <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/google-musicmanager: google-musicmanager-1.0.55.7425_beta-r2.ebuild ChangeLog google-musicmanager-1.0.55.7425_beta-r1.ebuild
Date: Tue, 26 Feb 2013 03:27:51
Message-Id: 20130226032746.E17F12171D@flycatcher.gentoo.org
1 ottxor 13/02/26 03:27:46
2
3 Modified: ChangeLog
4 Added: google-musicmanager-1.0.55.7425_beta-r2.ebuild
5 Removed: google-musicmanager-1.0.55.7425_beta-r1.ebuild
6 Log:
7 fixed icons (thx to floppym, bug #459086)
8
9 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key C2000586)
10
11 Revision Changes Path
12 1.26 media-sound/google-musicmanager/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/google-musicmanager/ChangeLog?rev=1.26&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/google-musicmanager/ChangeLog?rev=1.26&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/google-musicmanager/ChangeLog?r1=1.25&r2=1.26
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-sound/google-musicmanager/ChangeLog,v
21 retrieving revision 1.25
22 retrieving revision 1.26
23 diff -u -r1.25 -r1.26
24 --- ChangeLog 9 Feb 2013 21:51:12 -0000 1.25
25 +++ ChangeLog 26 Feb 2013 03:27:46 -0000 1.26
26 @@ -1,6 +1,13 @@
27 # ChangeLog for media-sound/google-musicmanager
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-sound/google-musicmanager/ChangeLog,v 1.25 2013/02/09 21:51:12 ottxor Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-sound/google-musicmanager/ChangeLog,v 1.26 2013/02/26 03:27:46 ottxor Exp $
31 +
32 +*google-musicmanager-1.0.55.7425_beta-r2 (26 Feb 2013)
33 +
34 + 26 Feb 2013; Christoph Junghans <ottxor@g.o>
35 + +google-musicmanager-1.0.55.7425_beta-r2.ebuild,
36 + -google-musicmanager-1.0.55.7425_beta-r1.ebuild:
37 + fixed icons (thx to floppym, bug #459086)
38
39 *google-musicmanager-1.0.55.7425_beta-r1 (09 Feb 2013)
40
41
42
43
44 1.1 media-sound/google-musicmanager/google-musicmanager-1.0.55.7425_beta-r2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/google-musicmanager/google-musicmanager-1.0.55.7425_beta-r2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/google-musicmanager/google-musicmanager-1.0.55.7425_beta-r2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: google-musicmanager-1.0.55.7425_beta-r2.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-sound/google-musicmanager/google-musicmanager-1.0.55.7425_beta-r2.ebuild,v 1.1 2013/02/26 03:27:46 ottxor Exp $
54
55 EAPI=5
56
57 inherit eutils unpacker
58
59 MY_URL="http://dl.google.com/linux/musicmanager/deb/pool/main/${P:0:1}/${PN}-beta"
60 MY_PKG="${PN}-beta_${PV/_beta}-r0_i386.deb"
61
62 DESCRIPTION="Google Music Manager is a application for adding music to your Google Music library."
63 HOMEPAGE="http://music.google.com"
64 SRC_URI="x86? ( ${MY_URL}/${MY_PKG} )
65 amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )"
66
67 LICENSE="Google-TOS Apache-2.0 MIT LGPL-2.1 gSOAP BSD FDL-1.2 MPL-1.1 openssl ZLIB libtiff"
68 SLOT="0"
69 KEYWORDS="-* ~amd64 ~x86"
70 IUSE="log"
71
72 RESTRICT="strip mirror"
73
74 RDEPEND="
75 dev-libs/expat
76 dev-libs/glib:2
77 media-libs/flac
78 media-libs/fontconfig
79 media-libs/freetype:2
80 media-libs/libogg
81 media-libs/libvorbis
82 net-dns/libidn
83 sys-libs/glibc
84 x11-libs/libX11
85 x11-libs/libXext
86 x11-libs/libXi
87 x11-libs/libXrandr
88 x11-libs/libXrender
89 x11-libs/qt-core:4
90 x11-libs/qt-gui:4
91 x11-libs/qt-webkit:4
92 log? ( dev-libs/log4cxx )
93 "
94
95 DEPEND="app-arch/xz-utils
96 app-admin/chrpath"
97
98 INSTALL_BASE="opt/google/musicmanager"
99
100 QA_TEXTRELS="${INSTALL_BASE}/libmpgdec.so.0"
101
102 QA_FLAGS_IGNORED="${INSTALL_BASE}/.*"
103
104 S="${WORKDIR}/${INSTALL_BASE}"
105
106 pkg_nofetch() {
107 einfo "This version is no longer available from Google."
108 einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump."
109 einfo "Please file a version bump bug on http://bugs.gentoo.org (search existing bugs for ${PN} first!)."
110 }
111
112 pkg_setup() {
113 if type -p ifconfig > /dev/null && ! ifconfig | grep -q "^eth[0-9]" ; then
114 ewarn "${PN} needs at least one network interface named eth[0-9] (bug #455896)"
115 fi
116 }
117
118 src_install() {
119 insinto "/${INSTALL_BASE}"
120 doins config.xml product_logo*
121
122 exeinto "/${INSTALL_BASE}"
123 chrpath -d MusicManager || die
124 doexe MusicManager google-musicmanager minidump_upload
125 #TODO unbundle this
126 doexe libaacdec.so libaudioenc.so.0 libmpgdec.so.0 libid3tag.so
127
128 dosym /"${INSTALL_BASE}"/google-musicmanager /opt/bin/google-musicmanager
129
130 local icon size
131 for icon in product_logo_*.png; do
132 size=${icon#product_logo_}
133 size=${size%.png}
134 newicon -s "${size}" "${icon}" ${PN}.png
135 done
136 domenu ${PN}.desktop
137 }