1 |
commit: 8b6c6a85fd910119a6ade6f7892cdace3ea1cef7 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 31 12:35:37 2015 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 31 12:36:08 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b6c6a85 |
7 |
|
8 |
net-wireless/bluez: Drop old |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-wireless/bluez/Manifest | 2 - |
13 |
net-wireless/bluez/bluez-5.33.ebuild | 209 ------------------------------- |
14 |
net-wireless/bluez/bluez-5.34.ebuild | 205 ------------------------------ |
15 |
net-wireless/bluez/bluez-5.35-r1.ebuild | 215 -------------------------------- |
16 |
4 files changed, 631 deletions(-) |
17 |
|
18 |
diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest |
19 |
index d40aa9e..3cf7ecb 100644 |
20 |
--- a/net-wireless/bluez/Manifest |
21 |
+++ b/net-wireless/bluez/Manifest |
22 |
@@ -1,7 +1,5 @@ |
23 |
DIST bluez-4.101-patches.tar.xz 12380 SHA256 ea4b837245080ebe904fe4f338cd3c8c1370e197cdfbcd42bd55430c940b5e13 SHA512 0ef3219ed923a0880b2fe7008c36c185ff631a8fe1b357cc3612888817d9a7eaa6624bd31ed00a8bbbb6739528cb777a0b9900a7db4930482d1cbc38417b89aa WHIRLPOOL b89729b2cb1ecd6c816210682605b275af396af056e85d9a8671192ede0470002c1f61931781f27ad988ce8bc137f69a6725008a5ea9fe743ae41bc2f5edc7e8 |
24 |
DIST bluez-4.101.tar.xz 887236 SHA256 41f9578bef39b8c94a2d6ddeaa556afd22d136936d0f03100e422fe970a45a7d SHA512 c8a88fa6948e43c81687047856806c9dc576d3223371947b496f228dec2b2614d1c5a8ff587e9f26eec44843a50503c55861f9fa736fdba43b2364f663f0cb0d WHIRLPOOL 0c4f163e4f4d0ba8f7928f5330ac3fd5f204c299346c59e73b64ebb331b0887a2b01e8ed6f4e6ae91f826a0431df4f97fe3a0900fa6013ae66fd755aaa136196 |
25 |
-DIST bluez-5.33.tar.xz 1636808 SHA256 1801807a13506678cbfeb15c6a4b89ecb5739efe1067eb464da6641d731436d3 SHA512 6b91b7d232c2654985b4777162e14a750b2840ec8bea7f913fc22bb63c5b767f6e8a7c39645cc7d583f17c993bd772f836bf0ab491eb5c75950c08dd9291a3da WHIRLPOOL cf176fabc4689c6e0233005a95731977e177eefb84c1652cbb0ca70a6a484366c7f4c95f3086652a8e3f6ccc023f741cbf930844265cf7090685863dc38fc105 |
26 |
-DIST bluez-5.34.tar.xz 1640772 SHA256 e461ec2927f5491a202de4a180b2b42377f596b0ce372430d8204ae042d3b19c SHA512 9735c95dd2a7d4c51168aed622604efeaf820bc4c99615c4ab2a4b153cb650e0d82e24d09c96d7e1f15e3bc6aa61e83b49c90e8cff200d9b4d0b144a4e6138b8 WHIRLPOOL 2f4364a2a3feb7e9e23761ff1e3ac153772ab39403702b4f850e473153ec12f981fae7235ab14120d46d48007af751dd66d344b52e7d9dad1aef7b309c40605c |
27 |
DIST bluez-5.35.tar.xz 1643068 SHA256 1afee054644a8b1753ac98d7ad5cd95681a38f5c4cbb1b4bb3ceaa078bf8f0e2 SHA512 33850a01e135f14015295f0eb9b578c515d180d24441b89dff545ec7c0ce8dad5fa321e20918ed6285edaa386375b4ed5688cb17bbfaf4db0742f6d6a72eec6d WHIRLPOOL e334e0e9b37f823eb348cf1679e010567893a73941533a5dc12b598f3b3c845d82f15b3b79e106a7fc4c4344a204a2205fa96509e61d7e61b6ec9f413d650356 |
28 |
DIST bluez-5.36.tar.xz 1649088 SHA256 a343ea1aeb53d3bd139087f3b1c1e1fb70db452d9762cc7a3d23e75962e578f2 SHA512 2cff79533d052d5b718101d31093cce34849dd316a41597384d0e777679ca96d83537f0cf7a5d7a1d5919c8f2afdd7164536b104cba616dde230e774c55774c3 WHIRLPOOL b2977103d7b5fa0a2284ba41f2213c402455b119f81f8a9c0d4c267c1ec8cac00cc8453c0107f158cd49f897376d7258905e72cde0b52dd0674278477d33b586 |
29 |
DIST bluez-5.37.tar.xz 1657760 SHA256 c14ba9ddcb0055522073477b8fd8bf1ddf5d219e75fdfd4699b7e0ce5350d6b0 SHA512 e9af3b1dd079185425db10630fefbb66c26f398f21edb0c213baba9599f73715ca36f405a3f9d9572e6c55b7d3d25a4cdc18668c6eb439422f637e64798a28e9 WHIRLPOOL 1697a379d944978193db51a50c19a10fb27aa4e57ee9793563ba59b25de6388dfb4847c1a851fe1467d2521f14b2b9655208b8cef0cd5e44604bc0b26beb0c2b |
30 |
|
31 |
diff --git a/net-wireless/bluez/bluez-5.33.ebuild b/net-wireless/bluez/bluez-5.33.ebuild |
32 |
deleted file mode 100644 |
33 |
index a646ea7..0000000 |
34 |
--- a/net-wireless/bluez/bluez-5.33.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,209 +0,0 @@ |
37 |
-# Copyright 1999-2015 Gentoo Foundation |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
-# $Id$ |
40 |
- |
41 |
-EAPI=5 |
42 |
-PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
43 |
- |
44 |
-inherit autotools eutils multilib python-any-r1 readme.gentoo systemd udev user multilib-minimal |
45 |
- |
46 |
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux" |
47 |
-HOMEPAGE="http://www.bluez.org" |
48 |
-SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz" |
49 |
- |
50 |
-LICENSE="GPL-2+ LGPL-2.1+" |
51 |
-SLOT="0/3" |
52 |
-KEYWORDS="amd64 arm hppa ~mips ppc ppc64 x86" |
53 |
-IUSE="cups debug +obex +readline selinux systemd test +udev" |
54 |
- |
55 |
-CDEPEND=" |
56 |
- >=dev-libs/glib-2.28:2 |
57 |
- >=sys-apps/dbus-1.6:= |
58 |
- >=sys-apps/hwids-20121202.2 |
59 |
- cups? ( net-print/cups:= ) |
60 |
- obex? ( dev-libs/libical:= ) |
61 |
- readline? ( sys-libs/readline:= ) |
62 |
- systemd? ( sys-apps/systemd ) |
63 |
- udev? ( >=virtual/udev-172 ) |
64 |
- abi_x86_32? ( |
65 |
- !<app-emulation/emul-linux-x86-soundlibs-20140406-r1 |
66 |
- !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32] |
67 |
- ) |
68 |
-" |
69 |
-DEPEND="${CDEPEND} |
70 |
- app-arch/xz-utils |
71 |
- virtual/pkgconfig |
72 |
- test? ( |
73 |
- $(python_gen_any_dep ' |
74 |
- >=dev-python/dbus-python-1[${PYTHON_USEDEP}] |
75 |
- || ( |
76 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
77 |
- dev-python/pygobject:2[${PYTHON_USEDEP}] |
78 |
- ) |
79 |
- ') |
80 |
- ) |
81 |
-" |
82 |
-RDEPEND="${CDEPEND} |
83 |
- selinux? ( sec-policy/selinux-bluetooth ) |
84 |
-" |
85 |
-DOC_CONTENTS=" |
86 |
- If you want to use rfcomm as a normal user, you need to add the user |
87 |
- to the uucp group. |
88 |
-" |
89 |
- |
90 |
-pkg_setup() { |
91 |
- enewgroup plugdev |
92 |
- use test && python-any-r1_pkg_setup |
93 |
- |
94 |
- if ! use udev; then |
95 |
- ewarn |
96 |
- ewarn "You are installing ${PN} with USE=-udev. This means various bluetooth" |
97 |
- ewarn "devices and adapters from Apple, Dell, Logitech etc. will not work," |
98 |
- ewarn "and hid2hci will not be available." |
99 |
- ewarn |
100 |
- fi |
101 |
-} |
102 |
- |
103 |
-src_prepare() { |
104 |
- # Use static group "plugdev" if there is no ConsoleKit (or systemd logind) |
105 |
- epatch "${FILESDIR}"/bluez-plugdev.patch |
106 |
- |
107 |
- # Try both udevadm paths to cover udev/systemd vs. eudev locations (#539844) |
108 |
- # http://www.spinics.net/lists/linux-bluetooth/msg58739.html |
109 |
- epatch "${FILESDIR}"/bluez-udevadm-path.patch |
110 |
- |
111 |
- # Fedora patches |
112 |
- # http://www.spinics.net/lists/linux-bluetooth/msg38490.html |
113 |
- epatch "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch |
114 |
- |
115 |
- # http://www.spinics.net/lists/linux-bluetooth/msg40136.html |
116 |
- epatch "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch |
117 |
- |
118 |
- # http://www.spinics.net/lists/linux-bluetooth/msg41264.html |
119 |
- epatch "${FILESDIR}"/0002-autopair-Don-t-handle-the-iCade.patch |
120 |
- |
121 |
- # ??? |
122 |
- epatch "${FILESDIR}"/0004-agent-Assert-possible-infinite-loop.patch |
123 |
- |
124 |
- # Ubuntu workaround for bug #501120 |
125 |
- epatch "${FILESDIR}"/0001-work-around-Logitech-diNovo-Edge-keyboard-firmware-i.patch |
126 |
- |
127 |
- if use cups; then |
128 |
- sed -i \ |
129 |
- -e "s:cupsdir = \$(libdir)/cups:cupsdir = $(cups-config --serverbin):" \ |
130 |
- Makefile.{in,tools} || die |
131 |
- fi |
132 |
- |
133 |
- eautoreconf |
134 |
- |
135 |
- multilib_copy_sources |
136 |
-} |
137 |
- |
138 |
-multilib_src_configure() { |
139 |
- local myconf=( |
140 |
- # readline is automagic when client is enabled |
141 |
- # --enable-client always needs readline, bug #504038 |
142 |
- ac_cv_header_readline_readline_h=$(multilib_native_usex readline) |
143 |
- ) |
144 |
- |
145 |
- if ! multilib_is_native_abi; then |
146 |
- myconf+=( |
147 |
- # deps not used for the library |
148 |
- {DBUS,GLIB}_{CFLAGS,LIBS}=' ' |
149 |
- ) |
150 |
- fi |
151 |
- |
152 |
- econf \ |
153 |
- --localstatedir=/var \ |
154 |
- --disable-android \ |
155 |
- --enable-datafiles \ |
156 |
- --enable-experimental \ |
157 |
- --enable-optimization \ |
158 |
- $(use_enable debug) \ |
159 |
- --enable-pie \ |
160 |
- --enable-threads \ |
161 |
- --enable-library \ |
162 |
- $(multilib_native_use_enable test) \ |
163 |
- --enable-tools \ |
164 |
- --enable-manpages \ |
165 |
- --enable-monitor \ |
166 |
- $(multilib_native_use_enable cups) \ |
167 |
- $(multilib_native_use_enable obex) \ |
168 |
- $(multilib_native_use_enable readline client) \ |
169 |
- $(multilib_native_use_enable systemd) \ |
170 |
- $(systemd_with_unitdir) \ |
171 |
- $(multilib_native_use_enable udev) \ |
172 |
- $(multilib_native_use_enable udev sixaxis) |
173 |
-} |
174 |
- |
175 |
-multilib_src_compile() { |
176 |
- if multilib_is_native_abi; then |
177 |
- default |
178 |
- else |
179 |
- emake -f Makefile -f - libs \ |
180 |
- <<<'libs: $(lib_LTLIBRARIES)' |
181 |
- fi |
182 |
-} |
183 |
- |
184 |
-multilib_src_test() { |
185 |
- multilib_is_native_abi && default |
186 |
-} |
187 |
- |
188 |
-multilib_src_install() { |
189 |
- if multilib_is_native_abi; then |
190 |
- emake DESTDIR="${D}" install |
191 |
- |
192 |
- # Upstream doesn't install this, bug #524640 |
193 |
- # http://permalink.gmane.org/gmane.linux.bluez.kernel/53115 |
194 |
- # http://comments.gmane.org/gmane.linux.bluez.kernel/54564 |
195 |
- # gatttool is only built with readline, bug #530776 |
196 |
- use readline && dobin attrib/gatttool |
197 |
- dobin tools/hex2hcd |
198 |
- |
199 |
- # Unittests are not that useful once installed |
200 |
- if use test ; then |
201 |
- rm -r "${ED}"/usr/$(get_libdir)/bluez/test || die |
202 |
- fi |
203 |
- else |
204 |
- emake DESTDIR="${D}" \ |
205 |
- install-includeHEADERS \ |
206 |
- install-libLTLIBRARIES \ |
207 |
- install-pkgconfigDATA |
208 |
- fi |
209 |
-} |
210 |
- |
211 |
-multilib_src_install_all() { |
212 |
- prune_libtool_files --modules |
213 |
- |
214 |
- keepdir /var/lib/bluetooth |
215 |
- |
216 |
- # Upstream don't want people to play with them |
217 |
- # But we keep installing them due to 'historical' reasons |
218 |
- insinto /etc/bluetooth |
219 |
- local d |
220 |
- for d in input network proximity; do |
221 |
- doins profiles/${d}/${d}.conf |
222 |
- done |
223 |
- doins src/main.conf |
224 |
- doins src/bluetooth.conf |
225 |
- |
226 |
- newinitd "${FILESDIR}"/bluetooth-init.d-r3 bluetooth |
227 |
- newinitd "${FILESDIR}"/rfcomm-init.d-r2 rfcomm |
228 |
- |
229 |
- einstalldocs |
230 |
- |
231 |
- readme.gentoo_create_doc |
232 |
-} |
233 |
- |
234 |
-pkg_postinst() { |
235 |
- readme.gentoo_print_elog |
236 |
- |
237 |
- use udev && udev_reload |
238 |
- |
239 |
- has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp." |
240 |
- |
241 |
- if ! has_version sys-auth/consolekit && ! has_version sys-apps/systemd; then |
242 |
- elog "Since you don't have sys-auth/consolekit neither sys-apps/systemd, you will" |
243 |
- elog "need to add the user to the plugdev group." |
244 |
- fi |
245 |
-} |
246 |
|
247 |
diff --git a/net-wireless/bluez/bluez-5.34.ebuild b/net-wireless/bluez/bluez-5.34.ebuild |
248 |
deleted file mode 100644 |
249 |
index 49c03c1..0000000 |
250 |
--- a/net-wireless/bluez/bluez-5.34.ebuild |
251 |
+++ /dev/null |
252 |
@@ -1,205 +0,0 @@ |
253 |
-# Copyright 1999-2015 Gentoo Foundation |
254 |
-# Distributed under the terms of the GNU General Public License v2 |
255 |
-# $Id$ |
256 |
- |
257 |
-EAPI=5 |
258 |
-PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
259 |
- |
260 |
-inherit autotools eutils multilib python-any-r1 readme.gentoo systemd udev user multilib-minimal |
261 |
- |
262 |
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux" |
263 |
-HOMEPAGE="http://www.bluez.org" |
264 |
-SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz" |
265 |
- |
266 |
-LICENSE="GPL-2+ LGPL-2.1+" |
267 |
-SLOT="0/3" |
268 |
-KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86" |
269 |
-IUSE="cups debug +obex +readline selinux systemd test +udev" |
270 |
- |
271 |
-CDEPEND=" |
272 |
- >=dev-libs/glib-2.28:2 |
273 |
- >=sys-apps/dbus-1.6:= |
274 |
- >=sys-apps/hwids-20121202.2 |
275 |
- cups? ( net-print/cups:= ) |
276 |
- obex? ( dev-libs/libical:= ) |
277 |
- readline? ( sys-libs/readline:= ) |
278 |
- systemd? ( sys-apps/systemd ) |
279 |
- udev? ( >=virtual/udev-172 ) |
280 |
- abi_x86_32? ( |
281 |
- !<app-emulation/emul-linux-x86-soundlibs-20140406-r1 |
282 |
- !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32] |
283 |
- ) |
284 |
-" |
285 |
-DEPEND="${CDEPEND} |
286 |
- app-arch/xz-utils |
287 |
- virtual/pkgconfig |
288 |
- test? ( |
289 |
- $(python_gen_any_dep ' |
290 |
- >=dev-python/dbus-python-1[${PYTHON_USEDEP}] |
291 |
- || ( |
292 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
293 |
- dev-python/pygobject:2[${PYTHON_USEDEP}] |
294 |
- ) |
295 |
- ') |
296 |
- ) |
297 |
-" |
298 |
-RDEPEND="${CDEPEND} |
299 |
- selinux? ( sec-policy/selinux-bluetooth ) |
300 |
-" |
301 |
-DOC_CONTENTS=" |
302 |
- If you want to use rfcomm as a normal user, you need to add the user |
303 |
- to the uucp group. |
304 |
-" |
305 |
- |
306 |
-pkg_setup() { |
307 |
- enewgroup plugdev |
308 |
- use test && python-any-r1_pkg_setup |
309 |
- |
310 |
- if ! use udev; then |
311 |
- ewarn |
312 |
- ewarn "You are installing ${PN} with USE=-udev. This means various bluetooth" |
313 |
- ewarn "devices and adapters from Apple, Dell, Logitech etc. will not work," |
314 |
- ewarn "and hid2hci will not be available." |
315 |
- ewarn |
316 |
- fi |
317 |
-} |
318 |
- |
319 |
-src_prepare() { |
320 |
- # Use static group "plugdev" if there is no ConsoleKit (or systemd logind) |
321 |
- epatch "${FILESDIR}"/bluez-plugdev.patch |
322 |
- |
323 |
- # Try both udevadm paths to cover udev/systemd vs. eudev locations (#539844) |
324 |
- # http://www.spinics.net/lists/linux-bluetooth/msg58739.html |
325 |
- epatch "${FILESDIR}"/bluez-udevadm-path.patch |
326 |
- |
327 |
- # Fedora patches |
328 |
- # http://www.spinics.net/lists/linux-bluetooth/msg38490.html |
329 |
- epatch "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch |
330 |
- |
331 |
- # http://www.spinics.net/lists/linux-bluetooth/msg40136.html |
332 |
- epatch "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch |
333 |
- |
334 |
- # http://www.spinics.net/lists/linux-bluetooth/msg41264.html |
335 |
- epatch "${FILESDIR}"/0002-autopair-Don-t-handle-the-iCade.patch |
336 |
- |
337 |
- # ??? |
338 |
- epatch "${FILESDIR}"/0004-agent-Assert-possible-infinite-loop.patch |
339 |
- |
340 |
- if use cups; then |
341 |
- sed -i \ |
342 |
- -e "s:cupsdir = \$(libdir)/cups:cupsdir = $(cups-config --serverbin):" \ |
343 |
- Makefile.{in,tools} || die |
344 |
- fi |
345 |
- |
346 |
- eautoreconf |
347 |
- |
348 |
- multilib_copy_sources |
349 |
-} |
350 |
- |
351 |
-multilib_src_configure() { |
352 |
- local myconf=( |
353 |
- # readline is automagic when client is enabled |
354 |
- # --enable-client always needs readline, bug #504038 |
355 |
- ac_cv_header_readline_readline_h=$(multilib_native_usex readline) |
356 |
- ) |
357 |
- |
358 |
- if ! multilib_is_native_abi; then |
359 |
- myconf+=( |
360 |
- # deps not used for the library |
361 |
- {DBUS,GLIB}_{CFLAGS,LIBS}=' ' |
362 |
- ) |
363 |
- fi |
364 |
- |
365 |
- econf \ |
366 |
- --localstatedir=/var \ |
367 |
- --disable-android \ |
368 |
- --enable-datafiles \ |
369 |
- --enable-experimental \ |
370 |
- --enable-optimization \ |
371 |
- $(use_enable debug) \ |
372 |
- --enable-pie \ |
373 |
- --enable-threads \ |
374 |
- --enable-library \ |
375 |
- $(multilib_native_use_enable test) \ |
376 |
- --enable-tools \ |
377 |
- --enable-manpages \ |
378 |
- --enable-monitor \ |
379 |
- $(multilib_native_use_enable cups) \ |
380 |
- $(multilib_native_use_enable obex) \ |
381 |
- $(multilib_native_use_enable readline client) \ |
382 |
- $(multilib_native_use_enable systemd) \ |
383 |
- $(systemd_with_unitdir) \ |
384 |
- $(multilib_native_use_enable udev) \ |
385 |
- $(multilib_native_use_enable udev sixaxis) |
386 |
-} |
387 |
- |
388 |
-multilib_src_compile() { |
389 |
- if multilib_is_native_abi; then |
390 |
- default |
391 |
- else |
392 |
- emake -f Makefile -f - libs \ |
393 |
- <<<'libs: $(lib_LTLIBRARIES)' |
394 |
- fi |
395 |
-} |
396 |
- |
397 |
-multilib_src_test() { |
398 |
- multilib_is_native_abi && default |
399 |
-} |
400 |
- |
401 |
-multilib_src_install() { |
402 |
- if multilib_is_native_abi; then |
403 |
- emake DESTDIR="${D}" install |
404 |
- |
405 |
- # Upstream doesn't install this, bug #524640 |
406 |
- # http://permalink.gmane.org/gmane.linux.bluez.kernel/53115 |
407 |
- # http://comments.gmane.org/gmane.linux.bluez.kernel/54564 |
408 |
- # gatttool is only built with readline, bug #530776 |
409 |
- use readline && dobin attrib/gatttool |
410 |
- dobin tools/hex2hcd |
411 |
- |
412 |
- # Unittests are not that useful once installed |
413 |
- if use test ; then |
414 |
- rm -r "${ED}"/usr/$(get_libdir)/bluez/test || die |
415 |
- fi |
416 |
- else |
417 |
- emake DESTDIR="${D}" \ |
418 |
- install-includeHEADERS \ |
419 |
- install-libLTLIBRARIES \ |
420 |
- install-pkgconfigDATA |
421 |
- fi |
422 |
-} |
423 |
- |
424 |
-multilib_src_install_all() { |
425 |
- prune_libtool_files --modules |
426 |
- |
427 |
- keepdir /var/lib/bluetooth |
428 |
- |
429 |
- # Upstream don't want people to play with them |
430 |
- # But we keep installing them due to 'historical' reasons |
431 |
- insinto /etc/bluetooth |
432 |
- local d |
433 |
- for d in input network proximity; do |
434 |
- doins profiles/${d}/${d}.conf |
435 |
- done |
436 |
- doins src/main.conf |
437 |
- |
438 |
- newinitd "${FILESDIR}"/bluetooth-init.d-r3 bluetooth |
439 |
- newinitd "${FILESDIR}"/rfcomm-init.d-r2 rfcomm |
440 |
- |
441 |
- einstalldocs |
442 |
- |
443 |
- readme.gentoo_create_doc |
444 |
-} |
445 |
- |
446 |
-pkg_postinst() { |
447 |
- readme.gentoo_print_elog |
448 |
- |
449 |
- use udev && udev_reload |
450 |
- |
451 |
- has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp." |
452 |
- |
453 |
- if ! has_version sys-auth/consolekit && ! has_version sys-apps/systemd; then |
454 |
- elog "Since you don't have sys-auth/consolekit neither sys-apps/systemd, you will" |
455 |
- elog "need to add the user to the plugdev group." |
456 |
- fi |
457 |
-} |
458 |
|
459 |
diff --git a/net-wireless/bluez/bluez-5.35-r1.ebuild b/net-wireless/bluez/bluez-5.35-r1.ebuild |
460 |
deleted file mode 100644 |
461 |
index d23e5cd..0000000 |
462 |
--- a/net-wireless/bluez/bluez-5.35-r1.ebuild |
463 |
+++ /dev/null |
464 |
@@ -1,215 +0,0 @@ |
465 |
-# Copyright 1999-2015 Gentoo Foundation |
466 |
-# Distributed under the terms of the GNU General Public License v2 |
467 |
-# $Id$ |
468 |
- |
469 |
-EAPI=5 |
470 |
-PYTHON_COMPAT=( python2_7 ) |
471 |
- |
472 |
-inherit autotools eutils multilib python-single-r1 readme.gentoo systemd udev user multilib-minimal |
473 |
- |
474 |
-DESCRIPTION="Bluetooth Tools and System Daemons for Linux" |
475 |
-HOMEPAGE="http://www.bluez.org" |
476 |
-SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz" |
477 |
- |
478 |
-LICENSE="GPL-2+ LGPL-2.1+" |
479 |
-SLOT="0/3" |
480 |
-KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86" |
481 |
-IUSE="cups doc debug +obex +readline selinux systemd test test-programs +udev" |
482 |
-REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} ) test-programs? ( ${PYTHON_REQUIRED_USE} )" |
483 |
- |
484 |
-CDEPEND=" |
485 |
- >=dev-libs/glib-2.28:2 |
486 |
- >=sys-apps/dbus-1.6:= |
487 |
- >=sys-apps/hwids-20121202.2 |
488 |
- cups? ( net-print/cups:= ) |
489 |
- obex? ( dev-libs/libical:= ) |
490 |
- readline? ( sys-libs/readline:= ) |
491 |
- systemd? ( sys-apps/systemd ) |
492 |
- udev? ( >=virtual/udev-172 ) |
493 |
- abi_x86_32? ( |
494 |
- !<app-emulation/emul-linux-x86-soundlibs-20140406-r1 |
495 |
- !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32] |
496 |
- ) |
497 |
-" |
498 |
-TEST_DEPS="${PYTHON_DEPS} |
499 |
- >=dev-python/dbus-python-1[${PYTHON_USEDEP}] |
500 |
- || ( |
501 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
502 |
- dev-python/pygobject:2[${PYTHON_USEDEP}] |
503 |
- ) |
504 |
-" |
505 |
- |
506 |
-DEPEND="${CDEPEND} |
507 |
- app-arch/xz-utils |
508 |
- virtual/pkgconfig |
509 |
- test? ( |
510 |
- ${TEST_DEPS} |
511 |
- ) |
512 |
-" |
513 |
-RDEPEND="${CDEPEND} |
514 |
- selinux? ( sec-policy/selinux-bluetooth ) |
515 |
- test-programs? ( ${TEST_DEPS} ) |
516 |
-" |
517 |
-DOC_CONTENTS=" |
518 |
- If you want to use rfcomm as a normal user, you need to add the user |
519 |
- to the uucp group. |
520 |
-" |
521 |
- |
522 |
-pkg_setup() { |
523 |
- enewgroup plugdev |
524 |
- |
525 |
- if use test || use test-programs; then |
526 |
- python-single-r1_pkg_setup |
527 |
- fi |
528 |
- |
529 |
- if ! use udev; then |
530 |
- ewarn |
531 |
- ewarn "You are installing ${PN} with USE=-udev. This means various bluetooth" |
532 |
- ewarn "devices and adapters from Apple, Dell, Logitech etc. will not work," |
533 |
- ewarn "and hid2hci will not be available." |
534 |
- ewarn |
535 |
- fi |
536 |
-} |
537 |
- |
538 |
-src_prepare() { |
539 |
- # Use static group "plugdev" if there is no ConsoleKit (or systemd logind) |
540 |
- epatch "${FILESDIR}"/bluez-plugdev.patch |
541 |
- |
542 |
- # Try both udevadm paths to cover udev/systemd vs. eudev locations (#539844) |
543 |
- # http://www.spinics.net/lists/linux-bluetooth/msg58739.html |
544 |
- epatch "${FILESDIR}"/bluez-udevadm-path.patch |
545 |
- |
546 |
- # Fedora patches |
547 |
- # http://www.spinics.net/lists/linux-bluetooth/msg38490.html |
548 |
- epatch "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch |
549 |
- |
550 |
- # http://www.spinics.net/lists/linux-bluetooth/msg40136.html |
551 |
- epatch "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch |
552 |
- |
553 |
- # http://www.spinics.net/lists/linux-bluetooth/msg41264.html |
554 |
- epatch "${FILESDIR}"/0002-autopair-Don-t-handle-the-iCade.patch |
555 |
- |
556 |
- # ??? |
557 |
- epatch "${FILESDIR}"/0004-agent-Assert-possible-infinite-loop.patch |
558 |
- |
559 |
- if use cups; then |
560 |
- sed -i \ |
561 |
- -e "s:cupsdir = \$(libdir)/cups:cupsdir = $(cups-config --serverbin):" \ |
562 |
- Makefile.{in,tools} || die |
563 |
- fi |
564 |
- |
565 |
- eautoreconf |
566 |
- |
567 |
- multilib_copy_sources |
568 |
-} |
569 |
- |
570 |
-multilib_src_configure() { |
571 |
- local myconf=( |
572 |
- # readline is automagic when client is enabled |
573 |
- # --enable-client always needs readline, bug #504038 |
574 |
- ac_cv_header_readline_readline_h=$(multilib_native_usex readline) |
575 |
- ) |
576 |
- |
577 |
- if ! multilib_is_native_abi; then |
578 |
- myconf+=( |
579 |
- # deps not used for the library |
580 |
- {DBUS,GLIB}_{CFLAGS,LIBS}=' ' |
581 |
- ) |
582 |
- fi |
583 |
- |
584 |
- econf \ |
585 |
- --localstatedir=/var \ |
586 |
- --disable-android \ |
587 |
- --enable-datafiles \ |
588 |
- --enable-experimental \ |
589 |
- --enable-optimization \ |
590 |
- $(use_enable debug) \ |
591 |
- --enable-pie \ |
592 |
- --enable-threads \ |
593 |
- --enable-library \ |
594 |
- --enable-tools \ |
595 |
- --enable-manpages \ |
596 |
- --enable-monitor \ |
597 |
- $(multilib_native_use_enable cups) \ |
598 |
- $(multilib_native_use_enable obex) \ |
599 |
- $(multilib_native_use_enable readline client) \ |
600 |
- $(multilib_native_use_enable systemd) \ |
601 |
- $(multilib_native_use_enable test-programs test) \ |
602 |
- $(systemd_with_unitdir) \ |
603 |
- $(multilib_native_use_enable udev) \ |
604 |
- $(multilib_native_use_enable udev sixaxis) |
605 |
-} |
606 |
- |
607 |
-multilib_src_compile() { |
608 |
- if multilib_is_native_abi; then |
609 |
- default |
610 |
- else |
611 |
- emake -f Makefile -f - libs \ |
612 |
- <<<'libs: $(lib_LTLIBRARIES)' |
613 |
- fi |
614 |
-} |
615 |
- |
616 |
-multilib_src_test() { |
617 |
- multilib_is_native_abi && default |
618 |
-} |
619 |
- |
620 |
-multilib_src_install() { |
621 |
- if multilib_is_native_abi; then |
622 |
- emake DESTDIR="${D}" install |
623 |
- |
624 |
- # Upstream doesn't install this, bug #524640 |
625 |
- # http://permalink.gmane.org/gmane.linux.bluez.kernel/53115 |
626 |
- # http://comments.gmane.org/gmane.linux.bluez.kernel/54564 |
627 |
- # gatttool is only built with readline, bug #530776 |
628 |
- use readline && dobin attrib/gatttool |
629 |
- dobin tools/hex2hcd |
630 |
- |
631 |
- # Unittests are not that useful once installed, so make them optional |
632 |
- if use test-programs; then |
633 |
- python_fix_shebang "${ED}"/usr/$(get_libdir)/bluez/test |
634 |
- for i in $(find "${ED}"/usr/$(get_libdir)/bluez/test -maxdepth 1 -type f ! -name "*.*"); do |
635 |
- dosym "${i}" /usr/bin/bluez-"${i##*/}" |
636 |
- done |
637 |
- fi |
638 |
- else |
639 |
- emake DESTDIR="${D}" \ |
640 |
- install-includeHEADERS \ |
641 |
- install-libLTLIBRARIES \ |
642 |
- install-pkgconfigDATA |
643 |
- fi |
644 |
-} |
645 |
- |
646 |
-multilib_src_install_all() { |
647 |
- prune_libtool_files --modules |
648 |
- |
649 |
- keepdir /var/lib/bluetooth |
650 |
- |
651 |
- # Upstream don't want people to play with them |
652 |
- # But we keep installing them due to 'historical' reasons |
653 |
- insinto /etc/bluetooth |
654 |
- local d |
655 |
- for d in input network proximity; do |
656 |
- doins profiles/${d}/${d}.conf |
657 |
- done |
658 |
- doins src/main.conf |
659 |
- |
660 |
- newinitd "${FILESDIR}"/bluetooth-init.d-r3 bluetooth |
661 |
- newinitd "${FILESDIR}"/rfcomm-init.d-r2 rfcomm |
662 |
- |
663 |
- einstalldocs |
664 |
- use doc && dodoc doc/*.txt |
665 |
- readme.gentoo_create_doc |
666 |
-} |
667 |
- |
668 |
-pkg_postinst() { |
669 |
- readme.gentoo_print_elog |
670 |
- |
671 |
- use udev && udev_reload |
672 |
- |
673 |
- has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp." |
674 |
- |
675 |
- if ! has_version sys-auth/consolekit && ! has_version sys-apps/systemd; then |
676 |
- elog "Since you don't have sys-auth/consolekit neither sys-apps/systemd, you will" |
677 |
- elog "need to add the user to the plugdev group." |
678 |
- fi |
679 |
-} |