Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/
Date: Tue, 24 Jul 2018 12:54:47
Message-Id: 1532436866.88710148250f53de38565ce2b3d38e015e78799b.pacho@gentoo
1 commit: 88710148250f53de38565ce2b3d38e015e78799b
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 24 12:54:26 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 24 12:54:26 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88710148
7
8 net-wireless/bluez: Drop old
9
10 Package-Manager: Portage-2.3.43, Repoman-2.3.10
11
12 net-wireless/bluez/Manifest | 1 -
13 net-wireless/bluez/bluez-5.47-r1.ebuild | 263 --------------------------------
14 net-wireless/bluez/bluez-5.49.ebuild | 259 -------------------------------
15 3 files changed, 523 deletions(-)
16
17 diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
18 index a7a8eb44d98..4bc18c8a6b1 100644
19 --- a/net-wireless/bluez/Manifest
20 +++ b/net-wireless/bluez/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST bluez-5.47.tar.xz 1718920 BLAKE2B e5863181ba9b19b81bc430fb900e1a8752749a02dac122a57bd44c41a1aeeb21b4c1476cab2ce89a7d3570fc1b592f1a2ed9e1f96c289faee942d203d1e3aa85 SHA512 86fa1baae1593d4824038db8418358b0be624c81fc23ee8f96ec08979d309a2377be3924ab53cc0fcb712aec8e696360e9a9f4de4c12cc31b14de5cf495a11a6
23 DIST bluez-5.49.tar.xz 1744860 BLAKE2B 25b350debb016f93d23a2ecf14183197a3b8e8c0496b82b22a51ccc00ccf0241fb43d7d8d9ed04bdfcc0a1111078b8394e8b9ff23963854e51b6a19cf769811f SHA512 bc2988649420232b92e2c6836857027369f05ace005972f575ed0601c02cc97a07a3b7a0707a8bad72be73df7e8096c8bf023530443556e87c2ccb667981b37d
24 DIST bluez-5.50.tar.xz 1755384 BLAKE2B d70763a80fa233cd31fbefc44f73ffceb54c2d7b64ee83df0d2dafb039771d2b18e69dd44b35b2cdf8eee97553c02deca2281f7ec54e958218cf6c4b364a8516 SHA512 64a680e4b3c270bc2439610c91ad2aef36131d84401e4bbdf6c2b7ec8708a19dfc942b31b9189c38a97ca072c761c669ae1aace5f4ff5d06de3ccbf33184be45
25
26 diff --git a/net-wireless/bluez/bluez-5.47-r1.ebuild b/net-wireless/bluez/bluez-5.47-r1.ebuild
27 deleted file mode 100644
28 index 43945ba07db..00000000000
29 --- a/net-wireless/bluez/bluez-5.47-r1.ebuild
30 +++ /dev/null
31 @@ -1,263 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -PYTHON_COMPAT=( python2_7 )
37 -
38 -inherit autotools ltprune multilib python-single-r1 readme.gentoo-r1 systemd udev user multilib-minimal
39 -
40 -DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
41 -HOMEPAGE="http://www.bluez.org"
42 -SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz"
43 -
44 -LICENSE="GPL-2+ LGPL-2.1+"
45 -SLOT="0/3"
46 -KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 x86"
47 -IUSE="alsa cups doc debug deprecated extra-tools experimental +mesh +obex +readline selinux systemd test test-programs +udev user-session"
48 -
49 -# Since this release all remaining extra-tools need readline support, but this could
50 -# change in the future, hence, this REQUIRED_USE constraint could be dropped
51 -# again in the future.
52 -REQUIRED_USE="
53 - extra-tools? ( deprecated readline )
54 - test? ( ${PYTHON_REQUIRED_USE} )
55 - test-programs? ( ${PYTHON_REQUIRED_USE} )
56 - user-session? ( systemd )
57 -"
58 -
59 -CDEPEND="
60 - >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
61 - >=sys-apps/dbus-1.6:=[user-session=]
62 - >=sys-apps/hwids-20121202.2
63 - alsa? ( media-libs/alsa-lib )
64 - cups? ( net-print/cups:= )
65 - mesh? (
66 - dev-libs/json-c:=
67 - sys-libs/readline:0= )
68 - obex? ( dev-libs/libical:= )
69 - readline? ( sys-libs/readline:0= )
70 - systemd? ( sys-apps/systemd )
71 - udev? ( >=virtual/udev-172 )
72 -"
73 -TEST_DEPS="${PYTHON_DEPS}
74 - >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
75 - dev-python/pygobject:3[${PYTHON_USEDEP}]
76 -"
77 -
78 -DEPEND="${CDEPEND}
79 - virtual/pkgconfig
80 - test? ( ${TEST_DEPS} )
81 -"
82 -RDEPEND="${CDEPEND}
83 - selinux? ( sec-policy/selinux-bluetooth )
84 - test-programs? ( ${TEST_DEPS} )
85 -"
86 -DOC_CONTENTS="
87 - If you want to control your bluetooth devices as a non-root user,
88 - please remember to add you to plugdev group.
89 -
90 - If you want to use rfcomm as a normal user, you need to add the user
91 - to the uucp group.
92 -"
93 -
94 -PATCHES=(
95 - # Use static group "plugdev" to not force people to become root for
96 - # controlling the devices.
97 - "${FILESDIR}"/bluez-plugdev.patch
98 -
99 - # Try both udevadm paths to cover udev/systemd vs. eudev locations (#539844)
100 - # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
101 - "${FILESDIR}"/bluez-udevadm-path.patch
102 -
103 - # build: Quote systemd variable names, bug #527432
104 - # http://article.gmane.org/gmane.linux.bluez.kernel/67230
105 - "${FILESDIR}"/bluez-5.39-systemd-quote.patch
106 -
107 - # Fedora patches
108 - # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
109 - "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
110 -
111 - # http://www.spinics.net/lists/linux-bluetooth/msg41264.html
112 - "${FILESDIR}"/0002-autopair-Don-t-handle-the-iCade.patch
113 -
114 - # ???
115 - "${FILESDIR}"/0004-agent-Assert-possible-infinite-loop.patch
116 -)
117 -
118 -pkg_setup() {
119 - enewgroup plugdev
120 -
121 - if use test || use test-programs; then
122 - python-single-r1_pkg_setup
123 - fi
124 -
125 - if ! use udev; then
126 - ewarn
127 - ewarn "You are installing ${PN} with USE=-udev. This means various bluetooth"
128 - ewarn "devices and adapters from Apple, Dell, Logitech etc. will not work,"
129 - ewarn "and hid2hci will not be available."
130 - ewarn
131 - fi
132 -}
133 -
134 -src_prepare() {
135 - default
136 -
137 - # http://www.spinics.net/lists/linux-bluetooth/msg38490.html
138 - ! use user-session && eapply "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
139 -
140 - if use cups; then
141 - sed -i \
142 - -e "s:cupsdir = \$(libdir)/cups:cupsdir = $(cups-config --serverbin):" \
143 - Makefile.{in,tools} || die
144 - fi
145 -
146 - # Broken test https://bugzilla.kernel.org/show_bug.cgi?id=196621
147 - sed -i -e '/unit_tests += unit\/test-gatt\b/d' Makefile.am || die
148 -
149 - eautoreconf
150 -
151 - multilib_copy_sources
152 -}
153 -
154 -multilib_src_configure() {
155 - local myconf=(
156 - # readline is automagic when client is enabled
157 - # --enable-client always needs readline, bug #504038
158 - # --enable-mesh is handled in the same way
159 - ac_cv_header_readline_readline_h=$(multilib_native_usex readline)
160 - ac_cv_header_readline_readline_h=$(multilib_native_usex mesh)
161 - )
162 -
163 - if ! multilib_is_native_abi; then
164 - myconf+=(
165 - # deps not used for the library
166 - {DBUS,GLIB}_{CFLAGS,LIBS}=' '
167 - )
168 - fi
169 -
170 - econf \
171 - --localstatedir=/var \
172 - --disable-android \
173 - --enable-datafiles \
174 - --enable-experimental \
175 - --enable-optimization \
176 - $(use_enable debug) \
177 - --enable-pie \
178 - --enable-threads \
179 - --enable-library \
180 - --enable-tools \
181 - --enable-manpages \
182 - --enable-monitor \
183 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
184 - $(multilib_native_use_enable alsa midi) \
185 - $(multilib_native_use_enable cups) \
186 - $(multilib_native_use_enable deprecated) \
187 - $(multilib_native_use_enable experimental) \
188 - $(multilib_native_use_enable mesh) \
189 - $(multilib_native_use_enable obex) \
190 - $(multilib_native_use_enable readline client) \
191 - $(multilib_native_use_enable systemd) \
192 - $(multilib_native_use_enable test-programs test) \
193 - $(multilib_native_use_enable udev) \
194 - $(multilib_native_use_enable udev sixaxis)
195 -}
196 -
197 -multilib_src_compile() {
198 - if multilib_is_native_abi; then
199 - default
200 - else
201 - emake -f Makefile -f - libs \
202 - <<<'libs: $(lib_LTLIBRARIES)'
203 - fi
204 -}
205 -
206 -multilib_src_test() {
207 - multilib_is_native_abi && default
208 -}
209 -
210 -multilib_src_install() {
211 - if multilib_is_native_abi; then
212 - emake DESTDIR="${D}" install
213 -
214 - # Only install extra-tools when relevant USE flag is enabled
215 - if use extra-tools; then
216 - ewarn "Upstream doesn't support using this tools and their bugs are"
217 - ewarn "likely to be ignored forever, also that tools can break"
218 - ewarn "without previous announcement."
219 - ewarn "Upstream also states all this tools are not really needed,"
220 - ewarn "then, if you still need to rely on them, you must ask them"
221 - ewarn "to either install that tool by default or add the needed"
222 - ewarn "functionality to the existing 'official' tools."
223 - ewarn "Please report this issues to:"
224 - ewarn "http://www.bluez.org/development/lists/"
225 -
226 - # Upstream doesn't install this, bug #524640
227 - # http://permalink.gmane.org/gmane.linux.bluez.kernel/53115
228 - # http://comments.gmane.org/gmane.linux.bluez.kernel/54564
229 - # gatttool is only built with readline, bug #530776
230 - dobin attrib/gatttool
231 - dobin tools/btmgmt
232 - fi
233 -
234 - # Unittests are not that useful once installed, so make them optional
235 - if use test-programs; then
236 - # example-gatt-client is the only one needing
237 - # python3, the others are python2 only. Remove
238 - # until we see how to pull in python2 and python3
239 - # for runtime
240 - rm "${ED}"/usr/$(get_libdir)/bluez/test/example-gatt-server || die
241 - rm "${ED}"/usr/$(get_libdir)/bluez/test/example-gatt-client || die
242 - python_fix_shebang "${ED}"/usr/$(get_libdir)/bluez/test
243 - for i in $(find "${ED}"/usr/$(get_libdir)/bluez/test -maxdepth 1 -type f ! -name "*.*"); do
244 - dosym "${i}" /usr/bin/bluez-"${i##*/}"
245 - done
246 - fi
247 - else
248 - emake DESTDIR="${D}" \
249 - install-includeHEADERS \
250 - install-libLTLIBRARIES \
251 - install-pkgconfigDATA
252 - fi
253 -}
254 -
255 -multilib_src_install_all() {
256 - # We need to ensure obexd can be spawned automatically by systemd
257 - # when user-session is enabled:
258 - # http://marc.info/?l=linux-bluetooth&m=148096094716386&w=2
259 - # https://bugs.gentoo.org/show_bug.cgi?id=577842
260 - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804908
261 - # https://bugs.archlinux.org/task/45816
262 - # https://bugzilla.redhat.com/show_bug.cgi?id=1318441
263 - # https://bugzilla.redhat.com/show_bug.cgi?id=1389347
264 - use user-session && ln -s "${ED}"/usr/lib/systemd/user/obex.service "${ED}"/usr/lib/systemd/user/dbus-org.bluez.obex.service
265 -
266 - prune_libtool_files --modules
267 -
268 - keepdir /var/lib/bluetooth
269 -
270 - # Upstream don't want people to play with them
271 - # But we keep installing them due to 'historical' reasons
272 - insinto /etc/bluetooth
273 - local d
274 - for d in input network; do
275 - doins profiles/${d}/${d}.conf
276 - done
277 - doins src/main.conf
278 -
279 - newinitd "${FILESDIR}"/bluetooth-init.d-r4 bluetooth
280 - newinitd "${FILESDIR}"/rfcomm-init.d-r2 rfcomm
281 -
282 - einstalldocs
283 - use doc && dodoc doc/*.txt
284 - readme.gentoo_create_doc
285 -}
286 -
287 -pkg_postinst() {
288 - readme.gentoo_print_elog
289 -
290 - use udev && udev_reload
291 - systemd_reenable bluetooth.service
292 -
293 - has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp."
294 -}
295
296 diff --git a/net-wireless/bluez/bluez-5.49.ebuild b/net-wireless/bluez/bluez-5.49.ebuild
297 deleted file mode 100644
298 index e3c3ae93c76..00000000000
299 --- a/net-wireless/bluez/bluez-5.49.ebuild
300 +++ /dev/null
301 @@ -1,259 +0,0 @@
302 -# Copyright 1999-2018 Gentoo Foundation
303 -# Distributed under the terms of the GNU General Public License v2
304 -
305 -EAPI=6
306 -PYTHON_COMPAT=( python2_7 )
307 -
308 -inherit autotools multilib python-single-r1 readme.gentoo-r1 systemd udev user multilib-minimal
309 -
310 -DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
311 -HOMEPAGE="http://www.bluez.org"
312 -SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz"
313 -
314 -LICENSE="GPL-2+ LGPL-2.1+"
315 -SLOT="0/3"
316 -KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ~ppc ppc64 x86"
317 -IUSE="alsa cups doc debug deprecated extra-tools experimental +mesh +obex +readline selinux systemd test test-programs +udev user-session"
318 -
319 -# Since this release all remaining extra-tools need readline support, but this could
320 -# change in the future, hence, this REQUIRED_USE constraint could be dropped
321 -# again in the future.
322 -REQUIRED_USE="
323 - extra-tools? ( deprecated readline )
324 - test? ( ${PYTHON_REQUIRED_USE} )
325 - test-programs? ( ${PYTHON_REQUIRED_USE} )
326 - user-session? ( systemd )
327 -"
328 -
329 -CDEPEND="
330 - >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
331 - >=sys-apps/dbus-1.6:=[user-session=]
332 - >=sys-apps/hwids-20121202.2
333 - alsa? ( media-libs/alsa-lib )
334 - cups? ( net-print/cups:= )
335 - mesh? (
336 - dev-libs/json-c:=
337 - sys-libs/readline:0= )
338 - obex? ( dev-libs/libical:= )
339 - readline? ( sys-libs/readline:0= )
340 - systemd? ( sys-apps/systemd )
341 - udev? ( >=virtual/udev-172 )
342 -"
343 -TEST_DEPS="${PYTHON_DEPS}
344 - >=dev-python/dbus-python-1[${PYTHON_USEDEP}]
345 - dev-python/pygobject:3[${PYTHON_USEDEP}]
346 -"
347 -
348 -DEPEND="${CDEPEND}
349 - virtual/pkgconfig
350 - test? ( ${TEST_DEPS} )
351 -"
352 -RDEPEND="${CDEPEND}
353 - selinux? ( sec-policy/selinux-bluetooth )
354 - test-programs? ( ${TEST_DEPS} )
355 -"
356 -DOC_CONTENTS="
357 - If you want to control your bluetooth devices as a non-root user,
358 - please remember to add you to plugdev group.
359 -"
360 -
361 -PATCHES=(
362 - # Use static group "plugdev" to not force people to become root for
363 - # controlling the devices.
364 - "${FILESDIR}"/bluez-plugdev.patch
365 -
366 - # Try both udevadm paths to cover udev/systemd vs. eudev locations (#539844)
367 - # http://www.spinics.net/lists/linux-bluetooth/msg58739.html
368 - "${FILESDIR}"/bluez-udevadm-path.patch
369 -
370 - # build: Quote systemd variable names, bug #527432
371 - # http://article.gmane.org/gmane.linux.bluez.kernel/67230
372 - "${FILESDIR}"/bluez-5.39-systemd-quote.patch
373 -
374 - # Fedora patches
375 - # http://www.spinics.net/lists/linux-bluetooth/msg40136.html
376 - "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
377 -
378 - # ???
379 - "${FILESDIR}"/0004-agent-Assert-possible-infinite-loop.patch
380 -)
381 -
382 -pkg_setup() {
383 - enewgroup plugdev
384 -
385 - if use test || use test-programs; then
386 - python-single-r1_pkg_setup
387 - fi
388 -
389 - if ! use udev; then
390 - ewarn
391 - ewarn "You are installing ${PN} with USE=-udev. This means various bluetooth"
392 - ewarn "devices and adapters from Apple, Dell, Logitech etc. will not work,"
393 - ewarn "and hid2hci will not be available."
394 - ewarn
395 - fi
396 -}
397 -
398 -src_prepare() {
399 - default
400 -
401 - # http://www.spinics.net/lists/linux-bluetooth/msg38490.html
402 - ! use user-session && eapply "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch
403 -
404 - if use cups; then
405 - sed -i \
406 - -e "s:cupsdir = \$(libdir)/cups:cupsdir = $(cups-config --serverbin):" \
407 - Makefile.{in,tools} || die
408 - fi
409 -
410 - # Broken test https://bugzilla.kernel.org/show_bug.cgi?id=196621
411 - sed -i -e '/unit_tests += unit\/test-gatt\b/d' Makefile.am || die
412 -
413 - eautoreconf
414 -
415 - multilib_copy_sources
416 -}
417 -
418 -multilib_src_configure() {
419 - local myconf=(
420 - # readline is automagic when client is enabled
421 - # --enable-client always needs readline, bug #504038
422 - # --enable-mesh is handled in the same way
423 - ac_cv_header_readline_readline_h=$(multilib_native_usex readline)
424 - ac_cv_header_readline_readline_h=$(multilib_native_usex mesh)
425 - )
426 -
427 - if ! multilib_is_native_abi; then
428 - myconf+=(
429 - # deps not used for the library
430 - {DBUS,GLIB}_{CFLAGS,LIBS}=' '
431 - )
432 - fi
433 -
434 - # btpclient disabled because we don't have ell library in the tree
435 - econf \
436 - --localstatedir=/var \
437 - --disable-android \
438 - --disable-btpclient \
439 - --enable-datafiles \
440 - --enable-experimental \
441 - --enable-optimization \
442 - $(use_enable debug) \
443 - --enable-pie \
444 - --enable-threads \
445 - --enable-library \
446 - --enable-tools \
447 - --enable-manpages \
448 - --enable-monitor \
449 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
450 - --with-systemduserunitdir="$(systemd_get_userunitdir)" \
451 - $(multilib_native_use_enable alsa midi) \
452 - $(multilib_native_use_enable cups) \
453 - $(multilib_native_use_enable deprecated) \
454 - $(multilib_native_use_enable experimental) \
455 - $(multilib_native_use_enable mesh) \
456 - $(multilib_native_use_enable obex) \
457 - $(multilib_native_use_enable readline client) \
458 - $(multilib_native_use_enable systemd) \
459 - $(multilib_native_use_enable test-programs test) \
460 - $(multilib_native_use_enable udev) \
461 - $(multilib_native_use_enable udev sixaxis)
462 -}
463 -
464 -multilib_src_compile() {
465 - if multilib_is_native_abi; then
466 - default
467 - else
468 - emake -f Makefile -f - libs \
469 - <<<'libs: $(lib_LTLIBRARIES)'
470 - fi
471 -}
472 -
473 -multilib_src_test() {
474 - multilib_is_native_abi && default
475 -}
476 -
477 -multilib_src_install() {
478 - if multilib_is_native_abi; then
479 - emake DESTDIR="${D}" install
480 -
481 - # Only install extra-tools when relevant USE flag is enabled
482 - if use extra-tools; then
483 - ewarn "Upstream doesn't support using this tools and their bugs are"
484 - ewarn "likely to be ignored forever, also that tools can break"
485 - ewarn "without previous announcement."
486 - ewarn "Upstream also states all this tools are not really needed,"
487 - ewarn "then, if you still need to rely on them, you must ask them"
488 - ewarn "to either install that tool by default or add the needed"
489 - ewarn "functionality to the existing 'official' tools."
490 - ewarn "Please report this issues to:"
491 - ewarn "http://www.bluez.org/development/lists/"
492 -
493 - # Upstream doesn't install this, bug #524640
494 - # http://permalink.gmane.org/gmane.linux.bluez.kernel/53115
495 - # http://comments.gmane.org/gmane.linux.bluez.kernel/54564
496 - # gatttool is only built with readline, bug #530776
497 - dobin attrib/gatttool
498 - dobin tools/btmgmt
499 - fi
500 -
501 - # Unittests are not that useful once installed, so make them optional
502 - if use test-programs; then
503 - # example-gatt-client is the only one needing
504 - # python3, the others are python2 only. Remove
505 - # until we see how to pull in python2 and python3
506 - # for runtime
507 - rm "${ED}"/usr/$(get_libdir)/bluez/test/example-gatt-server || die
508 - rm "${ED}"/usr/$(get_libdir)/bluez/test/example-gatt-client || die
509 - python_fix_shebang "${ED}"/usr/$(get_libdir)/bluez/test
510 - for i in $(find "${ED}"/usr/$(get_libdir)/bluez/test -maxdepth 1 -type f ! -name "*.*"); do
511 - dosym "${i}" /usr/bin/bluez-"${i##*/}"
512 - done
513 - fi
514 - else
515 - emake DESTDIR="${D}" \
516 - install-includeHEADERS \
517 - install-libLTLIBRARIES \
518 - install-pkgconfigDATA
519 - fi
520 -}
521 -
522 -multilib_src_install_all() {
523 - # We need to ensure obexd can be spawned automatically by systemd
524 - # when user-session is enabled:
525 - # http://marc.info/?l=linux-bluetooth&m=148096094716386&w=2
526 - # https://bugs.gentoo.org/show_bug.cgi?id=577842
527 - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804908
528 - # https://bugs.archlinux.org/task/45816
529 - # https://bugzilla.redhat.com/show_bug.cgi?id=1318441
530 - # https://bugzilla.redhat.com/show_bug.cgi?id=1389347
531 - use user-session && ln -s "${ED}"/usr/lib/systemd/user/obex.service "${ED}"/usr/lib/systemd/user/dbus-org.bluez.obex.service
532 -
533 - find "${D}" -name '*.la' -delete || die
534 -
535 - keepdir /var/lib/bluetooth
536 -
537 - # Upstream don't want people to play with them
538 - # But we keep installing them due to 'historical' reasons
539 - insinto /etc/bluetooth
540 - local d
541 - for d in input network; do
542 - doins profiles/${d}/${d}.conf
543 - done
544 - doins src/main.conf
545 -
546 - newinitd "${FILESDIR}"/bluetooth-init.d-r4 bluetooth
547 -
548 - einstalldocs
549 - use doc && dodoc doc/*.txt
550 - ! use systemd && readme.gentoo_create_doc
551 -}
552 -
553 -pkg_postinst() {
554 - ! use systemd && readme.gentoo_print_elog
555 -
556 - use udev && udev_reload
557 - systemd_reenable bluetooth.service
558 -
559 - has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp."
560 -}