Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/exaile: ChangeLog exaile-0.3.0_alpha3-r1.ebuild exaile-0.3.0_alpha3.ebuild
Date: Sun, 23 Aug 2009 14:23:06
Message-Id: E1MfDyK-0005Rk-NR@stork.gentoo.org
1 ssuominen 09/08/23 14:23:04
2
3 Modified: ChangeLog
4 Added: exaile-0.3.0_alpha3-r1.ebuild
5 Removed: exaile-0.3.0_alpha3.ebuild
6 Log:
7 Install migrations -directory for moving from exaile 0.2.x wrt #282436, thanks to Gonçalo Silva for reporting.
8 (Portage version: 2.2_rc39/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.60 media-sound/exaile/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/exaile/ChangeLog?rev=1.60&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/exaile/ChangeLog?rev=1.60&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/exaile/ChangeLog?r1=1.59&r2=1.60
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/exaile/ChangeLog,v
20 retrieving revision 1.59
21 retrieving revision 1.60
22 diff -u -r1.59 -r1.60
23 --- ChangeLog 23 Aug 2009 14:11:35 -0000 1.59
24 +++ ChangeLog 23 Aug 2009 14:23:04 -0000 1.60
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-sound/exaile
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/exaile/ChangeLog,v 1.59 2009/08/23 14:11:35 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/exaile/ChangeLog,v 1.60 2009/08/23 14:23:04 ssuominen Exp $
30 +
31 +*exaile-0.3.0_alpha3-r1 (23 Aug 2009)
32 +
33 + 23 Aug 2009; Samuli Suominen <ssuominen@g.o>
34 + -exaile-0.3.0_alpha3.ebuild, +exaile-0.3.0_alpha3-r1.ebuild:
35 + Install migrations -directory for moving from exaile 0.2.x wrt #282436,
36 + thanks to Gonçalo Silva for reporting.
37
38 23 Aug 2009; Samuli Suominen <ssuominen@g.o>
39 exaile-0.3.0_alpha3.ebuild:
40
41
42
43 1.1 media-sound/exaile/exaile-0.3.0_alpha3-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/exaile/exaile-0.3.0_alpha3-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/exaile/exaile-0.3.0_alpha3-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: exaile-0.3.0_alpha3-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-sound/exaile/exaile-0.3.0_alpha3-r1.ebuild,v 1.1 2009/08/23 14:23:04 ssuominen Exp $
53
54 EAPI=2
55 inherit eutils fdo-mime multilib python
56
57 MY_P=${P/_alpha/a}
58
59 DESCRIPTION="a media player aiming to be similar to AmaroK, but for GTK+"
60 HOMEPAGE="http://www.exaile.org"
61 SRC_URI="http://www.exaile.org/files/${MY_P}.tar.gz"
62
63 LICENSE="GPL-2 GPL-3"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
66 IUSE="cddb doc hal libnotify +libsexy nls"
67
68 RDEPEND="dev-python/dbus-python
69 >=media-libs/mutagen-1.10
70 >=dev-python/pygtk-2.12
71 >=dev-lang/python-2.5[sqlite]
72 dev-python/gst-python:0.10
73 media-libs/gst-plugins-good:0.10
74 media-plugins/gst-plugins-meta:0.10
75 libnotify? ( dev-python/notify-python )
76 libsexy? ( dev-python/sexy-python )
77 hal? ( sys-apps/hal )
78 cddb? ( dev-python/cddb-py )"
79 DEPEND="doc? ( dev-python/sphinx )
80 nls? ( dev-util/intltool
81 sys-devel/gettext )"
82
83 S=${WORKDIR}/${PN}
84
85 src_prepare() {
86 epatch "${FILESDIR}"/${P}-Makefile.patch
87 }
88
89 src_compile() {
90 if use nls; then
91 emake translations || die "emake translations failed"
92 fi
93 if use doc; then
94 cd doc
95 emake html || die "emake html failed"
96 fi
97 }
98
99 src_install() {
100 local _no_locale
101
102 use nls || _no_locale=_no_locale
103
104 emake PREFIX="/usr" LIBINSTALLDIR="/$(get_libdir)" DESTDIR="${D}" \
105 install${_no_locale} || die "emake install failed"
106
107 dodoc crossfade_design FUTURE PLANNING player_planning \
108 README SEARCHING || die "dodoc failed"
109
110 if use doc; then
111 dohtml -r doc/_build/html/* || die "dohtml failed"
112 fi
113
114 insinto /usr/share/exaile/data
115 doins -r data/migrations || die "doins failed"
116 }
117
118 pkg_postinst() {
119 python_need_rebuild
120 python_mod_optimize /usr/$(get_libdir)/${PN}
121 fdo-mime_desktop_database_update
122 fdo-mime_mime_database_update
123 }
124
125 pkg_postrm() {
126 python_mod_cleanup /usr/$(get_libdir)/${PN}
127 fdo-mime_desktop_database_update
128 fdo-mime_mime_database_update
129 }