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