Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/blueman: blueman-1.21-r1.ebuild
Date: Sun, 31 Oct 2010 22:47:19
Message-Id: 20101031224705.BF88820051@flycatcher.gentoo.org
1 ssuominen 10/10/31 22:47:05
2
3 Modified: blueman-1.21-r1.ebuild
4 Log:
5 Fix broken icon cache update, and drop useless quoting too.
6
7 (Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 net-wireless/blueman/blueman-1.21-r1.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/blueman/blueman-1.21-r1.ebuild?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/blueman/blueman-1.21-r1.ebuild?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/blueman/blueman-1.21-r1.ebuild?r1=1.4&r2=1.5
15
16 Index: blueman-1.21-r1.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.21-r1.ebuild,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- blueman-1.21-r1.ebuild 31 Oct 2010 22:38:42 -0000 1.4
23 +++ blueman-1.21-r1.ebuild 31 Oct 2010 22:47:05 -0000 1.5
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.21-r1.ebuild,v 1.4 2010/10/31 22:38:42 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.21-r1.ebuild,v 1.5 2010/10/31 22:47:05 ssuominen Exp $
29
30 EAPI="3"
31
32 @@ -11,6 +11,7 @@
33 DESCRIPTION="GTK+ Bluetooth Manager, designed to be simple and intuitive for everyday bluetooth tasks."
34 HOMEPAGE="http://blueman-project.org/"
35 SRC_URI="http://download.tuxfamily.org/${PN}/${P}.tar.gz"
36 +
37 LICENSE="GPL-3"
38 SLOT="0"
39 KEYWORDS="~amd64 ~ppc ~x86"
40 @@ -65,19 +66,23 @@
41
42 rm "${D}"/$(python_get_sitedir)/*.la
43
44 - use gnome || rm "${D}/$(python_get_sitedir)/${PN}/plugins/config/Gconf.py"
45 - use policykit || rm -rf "${D}/usr/share/polkit-1"
46 + use gnome || rm "${D}"/$(python_get_sitedir)/${PN}/plugins/config/Gconf.py
47 + use policykit || rm -rf "${D}"/usr/share/polkit-1
48 use pulseaudio || rm "${D}"/$(python_get_sitedir)/${PN}/{main/Pulse*.py,plugins/applet/Pulse*.py}
49
50 python_need_rebuild
51 }
52
53 +pkg_preinst() {
54 + gnome2_icon_savelist
55 +}
56 +
57 pkg_postinst() {
58 - python_mod_optimize "${PN}"
59 + python_mod_optimize ${PN}
60 gnome2_icon_cache_update
61 }
62
63 pkg_postrm() {
64 - python_mod_cleanup "${PN}"
65 + python_mod_cleanup ${PN}
66 gnome2_icon_cache_update
67 }