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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Mon Apr 20 22:43:18 2009 UTC (10 years, 10 months ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Clean up old revisions.
(Portage version: 2.2_rc30/cvs/Linux x86_64)

1 eva 1.1 # Copyright 1999-2008 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 eva 1.6 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/music-applet/music-applet-2.3.1.ebuild,v 1.5 2008/11/16 19:01:40 eva Exp $
4 eva 1.1
5 eva 1.4 inherit gnome2 python eutils
6 eva 1.1
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 maekke 1.3 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/dbus-python-0.80
24     >=dev-libs/dbus-glib-0.71
25     >=dev-python/pygtk-2.6
26     libnotify? ( dev-python/notify-python )"
27     DEPEND="dev-util/pkgconfig
28     dev-util/intltool"
29    
30     src_unpack() {
31     gnome2_src_unpack
32    
33     # disable pyc compiling
34     mv py-compile py-compile.orig
35     ln -s $(type -P true) py-compile
36     }
37    
38     pkg_postinst() {
39     gnome2_pkg_postinst
40     python_version
41 hawking 1.2 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/musicapplet
42 eva 1.1 }
43    
44     pkg_postrm() {
45     gnome2_pkg_postrm
46 hawking 1.2 python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/musicapplet
47 eva 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20