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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

1 # Copyright 1999-2009 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.0.ebuild,v 1.1 2009/01/03 14:20:37 eva Exp $
4
5 inherit gnome2 python eutils
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 KEYWORDS="~amd64 ~x86"
14 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/gconf-python-2.14
23 >=dev-python/gnome-keyring-python-2.14
24 >=dev-python/gnome-applets-python-2.14
25 >=dev-python/dbus-python-0.80
26 >=dev-libs/dbus-glib-0.71
27 >=dev-python/pygtk-2.6
28 dev-python/pygobject
29 libnotify? ( dev-python/notify-python )"
30 DEPEND="dev-util/pkgconfig
31 dev-util/intltool"
32
33 src_unpack() {
34 gnome2_src_unpack
35
36 # disable pyc compiling
37 mv py-compile py-compile.orig
38 ln -s $(type -P true) py-compile
39 }
40
41 pkg_postinst() {
42 gnome2_pkg_postinst
43 python_version
44 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/musicapplet
45 }
46
47 pkg_postrm() {
48 gnome2_pkg_postrm
49 python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/musicapplet
50 }

  ViewVC Help
Powered by ViewVC 1.1.20