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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Feb 24 11:58:44 2008 UTC (12 years ago) by eva
Branch: MAIN
Changes since 1.1: +23 -3 lines
* fix python eclass use, bug #207667
* adding gnome to metadata.xml
(Portage version: 2.1.4.4)

1 # Copyright 1999-2008 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.2.1.ebuild,v 1.1 2007/11/21 11:37:44 drac Exp $
4
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 KEYWORDS="~amd64 ~x86"
14 IUSE=""
15
16 DEPEND=">=x11-libs/gtk+-2.6
17 >=gnome-base/libgnomeui-2
18 >=gnome-base/gnome-panel-2
19 >=dev-python/gnome-python-desktop-2.14
20 >=dev-python/numeric-24.2
21 >=dev-python/dbus-python-0.80
22 >=dev-libs/dbus-glib-0.71
23 >=dev-python/pygtk-2.6"
24 RDEPEND="dev-util/pkgconfig
25 dev-util/intltool"
26
27 src_unpack() {
28 gnome2_src_unpack
29
30 # disable pyc compiling
31 mv py-compile py-compile.orig
32 ln -s $(type -P true) py-compile
33 }
34
35 pkg_postinst() {
36 gnome2_pkg_postinst
37 python_version
38 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/musicapplet
39 }
40
41 pkg_postrm() {
42 gnome2_pkg_postrm
43 python_version
44 python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/musicapplet
45 }

  ViewVC Help
Powered by ViewVC 1.1.20