Gentoo Archives: gentoo-commits

From: "Jim Ramsay (lack)" <lack@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/amazonmp3: ChangeLog amazonmp3-1.0.3-r1.ebuild amazonmp3-1.0.3.ebuild
Date: Mon, 29 Sep 2008 14:20:17
Message-Id: E1KkJbd-0000AA-PB@stork.gentoo.org
1 lack 08/09/29 14:20:09
2
3 Modified: ChangeLog
4 Added: amazonmp3-1.0.3-r1.ebuild
5 Removed: amazonmp3-1.0.3.ebuild
6 Log:
7 Fixed library issues on x86 and begun work on amd64 (Bug #237029)
8 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
9
10 Revision Changes Path
11 1.4 net-misc/amazonmp3/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/amazonmp3/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/amazonmp3/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/amazonmp3/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/amazonmp3/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 5 Sep 2008 15:03:33 -0000 1.3
24 +++ ChangeLog 29 Sep 2008 14:20:06 -0000 1.4
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-misc/amazonmp3
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/amazonmp3/ChangeLog,v 1.3 2008/09/05 15:03:33 lack Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/amazonmp3/ChangeLog,v 1.4 2008/09/29 14:20:06 lack Exp $
30 +
31 +*amazonmp3-1.0.3-r1 (29 Sep 2008)
32 +
33 + 29 Sep 2008; Jim Ramsay <lack@g.o> -amazonmp3-1.0.3.ebuild,
34 + +amazonmp3-1.0.3-r1.ebuild:
35 + Fixed library issues on x86 and begun work on amd64 (Bug #237029)
36
37 05 Sep 2008; Jim Ramsay <lack@g.o> amazonmp3-1.0.3.ebuild:
38 Incorporating a couple more excellent cleanup suggestions, thanks to
39
40
41
42 1.1 net-misc/amazonmp3/amazonmp3-1.0.3-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/amazonmp3/amazonmp3-1.0.3-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/amazonmp3/amazonmp3-1.0.3-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: amazonmp3-1.0.3-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/amazonmp3/amazonmp3-1.0.3-r1.ebuild,v 1.1 2008/09/29 14:20:06 lack Exp $
52
53 EAPI="1"
54
55 inherit rpm fdo-mime
56
57 DESCRIPTION="AmazonMp3 is a download manager which interfaces with the http://mp3.amazon.com music store"
58 HOMEPAGE="http://www.amazon.com/gp/dmusic/help/amd.html/"
59 SRC_URI="amazonmp3.rpm"
60 RESTRICT="fetch strip"
61
62 LICENSE="amazonmp3"
63 SLOT="0"
64 # AMD64 support requires more magic in amazonmp3-libcompat ebuild that isn't
65 # ready yet.
66 KEYWORDS="~x86 -amd64 -*"
67 IUSE=""
68
69 RDEPEND="=net-misc/amazonmp3-libcompat-0.1"
70 DEPEND=""
71
72 S="${WORKDIR}/usr/"
73
74 pkg_nofetch() {
75 einfo "Due to licensing restrictions, you must download this software from"
76 einfo "amazon.com manually:"
77 einfo " - Visit ${HOMEPAGE}"
78 einfo " - Agree to the Terms of Service, click the agreement box, and"
79 einfo " download the version for 'Fedora 8'. It will be called"
80 einfo " 'amazonmp3.rpm'"
81 einfo " - Copy 'amazonmp3.rpm' into ${DISTDIR}"
82 einfo " - Run 'ebuild amazonmp3' again."
83 einfo "If the version does not match or if you get any errors about the"
84 einfo "rpm you just downloaded, file a bug at http://bugs.gentoo.org, and"
85 einfo "be sure to include the output of 'file amazonmp3.rpm'"
86 }
87
88 src_install() {
89 dobin bin/amazonmp3 || die "dobin failed"
90
91 insinto "/usr/share"
92 doins -r share/{applications,pixmaps,mime,mime-info,mimelnk} || die "doins failed"
93
94 dodoc share/doc/amazonmp3/releasenotes
95 dohtml share/doc/amazonmp3/*.html
96 }
97
98 pkg_postinst() {
99 fdo-mime_desktop_database_update
100 fdo-mime_mime_database_update
101 }
102
103 pkg_postrm() {
104 fdo-mime_desktop_database_update
105 fdo-mime_mime_database_update
106 }