/[gentoo-x86]/gnome-extra/music-applet/music-applet-2.5.1.ebuild
Gentoo

Contents of /gnome-extra/music-applet/music-applet-2.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Apr 6 19:35:03 2012 UTC (7 years, 9 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove.

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/music-applet/music-applet-2.5.1.ebuild,v 1.6 2011/03/23 08:21:32 nirbheek Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2"
7
8 inherit gnome2 python eutils
9
10 DESCRIPTION="GNOME applet to control various music players"
11 HOMEPAGE="http://www.kuliniewicz.org/music-applet"
12 SRC_URI="http://www.kuliniewicz.org/${PN}/downloads/${P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 IUSE="libnotify mpd"
18
19 # This ebuild is far from perfect, it does a lot of automagic detection
20
21 RDEPEND=">=x11-libs/gtk+-2.6:2
22 >=x11-libs/pango-1.6
23 >=gnome-base/libgnomeui-2
24 || ( gnome-base/gnome-panel[bonobo] <gnome-base/gnome-panel-2.32 )
25 >=dev-python/gconf-python-2.14
26 >=dev-python/gnome-keyring-python-2.14
27 >=dev-python/gnome-applets-python-2.14
28 >=dev-python/dbus-python-0.80
29 >=dev-libs/dbus-glib-0.71
30 >=dev-python/pygtk-2.6:2
31 dev-python/pygobject:2
32 libnotify? ( dev-python/notify-python )
33 mpd? ( >=dev-python/python-mpd-0.2.1 )"
34 DEPEND="dev-util/pkgconfig
35 dev-util/intltool"
36
37 pkg_setup() {
38 python_set_active_version 2
39 }
40
41 src_prepare() {
42 gnome2_src_prepare
43
44 # disable pyc compiling
45 mv py-compile py-compile.orig
46 ln -s $(type -P true) py-compile
47
48 python_convert_shebangs -r 2 .
49 }
50
51 pkg_postinst() {
52 gnome2_pkg_postinst
53 python_mod_optimize musicapplet
54 }
55
56 pkg_postrm() {
57 gnome2_pkg_postrm
58 python_mod_cleanup musicapplet
59 }

  ViewVC Help
Powered by ViewVC 1.1.20