Gentoo Archives: gentoo-commits

From: "Richard Farina (zerochaos)" <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/blueman: blueman-1.23_p20140717.ebuild ChangeLog
Date: Fri, 01 Aug 2014 02:52:16
Message-Id: 20140801025210.748F42004E@flycatcher.gentoo.org
1 zerochaos 14/08/01 02:52:09
2
3 Modified: ChangeLog
4 Added: blueman-1.23_p20140717.ebuild
5 Log:
6 adding snapshot of git for bluez-5 support, been using it for weeks and working well
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
9
10 Revision Changes Path
11 1.20 net-wireless/blueman/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/blueman/ChangeLog?rev=1.20&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/blueman/ChangeLog?rev=1.20&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/blueman/ChangeLog?r1=1.19&r2=1.20
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-wireless/blueman/ChangeLog,v
20 retrieving revision 1.19
21 retrieving revision 1.20
22 diff -u -r1.19 -r1.20
23 --- ChangeLog 12 May 2014 14:22:17 -0000 1.19
24 +++ ChangeLog 1 Aug 2014 02:52:09 -0000 1.20
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-wireless/blueman
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/ChangeLog,v 1.19 2014/05/12 14:22:17 zerochaos Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/ChangeLog,v 1.20 2014/08/01 02:52:09 zerochaos Exp $
30 +
31 +*blueman-1.23_p20140717 (01 Aug 2014)
32 +
33 + 01 Aug 2014; Rick Farina <zerochaos@g.o>
34 + +blueman-1.23_p20140717.ebuild:
35 + adding snapshot of git for bluez-5 support, been using it for weeks and
36 + working well
37
38 12 May 2014; Rick Farina <zerochaos@g.o> blueman-9999.ebuild:
39 upstream merged the bluez5 branch into master
40
41
42
43 1.1 net-wireless/blueman/blueman-1.23_p20140717.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/blueman/blueman-1.23_p20140717.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/blueman/blueman-1.23_p20140717.ebuild?rev=1.1&content-type=text/plain
47
48 Index: blueman-1.23_p20140717.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.23_p20140717.ebuild,v 1.1 2014/08/01 02:52:09 zerochaos Exp $
53
54 EAPI="5"
55
56 PYTHON_DEPEND="2:2.7"
57
58 inherit eutils python gnome2-utils autotools
59
60 DESCRIPTION="GTK+ Bluetooth Manager, designed to be simple and intuitive for everyday bluetooth tasks."
61 HOMEPAGE="http://blueman-project.org/"
62
63 if [[ ${PV} == "9999" ]] ; then
64 inherit git-r3
65 EGIT_REPO_URI="https://github.com/${PN}-project/${PN}.git"
66 KEYWORDS=""
67 else
68 #SRC_URI="http://download.tuxfamily.org/${PN}/${P}.tar.gz"
69 SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz"
70 KEYWORDS="~amd64 ~ppc ~x86"
71 fi
72
73 LICENSE="GPL-3"
74 SLOT="0"
75 IUSE="gconf sendto network nls policykit pulseaudio"
76
77 CDEPEND="dev-libs/glib:2
78 x11-libs/gtk+:3
79 x11-libs/startup-notification
80 dev-python/pygobject:2
81 >=net-wireless/bluez-4.61
82 x11-libs/libnotify"
83 DEPEND="${CDEPEND}
84 nls? ( dev-util/intltool sys-devel/gettext )
85 virtual/pkgconfig
86 >=dev-python/pyrex-0.9.8"
87 RDEPEND="${CDEPEND}
88 >=app-mobilephone/obex-data-server-0.4.4
89 sys-apps/dbus
90 dev-python/pygtk
91 dev-python/notify-python
92 dev-python/dbus-python
93 x11-themes/hicolor-icon-theme
94 gconf? ( dev-python/gconf-python )
95 sendto? ( gnome-base/nautilus )
96 network? ( || ( net-dns/dnsmasq
97 =net-misc/dhcp-3*
98 >=net-misc/networkmanager-0.8 ) )
99 policykit? ( sys-auth/polkit )
100 pulseaudio? ( media-sound/pulseaudio )"
101
102 pkg_setup() {
103 python_set_active_version 2.7
104 python_pkg_setup
105 }
106
107 src_prepare() {
108 # disable pyc compiling
109 ln -sf $(type -P true) py-compile
110
111 sed -i \
112 -e '/^Encoding/d' \
113 data/blueman-manager.desktop.in || die "sed failed"
114
115 epatch \
116 "${FILESDIR}/${PN}-9999-plugins-conf-file.patch" \
117 "${FILESDIR}/${PN}-9999-set-codeset-for-gettext-to-UTF-8-always.patch"
118 eautoreconf
119 }
120
121 src_configure() {
122 econf \
123 --disable-static \
124 $(use_enable policykit polkit) \
125 $(use_enable sendto) \
126 --disable-hal \
127 $(use_enable nls)
128 }
129
130 src_install() {
131 default
132
133 python_convert_shebangs 2.7 "${D}"/usr/bin/blueman-* "${D}/usr/libexec/blueman-mechanism"
134
135 rm "${D}"/$(python_get_sitedir)/*.la
136 use sendto && rm "${D}"/usr/lib*/nautilus-sendto/plugins/*.la
137
138 use gconf || rm "${D}"/$(python_get_sitedir)/${PN}/plugins/config/Gconf.py
139 use policykit || rm -rf "${D}"/usr/share/polkit-1
140 use pulseaudio || rm "${D}"/$(python_get_sitedir)/${PN}/{main/Pulse*.py,plugins/applet/Pulse*.py}
141
142 python_need_rebuild
143 }
144
145 pkg_preinst() {
146 gnome2_icon_savelist
147 }
148
149 pkg_postinst() {
150 python_mod_optimize ${PN}
151 gnome2_icon_cache_update
152 }
153
154 pkg_postrm() {
155 python_mod_cleanup ${PN}
156 gnome2_icon_cache_update
157 }