diff options
author | 2014-05-09 13:59:23 +0000 | |
---|---|---|
committer | 2014-05-09 13:59:23 +0000 | |
commit | 483d423808c410cc66339c5539c41e319704eabb (patch) | |
tree | 3b7f32de93dd7879787665245a659f1e5e10f8ed /net-wireless/bluez | |
parent | Bump to 2.11 (diff) | |
download | historical-483d423808c410cc66339c5539c41e319704eabb.tar.gz historical-483d423808c410cc66339c5539c41e319704eabb.tar.bz2 historical-483d423808c410cc66339c5539c41e319704eabb.zip |
Introduce multilib support.
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'net-wireless/bluez')
-rw-r--r-- | net-wireless/bluez/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/bluez/Manifest | 22 | ||||
-rw-r--r-- | net-wireless/bluez/bluez-4.101-r9.ebuild | 204 | ||||
-rw-r--r-- | net-wireless/bluez/bluez-5.18-r1.ebuild | 193 |
4 files changed, 423 insertions, 5 deletions
diff --git a/net-wireless/bluez/ChangeLog b/net-wireless/bluez/ChangeLog index 8d176179c255..0a7453e2d324 100644 --- a/net-wireless/bluez/ChangeLog +++ b/net-wireless/bluez/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/bluez # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.202 2014/05/04 12:13:02 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.203 2014/05/09 13:59:20 mgorny Exp $ + +*bluez-5.18-r1 (09 May 2014) +*bluez-4.101-r9 (09 May 2014) + + 09 May 2014; Michał Górny <mgorny@gentoo.org> +bluez-4.101-r9.ebuild, + +bluez-5.18-r1.ebuild: + Introduce multilib support. 04 May 2014; Pacho Ramos <pacho@gentoo.org> bluez-5.18.ebuild: x86 stable, bug 508862 diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest index f1c62b898d98..c639d515671f 100644 --- a/net-wireless/bluez/Manifest +++ b/net-wireless/bluez/Manifest @@ -18,15 +18,29 @@ DIST bluez-5.15.tar.xz 1242876 SHA256 487bd75697e565793bf5bc4fbd5fa6a602788313b0 DIST bluez-5.17.tar.xz 1292244 SHA256 0bd7f009225fff83ba4b3697a6b04d04454ef2cd15d6bb2bd62591c44cfe973a SHA512 9427a100f676c7ad824735b137b8dc9c51265b74b220f9c9cc886f6373dd995deccc20bdabdbe22763392f0afb7ec009be0d3c1356fc680957e9f19ed135cb6e WHIRLPOOL acfd255b9128fed00e1cefb52792c7cb4b27028a566e5df3a9cf7aa92e8f0ee4449aa01bae5a46d15ae6abf1abe9e856a6091b8a59d24be438ab9abe4aee14a6 DIST bluez-5.18.tar.xz 1308192 SHA256 8c8bb13db83d0de6c85def2da8dfa0a758aff595405fb57a00719ed94d558340 SHA512 fbf5d68ae6a0c5c33fb0c645f0b6625624ffb08aa498147c90df53c5a5b3a9e67dc4ae5fcba81fb8399755287ca78cc31f936e7ac3a7760fde9783408a459188 WHIRLPOOL 3cf2e66fc05c996cf2ca2dcb1cd17dc248b0f8ff3ddb95f656b5229058888816a5591ff74f270de88a192e60bcd07145cbf81839e0291fc1316f92e6b1db19f3 EBUILD bluez-4.101-r8.ebuild 4240 SHA256 b6a8079aaa7d88894758ae5ebb9c0e45099c1593e6a4d2814aa521a55f58eac2 SHA512 149053e66990a699dc393b98d3b009d01174d88704195fc7e80831701fff1c1bd32b60a31e9642170b10d52b2211452de4309c75478fe78ae5640f161b8e639b WHIRLPOOL 15710a42aeda2fa1ce49525eb8281844d5f0e7f4f637b677aaad41d510145fba1ef5932fcd1a0fa9cdaeca0b9100bdd1059574caead836c09476f6d9f2928f80 +EBUILD bluez-4.101-r9.ebuild 5278 SHA256 9d66a5f1645af92b2a801ecbb17791200ea67b256d0732e833fad19c83654927 SHA512 43a0056828f05a857ea1598d2c7d6f1999dff0d5d83a1afd39087bb69ba4684033d101b29dce3c438ddc1f32b18195923a07d0feaa630435623f35797dfe1df2 WHIRLPOOL fea6888d6c7f796ee635472d6bf943c8b9bfde93477654b744de39ea87cf945059b6172a59db5ea539d6354ebd0d9e8304925c8266cbbe4e017564b9a151ae06 EBUILD bluez-5.15.ebuild 3959 SHA256 d44cc23eb74541d1fa354be65e0797a8a8fbe55bb1514f3d32af5e3a8ab8ec3a SHA512 22e00c35a1b764a39925778ea22c624294e3670936a67e0d70d54501c551f11dfe1e6c8ca69d23c36d1f65047e19e58a91b617a90a23ef0640ed2e97dc98b488 WHIRLPOOL 4c9c327c88e4e80007e5f769a55960311d70fa9414640c5723e714c5af2828b597c7b61aab945da7098f3a9fb0b27d0e5ab480b2bd4b0b6f969b837d110ab3f8 EBUILD bluez-5.17.ebuild 4279 SHA256 267089bc4e648fae5516712c831cc54a13980940a684e925432fdcb5363597c6 SHA512 dfa5b83580f8193a612039a8f0f98cac25907fed572006ddfdbb37776e63dc5e5f534e4c6cb97df6a511decca83d61837dbb12440e0a07e403848f5d9d26e3cf WHIRLPOOL fe0d74cf6cff34b1c37edd6e2ba3a2f026e7808053f6935c7148da63e4acb280bcaf343c9d6e0ee683638a748acbba47107f1064a53fd96427d1da5aa2bfdc08 +EBUILD bluez-5.18-r1.ebuild 5106 SHA256 92c4d5782368f0c72f76e5e3706ad9d4b8c8caa83658a9f6cdf4332f776451ef SHA512 41ac7afa6e47cfd849acb76ac7d6047ccdabfd3aec64dc0e98c91017f639db42afff1f27527d27557decdeed03566c71ca01ba762773ff7118fdcdabf4e3efb5 WHIRLPOOL fa971d24951dc1fe1d7ab2ed9876097e8daf8a6b2852394c9705c6ad2d35b97d031a67691deeb68997ea0db2dc756a9170635d0fffda6a20eaf7c201d360ee45 EBUILD bluez-5.18.ebuild 4227 SHA256 9dbad0aff678789031b59e8d99228bca003f9694e5e4c1d5385dcfcc43dab5a7 SHA512 3e8101d17c85e84caaa21823beca3b1f76423b8caa1894acfca1c6f50003cf1fa97a38e775b0356258b623c7fd3f17dfa1267f65cb6763edaa7bb644b455d433 WHIRLPOOL 5339d46fef3f5343b8188d9d5c36fc657728c3d162b19cd6d26dddaf359db8e1e2b9f081e7e8ffff468607590089da6b5b919eca5836d22aab0963622c5bc06e -MISC ChangeLog 36968 SHA256 9b990dfa617ab810e8c993231633769f661e9a92647ab87de17bcb2df40a03a0 SHA512 cc204c52bef8590ffa4f5287f8a696d7e4585252be183cb98a7bfeee1fb691fc015dbd254f6b079386ee4a366726cc7cc4b7935ae2e78226c938f9e60fb174e1 WHIRLPOOL 5753c092c252f94003dc41807f13867eb6353c39bbb535e32e160a1193e814724c8854bba90e0108ea9ba066291b32aae4dde3936fc9b4e989d4605ea7b22f22 +MISC ChangeLog 37159 SHA256 ae36f9adb66c593f22f2dd626143acdb07db91ed4d4b8e6ffd72c510452dbf7b SHA512 a0514f75be8338811b7166273bcda122701d3015ebecf91a199342bfb4352dec62d30518dbb23b22da222de0cc8f327385fa245a01b77165ae64142da6b3111d WHIRLPOOL 771c799c0566c1a647949b79ed5f6bca3224de1a8764b6e4cba42b09f596b0942f599e7259385b6f7121933512afa4c758566361cd467fb81c695def3b7a5741 MISC metadata.xml 759 SHA256 e649a4a8180f678ead82c6b8fd8d02cecc19f0c592fb059cbbadf14c3028da7f SHA512 91e8f285f398cbd6bd7e739433df5efab185bfcbc755e403639ac504fd8c5699531b205b0a54c4da24785268d8c5b18b06db30536484576726afede6a67c8184 WHIRLPOOL 459f9d3e931bd0c7962ef8633ed28292ca30835f60ff8eabf067051606509ee411d4aafa8e95e1ebfdc626f35e95ae6516b7469b984fcddddae0db3bb007d9a4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlNmLtAACgkQCaWpQKGI+9TuAACfbOwei7aLKAuMBnqeoOGCjyoG -AEwAniQyDv9NEmlZDjozeu9jO8eIYmA3 -=yrpf +iQJ8BAEBCABmBQJTbN87XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC +MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZO1DsP/R2ed1DVHPdVUe8FrxePWKvU +g1Nmx78XfiFmjVSThZXBzkvgK/q7u7vpmh4XkMnpzRMI2jN9x31VtayjR7e8tiy9 +WC4M4HZ3XqJ7w+3maAdzTWcKTU6Mgr3QmT4ciCOI1zRTPjux8u+7RHd85WDmtpZV +2oJOSmy+Fvz/lT/7/jEVqJT5x8nia82eCZ7Wp83nMFWiOf9w6Q84Vsj5XuguXtrU +gLiJCS185PGYia8NBP2jU+LEWR+GcObXYFQQpOcMauGp34ISXi3umO+p8Bt0SuR5 +eCKqdV4IbJhlpd3O3EHWCgOhRCKbCgctMHtULH2dRknPg5m4I3mgeQm6oYoRFuZC +V2X3Uud4R75gQGxceCz46Z2a34LD1B9ABXWPBp1rTOWulXtxOyiFquXzOkb4yzJJ +Aq+hOZSy4Z2ogLmKHV6IHMYcFO0fHycTTkJB+RZuY23ifLq0qejXfDJbcoPX2qvy +F1fVegM9xga30NuCkH/NNoHh/ECbnF12OcXjNrbpJGsz63xiWR+CXWbmd0WocFB4 +gI6+dqhsswHIhpU6yr7YTSvIXGtvHFOf5+gbjjvDEmEJdVpf0zTF0GnbI020ErUq +fttnkg8htHf90d25L3Pkgi3v3tFmty4Bn0dlHJLjy9fImRdH/JFoZBh+XApuqRo0 +PS5aYG7RhaiBBhTJLezT +=R8YZ -----END PGP SIGNATURE----- diff --git a/net-wireless/bluez/bluez-4.101-r9.ebuild b/net-wireless/bluez/bluez-4.101-r9.ebuild new file mode 100644 index 000000000000..fc0fd466e2d4 --- /dev/null +++ b/net-wireless/bluez/bluez-4.101-r9.ebuild @@ -0,0 +1,204 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-4.101-r9.ebuild,v 1.1 2014/05/09 13:59:20 mgorny Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7} ) +inherit autotools eutils multilib python-single-r1 readme.gentoo \ + systemd user multilib-minimal + +DESCRIPTION="Bluetooth Tools and System Daemons for Linux" +HOMEPAGE="http://www.bluez.org/" +SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz + http://dev.gentoo.org/~pacho/bluez/${P}-patches.tar.xz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="alsa cups debug gstreamer hid2hci pcmcia readline selinux test-programs usb" + +REQUIRED_USE="test-programs? ( ${PYTHON_REQUIRED_USE} )" + +# TODO: revisit USE=gstreamer once gstreamer is ported to multilib + +CDEPEND=" + >=dev-libs/glib-2.28:2 + >=sys-apps/dbus-1.6:= + >=sys-apps/hwids-20121202.2 + >=virtual/udev-171 + alsa? ( + media-libs/alsa-lib:=[${MULTILIB_USEDEP},alsa_pcm_plugins_extplug(+),alsa_pcm_plugins_ioplug(+)] + media-libs/libsndfile:= + ) + cups? ( net-print/cups:= ) + gstreamer? ( + >=media-libs/gstreamer-0.10:0.10 + >=media-libs/gst-plugins-base-0.10:0.10 + ) + readline? ( sys-libs/readline:= ) + selinux? ( sec-policy/selinux-bluetooth ) + usb? ( virtual/libusb:0 ) +" +DEPEND="${CDEPEND} + sys-devel/flex + virtual/pkgconfig[${MULTILIB_USEDEP}] + test-programs? ( >=dev-libs/check-0.9.6 ) +" +RDEPEND="${CDEPEND} + test-programs? ( + >=dev-python/dbus-python-1 + dev-python/pygobject:2 + dev-python/pygobject:3 + ${PYTHON_DEPS} + ) + abi_x86_32? ( + !<app-emulation/emul-linux-x86-soundlibs-20140406-r1 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32] + ) +" + +DOCS=( AUTHORS ChangeLog README ) + +DOC_CONTENTS=" + If you want to use rfcomm as a normal user, you need to add the user + to the uucp group. +" + +pkg_setup() { + enewgroup plugdev + use test-programs && python-single-r1_pkg_setup +} + +src_prepare() { + # Fedora patches + epatch "${WORKDIR}/${P}-patches"/*.patch + + # Use static group "plugdev" if there is no ConsoleKit (or systemd logind) + epatch "${FILESDIR}"/bluez-plugdev.patch + + sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die + + eautoreconf + + if use cups; then + sed -i \ + -e "s:cupsdir = \$(libdir)/cups:cupsdir = `cups-config --serverbin`:" \ + Makefile.{in,tools} || die + fi + + multilib_copy_sources +} + +multilib_src_configure() { + local myconf=( + ac_cv_header_readline_readline_h=$(multilib_native_usex readline) + ) + + if ! multilib_is_native_abi; then + myconf+=( + # deps not used for the library + {DBUS,GLIB}_{CFLAGS,LIBS}=' ' + ) + fi + + # Missing flags: --enable-{sap,hidd,pand,dund,dbusoob,gatt} + # Keep this in ./configure --help order! + econf \ + --localstatedir=/var \ + --enable-network \ + --enable-serial \ + --enable-input \ + --enable-audio \ + --enable-service \ + --enable-health \ + --enable-pnat \ + $(multilib_native_use_enable gstreamer) \ + $(use_enable alsa) \ + $(multilib_native_use_enable usb) \ + $(multilib_native_use_enable usb cable) \ + --enable-tools \ + --enable-bccmd \ + $(use_enable pcmcia) \ + $(multilib_native_use_enable hid2hci) \ + --enable-dfutool \ + $(multilib_native_use_enable cups) \ + $(multilib_native_use_enable test-programs test) \ + --enable-datafiles \ + $(use_enable debug) \ + --enable-maemo6 \ + --enable-wiimote \ + --disable-hal \ + --with-ouifile=/usr/share/misc/oui.txt \ + --with-systemdunitdir="$(systemd_get_unitdir)" +} + +multilib_src_compile() { + if multilib_is_native_abi; then + default + else + emake -f Makefile -f - libs \ + <<<'libs: $(lib_LTLIBRARIES) $(alsa_LTLIBRARIES)' + fi +} + +multilib_src_test() { + multilib_is_native_abi && default +} + +multilib_src_install() { + if multilib_is_native_abi; then + emake DESTDIR="${D}" install + else + emake DESTDIR="${D}" \ + install-includeHEADERS \ + install-libLTLIBRARIES \ + install-alsaLTLIBRARIES \ + install-pkgconfigDATA + fi + + if multilib_is_native_abi && use test-programs; then + pushd test >/dev/null + dobin simple-agent simple-service monitor-bluetooth + newbin list-devices list-bluetooth-devices + rm test-textfile.{c,o} || die #356529 + local b + for b in hsmicro hsplay test-*; do + newbin "${b}" bluez-"${b}" + done + insinto /usr/share/doc/${PF}/test-services + doins service-* + python_fix_shebang "${ED}" + popd >/dev/null + fi +} + +multilib_src_install_all() { + insinto /etc/bluetooth + local d + for d in input audio network serial; do + doins ${d}/${d}.conf + done + + newinitd "${FILESDIR}"/bluetooth-init.d-r2 bluetooth + newinitd "${FILESDIR}"/rfcomm-init.d rfcomm + newconfd "${FILESDIR}"/rfcomm-conf.d rfcomm + + readme.gentoo_create_doc + + prune_libtool_files --modules +} + +pkg_postinst() { + readme.gentoo_print_elog + + udevadm control --reload-rules + + has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp." + + if ! has_version sys-auth/consolekit && ! has_version sys-apps/systemd; then + elog "Since you don't have sys-auth/consolekit neither sys-apps/systemd, you will only" + elog "be able to run bluetooth clients as root. If you want to be able to run bluetooth clientes as" + elog "a regular user, you need to enable the consolekit use flag for this package or" + elog "to add the user to the plugdev group." + fi +} diff --git a/net-wireless/bluez/bluez-5.18-r1.ebuild b/net-wireless/bluez/bluez-5.18-r1.ebuild new file mode 100644 index 000000000000..1646000a5ce1 --- /dev/null +++ b/net-wireless/bluez/bluez-5.18-r1.ebuild @@ -0,0 +1,193 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-5.18-r1.ebuild,v 1.1 2014/05/09 13:59:20 mgorny Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) + +inherit eutils multilib python-any-r1 readme.gentoo systemd \ + udev user multilib-minimal + +DESCRIPTION="Bluetooth Tools and System Daemons for Linux" +HOMEPAGE="http://www.bluez.org" +SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0/3" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="cups debug +obex +readline selinux systemd test +udev" +REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/glib-2.28:2 + >=sys-apps/dbus-1.6:= + >=sys-apps/hwids-20121202.2 + cups? ( net-print/cups:= ) + obex? ( dev-libs/libical ) + readline? ( sys-libs/readline:= ) + selinux? ( sec-policy/selinux-bluetooth ) + systemd? ( sys-apps/systemd ) + udev? ( >=virtual/udev-171 ) + abi_x86_32? ( + !<app-emulation/emul-linux-x86-soundlibs-20140406-r1 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32] + ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( + ${PYTHON_DEPS} + >=dev-python/dbus-python-1 + dev-python/pygobject:2 + dev-python/pygobject:3 + ) +" + +DOC_CONTENTS=" + If you want to use rfcomm as a normal user, you need to add the user + to the uucp group. +" + +pkg_setup() { + enewgroup plugdev + use test && python-any-r1_pkg_setup + + if ! use udev; then + ewarn + ewarn "You are installing ${PN} with USE=-udev. This means various bluetooth" + ewarn "devices and adapters from Apple, Dell, Logitech etc. will not work," + ewarn "and hid2hci will not be available." + ewarn + fi +} + +src_prepare() { + # Use static group "plugdev" if there is no ConsoleKit (or systemd logind) + epatch "${FILESDIR}"/bluez-plugdev.patch + + # Fedora patches + # http://www.spinics.net/lists/linux-bluetooth/msg38490.html + epatch "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch + + # http://www.spinics.net/lists/linux-bluetooth/msg40136.html + epatch "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch + + # http://www.spinics.net/lists/linux-bluetooth/msg41264.html + epatch "${FILESDIR}"/0002-autopair-Don-t-handle-the-iCade.patch + + # ??? + epatch "${FILESDIR}"/0004-agent-Assert-possible-infinite-loop.patch + + # Ubuntu workaround for bug #501120 + epatch "${FILESDIR}"/0001-work-around-Logitech-diNovo-Edge-keyboard-firmware-i.patch + + if use cups; then + sed -i \ + -e "s:cupsdir = \$(libdir)/cups:cupsdir = $(cups-config --serverbin):" \ + Makefile.{in,tools} || die + fi + + multilib_copy_sources +} + +multilib_src_configure() { + local myconf=( + # readline is automagic when client is enabled + # --enable-client always needs readline, bug #504038 + ac_cv_header_readline_readline_h=$(multilib_native_usex readline) + ) + + if ! multilib_is_native_abi; then + myconf+=( + # deps not used for the library + {DBUS,GLIB}_{CFLAGS,LIBS}=' ' + ) + fi + + # Missing flags: experimental (sap, nfc, ...) + econf \ + --localstatedir=/var \ + --disable-android \ + --enable-experimental \ + --enable-optimization \ + $(use_enable debug) \ + --enable-pie \ + --enable-threads \ + --enable-library \ + $(multilib_native_use_enable test) \ + --enable-tools \ + --enable-monitor \ + $(multilib_native_use_enable cups) \ + $(multilib_native_use_enable obex) \ + $(multilib_native_use_enable readline client) \ + $(multilib_native_use_enable systemd) \ + $(systemd_with_unitdir) \ + $(multilib_native_use_enable udev) \ + $(multilib_native_use_enable udev sixaxis) +} + +multilib_src_compile() { + if multilib_is_native_abi; then + default + else + emake -f Makefile -f - libs \ + <<<'libs: $(lib_LTLIBRARIES)' + fi +} + +multilib_src_test() { + multilib_is_native_abi && default +} + +multilib_src_install() { + if multilib_is_native_abi; then + emake DESTDIR="${D}" install + + # Unittests are not that useful once installed + if use test ; then + rm -r "${ED}"/usr/$(get_libdir)/bluez/test || die + fi + else + emake DESTDIR="${D}" \ + install-includeHEADERS \ + install-libLTLIBRARIES \ + install-pkgconfigDATA + fi +} + +multilib_src_install_all() { + prune_libtool_files --modules + + keepdir /var/lib/bluetooth + + insinto /etc/bluetooth + local d + for d in input network proximity; do + doins profiles/${d}/${d}.conf + done + + doins src/main.conf + doins src/bluetooth.conf + + insinto /usr/share/dbus-1/system-services + doins src/org.bluez.service + + newinitd "${FILESDIR}"/bluetooth-init.d-r3 bluetooth + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + + use udev && udev_reload + + has_version net-dialup/ppp || elog "To use dial up networking you must install net-dialup/ppp." + + if ! has_version sys-auth/consolekit && ! has_version sys-apps/systemd; then + elog "Since you don't have sys-auth/consolekit neither sys-apps/systemd, you will only" + elog "be able to run bluetooth clients as root. If you want to be able to run bluetooth clientes as" + elog "a regular user, you need to enable the consolekit use flag for this package or" + elog "to add the user to the plugdev group." + fi +} |