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