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-r2.ebuild amazonmp3-1.0.3-r1.ebuild
Date: Mon, 29 Sep 2008 16:34:50
Message-Id: E1KkLhu-0001GI-AA@stork.gentoo.org
1 lack 08/09/29 16:34:46
2
3 Modified: ChangeLog
4 Added: amazonmp3-1.0.3-r2.ebuild
5 Removed: amazonmp3-1.0.3-r1.ebuild
6 Log:
7 Forcing boost version to 1.34, on advice of boost maintainers.
8 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
9
10 Revision Changes Path
11 1.5 net-misc/amazonmp3/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/amazonmp3/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/amazonmp3/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/amazonmp3/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/amazonmp3/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 29 Sep 2008 14:20:06 -0000 1.4
24 +++ ChangeLog 29 Sep 2008 16:34:45 -0000 1.5
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.4 2008/09/29 14:20:06 lack Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/amazonmp3/ChangeLog,v 1.5 2008/09/29 16:34:45 lack Exp $
30 +
31 +*amazonmp3-1.0.3-r2 (29 Sep 2008)
32 +
33 + 29 Sep 2008; Jim Ramsay <lack@g.o> -amazonmp3-1.0.3-r1.ebuild,
34 + +amazonmp3-1.0.3-r2.ebuild:
35 + Forcing boost version to 1.34, on advice of boost maintainers.
36
37 *amazonmp3-1.0.3-r1 (29 Sep 2008)
38
39
40
41
42 1.1 net-misc/amazonmp3/amazonmp3-1.0.3-r2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/amazonmp3/amazonmp3-1.0.3-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/amazonmp3/amazonmp3-1.0.3-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: amazonmp3-1.0.3-r2.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-r2.ebuild,v 1.1 2008/09/29 16:34:45 lack Exp $
52
53 EAPI=2
54
55 inherit rpm fdo-mime multilib
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 KEYWORDS="~x86 -*"
65 IUSE=""
66
67 RDEPEND="dev-cpp/gtkmm:2.4[accessibility]
68 net-misc/curl
69 dev-libs/openssl
70 =dev-libs/boost-1.34*"
71 DEPEND=""
72
73 S="${WORKDIR}/usr/"
74
75 pkg_nofetch() {
76 einfo "Due to licensing restrictions, you must download this software from"
77 einfo "amazon.com manually:"
78 einfo " - Visit ${HOMEPAGE}"
79 einfo " - Agree to the Terms of Service, click the agreement box, and"
80 einfo " download the version for 'Fedora 8'. It will be called"
81 einfo " 'amazonmp3.rpm'"
82 einfo " - Copy 'amazonmp3.rpm' into ${DISTDIR}"
83 einfo " - Run 'ebuild amazonmp3' again."
84 einfo "If the version does not match or if you get any errors about the"
85 einfo "rpm you just downloaded, file a bug at http://bugs.gentoo.org, and"
86 einfo "be sure to include the output of 'file amazonmp3.rpm'"
87 }
88
89 src_install() {
90 # Their binary, compiled for Fedora 8, needs some odd library names, so we
91 # symlink them:
92 dosym libboost_date_time.so /usr/$(get_libdir)/libboost_date_time.so.3
93 dosym libboost_iostreams.so /usr/$(get_libdir)/libboost_iostreams.so.3
94 dosym libboost_signals.so /usr/$(get_libdir)/libboost_signals.so.3
95 dosym libboost_thread-mt.so /usr/$(get_libdir)/libboost_thread-mt.so.3
96 dosym libcrypto.so /usr/$(get_libdir)/libcrypto.so.6
97 dosym libssl.so /usr/$(get_libdir)/libssl.so.6
98
99 dobin bin/amazonmp3 || die "dobin failed"
100
101 insinto "/usr/share"
102 doins -r share/{applications,pixmaps,mime,mime-info,mimelnk} || die "doins failed"
103
104 dodoc share/doc/amazonmp3/releasenotes
105 dohtml share/doc/amazonmp3/*.html
106 }
107
108 pkg_postinst() {
109 fdo-mime_desktop_database_update
110 fdo-mime_mime_database_update
111 }
112
113 pkg_postrm() {
114 fdo-mime_desktop_database_update
115 fdo-mime_mime_database_update
116 }