annotate media-sound/exaile/exaile-0.3.1.1.ebuild @ 281:34ae6a0a3fe8

pull all the latest changes from Holgi
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 01 Apr 2011 17:58:34 +0200
parents a588f50b1e1d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
239
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2010 Gentoo Foundation
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/exaile/Attic/exaile-0.3.1.1.ebuild,v 1.2 2010/08/14 17:33:32 ssuominen dead $
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 EAPI=2
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 PYTHON_DEPEND="2:2.6"
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8 PYTHON_USE_WITH="sqlite"
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 inherit fdo-mime multilib python
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12 DESCRIPTION="a media player aiming to be similar to AmaroK, but for GTK+"
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 HOMEPAGE="http://www.exaile.org/"
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 SRC_URI="http://launchpad.net/exaile/0.3.1/${PV}/+download/${P}.tar.gz"
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 LICENSE="GPL-2 GPL-3"
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17 SLOT="0"
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 KEYWORDS="~amd64 ~ppc ~sparc x86"
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 IUSE="cddb libnotify nls"
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 RDEPEND="dev-python/dbus-python
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22 >=media-libs/mutagen-1.10
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 >=dev-python/pygtk-2.14
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 >=dev-python/pygobject-2.18
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 dev-python/gst-python:0.10
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 media-libs/gst-plugins-good:0.10
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 media-plugins/gst-plugins-meta:0.10
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 libnotify? ( dev-python/notify-python )
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 cddb? ( dev-python/cddb-py )"
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 DEPEND="nls? ( dev-util/intltool
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31 sys-devel/gettext )"
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 # Required python 'mox' module missing wrt #315589
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 RESTRICT="test"
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36 pkg_setup() {
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37 python_set_active_version 2
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 }
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40 src_prepare() {
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41 sed -i \
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42 -e "s:exec python:exec $(PYTHON):" \
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43 exaile tools/generate-launcher || die
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 }
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
45
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
46 src_compile() {
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
47 if use nls; then
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
48 emake locale || die
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
49 fi
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
50 }
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
51
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
52 src_install() {
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
53 local _no_locale
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
54 use nls || _no_locale=_no_locale
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
55
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
56 emake PREFIX="/usr" LIBINSTALLDIR="/$(get_libdir)" DESTDIR="${D}" \
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
57 install${_no_locale} || die
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
58
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
59 dodoc README
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
60
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
61 insinto /usr/share/exaile/data
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
62 doins -r data/migrations || die
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
63 }
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
64
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
65 pkg_postinst() {
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
66 python_need_rebuild
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
67 python_mod_optimize /usr/$(get_libdir)/${PN}
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
68 fdo-mime_desktop_database_update
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
69 fdo-mime_mime_database_update
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
70 }
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
71
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
72 pkg_postrm() {
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
73 python_mod_cleanup /usr/$(get_libdir)/${PN}
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
74 fdo-mime_desktop_database_update
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
75 fdo-mime_mime_database_update
a588f50b1e1d exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
76 }