/[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 - (hide annotations) (download)
Fri Apr 6 19:35:03 2012 UTC (7 years, 10 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove.

1 nirbheek 1.6 # Copyright 1999-2011 Gentoo Foundation
2 eva 1.1 # Distributed under the terms of the GNU General Public License v2
3 pacho 1.7 # $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 pacho 1.5
5     EAPI="3"
6     PYTHON_DEPEND="2"
7 eva 1.1
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 maekke 1.2 KEYWORDS="amd64 x86"
17 ssuominen 1.3 IUSE="libnotify mpd"
18 eva 1.1
19     # This ebuild is far from perfect, it does a lot of automagic detection
20    
21 nirbheek 1.6 RDEPEND=">=x11-libs/gtk+-2.6:2
22 eva 1.1 >=x11-libs/pango-1.6
23     >=gnome-base/libgnomeui-2
24 pacho 1.5 || ( gnome-base/gnome-panel[bonobo] <gnome-base/gnome-panel-2.32 )
25 eva 1.1 >=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 nirbheek 1.6 >=dev-python/pygtk-2.6:2
31     dev-python/pygobject:2
32 ssuominen 1.3 libnotify? ( dev-python/notify-python )
33     mpd? ( >=dev-python/python-mpd-0.2.1 )"
34 eva 1.1 DEPEND="dev-util/pkgconfig
35     dev-util/intltool"
36    
37 pacho 1.5 pkg_setup() {
38     python_set_active_version 2
39     }
40    
41     src_prepare() {
42     gnome2_src_prepare
43 eva 1.1
44     # disable pyc compiling
45     mv py-compile py-compile.orig
46     ln -s $(type -P true) py-compile
47 pacho 1.5
48     python_convert_shebangs -r 2 .
49 eva 1.1 }
50    
51     pkg_postinst() {
52     gnome2_pkg_postinst
53 pacho 1.5 python_mod_optimize musicapplet
54 eva 1.1 }
55    
56     pkg_postrm() {
57     gnome2_pkg_postrm
58 pacho 1.5 python_mod_cleanup musicapplet
59 eva 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20