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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Aug 9 12:51:27 2008 UTC (11 years, 5 months ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
clean up old revisions. Fixing QA warning.
(Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo-mactel x86_64)

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.3.0-r1.ebuild,v 1.2 2008/05/29 17:11:44 hawking Exp $
4
5 WANT_AUTOMAKE=1.9
6
7 inherit gnome2 python eutils autotools
8
9 DESCRIPTION="GNOME applet to control various music players"
10 HOMEPAGE="http://www.kuliniewicz.org/music-applet"
11 SRC_URI="http://www.kuliniewicz.org/${PN}/downloads/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="libnotify"
17
18 # This ebuild is far from perfect, it does a lot of automagic detection
19
20 RDEPEND=">=x11-libs/gtk+-2.6
21 >=x11-libs/pango-1.6
22 >=gnome-base/libgnomeui-2
23 >=gnome-base/gnome-panel-2
24 >=dev-python/gnome-python-desktop-2.14
25 >=dev-python/numeric-24.2
26 >=dev-python/dbus-python-0.80
27 >=dev-libs/dbus-glib-0.71
28 >=dev-python/pygtk-2.6
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 epatch "${FILESDIR}/music-applet-2.3.0-pyexecdir.patch"
41
42 eautomake
43 }
44
45 pkg_postinst() {
46 gnome2_pkg_postinst
47 python_version
48 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/musicapplet
49 }
50
51 pkg_postrm() {
52 gnome2_pkg_postrm
53 python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/musicapplet
54 }

  ViewVC Help
Powered by ViewVC 1.1.20