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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Apr 2 08:00:10 2008 UTC (11 years, 10 months ago) by opfer
Branch: MAIN
Changes since 1.1: +2 -2 lines
stable x86, bug 215385
(Portage version: 2.1.4.4)

1 eva 1.1 # Copyright 1999-2008 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 opfer 1.2 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/music-applet/music-applet-2.3.0.ebuild,v 1.1 2008/02/24 14:46:11 eva Exp $
4 eva 1.1
5     inherit gnome2 python
6    
7     DESCRIPTION="GNOME applet to control various music players"
8     HOMEPAGE="http://www.kuliniewicz.org/music-applet"
9     SRC_URI="http://www.kuliniewicz.org/${PN}/downloads/${P}.tar.gz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13 opfer 1.2 KEYWORDS="~amd64 x86"
14 eva 1.1 IUSE="libnotify"
15    
16     # This ebuild is far from perfect, it does a lot of automagic detection
17    
18     RDEPEND=">=x11-libs/gtk+-2.6
19     >=x11-libs/pango-1.6
20     >=gnome-base/libgnomeui-2
21     >=gnome-base/gnome-panel-2
22     >=dev-python/gnome-python-desktop-2.14
23     >=dev-python/numeric-24.2
24     >=dev-python/dbus-python-0.80
25     >=dev-libs/dbus-glib-0.71
26     >=dev-python/pygtk-2.6
27     libnotify? ( dev-python/notify-python )"
28     DEPEND="dev-util/pkgconfig
29     dev-util/intltool"
30    
31     src_unpack() {
32     gnome2_src_unpack
33    
34     # disable pyc compiling
35     mv py-compile py-compile.orig
36     ln -s $(type -P true) py-compile
37     }
38    
39     pkg_postinst() {
40     gnome2_pkg_postinst
41     python_version
42     python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/musicapplet
43     }
44    
45     pkg_postrm() {
46     gnome2_pkg_postrm
47     python_version
48     python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/musicapplet
49     }

  ViewVC Help
Powered by ViewVC 1.1.20