diff options
author | Pacho Ramos <pacho@gentoo.org> | 2015-02-11 17:31:19 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2015-02-11 17:31:19 +0000 |
commit | 56f0d729b15f9bb63d4a792ebdfab431274c95ff (patch) | |
tree | 25f4af84109d784460b395fb5eee292c604c67bf /net-wireless | |
parent | Stabilize for all. (diff) | |
download | historical-56f0d729b15f9bb63d4a792ebdfab431274c95ff.tar.gz historical-56f0d729b15f9bb63d4a792ebdfab431274c95ff.tar.bz2 historical-56f0d729b15f9bb63d4a792ebdfab431274c95ff.zip |
Version bump, mcaptest is no longer installed per upstream decission http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=2aec81f1fadf66773a8bf75632b817207469d8df
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/bluez/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/bluez/Manifest | 20 | ||||
-rw-r--r-- | net-wireless/bluez/bluez-5.28.ebuild | 204 |
3 files changed, 218 insertions, 15 deletions
diff --git a/net-wireless/bluez/ChangeLog b/net-wireless/bluez/ChangeLog index 2edc5fbb7fd7..90d840a66af0 100644 --- a/net-wireless/bluez/ChangeLog +++ b/net-wireless/bluez/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/bluez # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.234 2015/02/11 16:10:08 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.235 2015/02/11 17:31:18 pacho Exp $ + +*bluez-5.28 (11 Feb 2015) + + 11 Feb 2015; Pacho Ramos <pacho@gentoo.org> +bluez-5.28.ebuild: + Version bump, mcaptest is no longer installed per upstream decission http://gi + t.kernel.org/cgit/bluetooth/bluez.git/commit/?id=2aec81f1fadf66773a8bf75632b81 + 7207469d8df 11 Feb 2015; Mike Frysinger <vapier@gentoo.org> bluez-5.27.ebuild: Add mips love. diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest index 5d4a1f7cc5cc..4b89e401e203 100644 --- a/net-wireless/bluez/Manifest +++ b/net-wireless/bluez/Manifest @@ -16,25 +16,17 @@ DIST bluez-4.101-patches.tar.xz 12380 SHA256 ea4b837245080ebe904fe4f338cd3c8c137 DIST bluez-4.101.tar.xz 887236 SHA256 41f9578bef39b8c94a2d6ddeaa556afd22d136936d0f03100e422fe970a45a7d SHA512 c8a88fa6948e43c81687047856806c9dc576d3223371947b496f228dec2b2614d1c5a8ff587e9f26eec44843a50503c55861f9fa736fdba43b2364f663f0cb0d WHIRLPOOL 0c4f163e4f4d0ba8f7928f5330ac3fd5f204c299346c59e73b64ebb331b0887a2b01e8ed6f4e6ae91f826a0431df4f97fe3a0900fa6013ae66fd755aaa136196 DIST bluez-5.25.tar.xz 1479312 SHA256 5ca62f3f45e2638a0f7a81658d6c8813ee01487436ae8e53e9fe395e23d1fd30 SHA512 2e13c552e771a9066c3170dfca43cca8a16b3afa3580b90ff065301e3a85d35ac47b145f5aa4db42001c466675994e9115d5c1909b7abe76c381114b7f4d872a WHIRLPOOL 28dfe9e7a6eb9a1cb81001f7183a26b3a3cf8d6383b4c6d17e0b851eeb87497e23c8262a07564cb1cc0fcec128627503ff266d17c86c7ebd8906b9c714dc5df1 DIST bluez-5.27.tar.xz 1542348 SHA256 fbf33cebc76f8c81f28f0d67c71a8a1ec4b04b087460ec7353f7e0c207a1f981 SHA512 5e5e3ec17b4552027559083effb076e9c7d45528765fb27ca1aa1f3d8bb6a4a79c9fda91392f7b5b6da7aabf2b2b6e5bb16b0546323901501a93c53f79a66324 WHIRLPOOL a60350833a3d103ca5070dfe12fd34d312260511c3817bbecbcdc04e3c2898f0d5bab66fa9885778f0116c2a4ac9930cc00dc0c9883d7a70abf2270a49a14309 +DIST bluez-5.28.tar.xz 1553592 SHA256 85bab48f4b47a158739028682c1e09cf30099c8ea9dfe63360055f8e06fc18a9 SHA512 7945604d8fcce86a6c89b04ae5f1c6a7c5e3d7f4788f42e9e0faab0377119b70da319d9eabf05d58e1f91d090996f04194589db313de3cdb5d8e2a9aa5fe3036 WHIRLPOOL 1ee91548a8d32ae530ed5c4e74350eab061eade6bb876a1d9f24922d791990eb570d4b1d85966b8f400bd49a6680d9516dbdbbe5a2208b5ea30f9a58dd655551 EBUILD bluez-4.101-r9.ebuild 5290 SHA256 63c55aae8588448a5bf761ade1e988237a55a1305d301ff13ab20f7305528875 SHA512 f807d991af88accb10a4f21ae14a08817ca4c125b6d5bfd0292483397d4bbac347f8cab8162de78ff18f819973d5a9e6b483126eb4b854216a021fee699f26b6 WHIRLPOOL 014617996ca15da044bc3b9e46c0991deee797f4c5721f246dd102547077a12b21f97b05b48ded492aff98021e2b39e67ba036e11ad8358727231aa6822e1e06 EBUILD bluez-5.25.ebuild 5608 SHA256 dc2e1119c340b9aab7d4bb8c6a3a3683c68dfc893779a21896a52ae64fcaadfe SHA512 422ad80eb9f36f8d115f667a450a1014799774138c8cb0ad7b40b8cfb033e62297c04e975d060ab5e9a43d3ad52e2c0a8fb2b2acd1e40d478f2cc0a41271796f WHIRLPOOL c4d0f97e398ba5315eda12cf449e0ed3b85bf887796b9f34dfbcc9696d848dac1a2cf4d6ee09f8c5d55b489eee05a7b095d0a1cb40f39870908f6ba2afb55bd4 EBUILD bluez-5.27.ebuild 5619 SHA256 f56822cd8442ded5dc89c94506b29cdd70afdac8899fb5b93c24e3c38cab5cea SHA512 ee61f04d8ec42c70b6c4a54599387b2771988fb996b7655ba7635c867ef7fb9239c683350fb0e197b9b934803f7869e51fdfa6bf53cde5558bd6aeea797e0085 WHIRLPOOL 015831b0eca21cff9a2841238292971f7d205bd1f1aca31e07e5b9a431c5fedc4978a16b5e1971a33b5dc1ca86e5055c111acad7da3e7fc8ea278dfee414b57f -MISC ChangeLog 41355 SHA256 df940b160ee753aeb68af54864158e0afa6b7e406f75750f743ec3a3ac54d1f4 SHA512 108680d4e1037d9dde954ffb6d531503e0088f9adbcda55c28b5d32842a7092de7c782d19be43c1817b548579654c359a72f3e8149eb5c6b00d398ca08ef15ea WHIRLPOOL f65f6dbe3b14290d073ad44c239899889439a080812a1f589e099940a62cc737ba39b97f761e941407656dca28425b79329d83be80d228c0d72516858557d277 +EBUILD bluez-5.28.ebuild 5486 SHA256 fb1b1f89a3a32998ccb92f7ae65f25edbc92186dc18bdefb1b5df4dad0fdb222 SHA512 da9f11146296834101f95965944a19f73f15417aee60f7bb6e06d03987fba5658ebbf8dae91a3e3db3d6df664cb1078db6b3567e5020f9ceddffc86377729d80 WHIRLPOOL 9d4b479603707b2a9c4b12a73d198b522e7d4d281e51722ab937f76dc1419a1c3db204648937ce180c763037d56b25b879dd0b98c4e3d983cbceb30ae7d1474d +MISC ChangeLog 41624 SHA256 4ab4be47877930b3a8841a0bde083cefbb2c2fb909ae9a8dff900ed02c8610ad SHA512 ca40172b5ab6e2bbbc4d394c8212ea68ff7ef61f4b11364841f5bea6ebd76da777d98198b755959798d3410dac04a90edf5e3712620ae4e922324c0161bb3cf9 WHIRLPOOL 1fab00bbba9b4c2d2b063e0fb112524af35cbde71186fdb786699d07c1dd10abcfe2254c569f11e9c6cb93d504e47c2671a1d171a18cda789d97a4b496db0724 MISC metadata.xml 759 SHA256 e649a4a8180f678ead82c6b8fd8d02cecc19f0c592fb059cbbadf14c3028da7f SHA512 91e8f285f398cbd6bd7e739433df5efab185bfcbc755e403639ac504fd8c5699531b205b0a54c4da24785268d8c5b18b06db30536484576726afede6a67c8184 WHIRLPOOL 459f9d3e931bd0c7962ef8633ed28292ca30835f60ff8eabf067051606509ee411d4aafa8e95e1ebfdc626f35e95ae6516b7469b984fcddddae0db3bb007d9a4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJU237hAAoJEPGu1DbS6WIAj20P/0jPN7xe6ZPzypDJcomI4UkF -T6W8kza7avXOhIJYMuL8rJVwxnPkTaolnphx5MZuKoYt1jUMn2PYaj1lHm5mrXqF -aPTXZOMP/WYZOB9Hre/PwFArASIMS1TnPUk1AdSMeZh9229ojC2D83EXHZ6e55r7 -Ktl2uImXlSl7FlNMZUdqewRntX47+HDLtRH+59+ZsolAHwPZatKvAl7DhIsk7gWB -jaLFKECVEi+cs5V932W2pEjOmAu1DQ+fjsVu1Uucp9N3nYJFV8b1Bg4lGyxgHybd -IOxKUdt8EaGMUCRCua4Sf4GYOBn0p6UnRegdKoK6IMU6L7jBfrcWBN1DbQ3Quspl -XYQ49uzuRoAkklLMVg1qmxhw4LrbcHo6N3blPg9voGtRBw3elqVUSr3NNoG4tscD -2Da4e4QNuS0vaBNTpcyc1sXrjhgdfU3/cYpFFp8UPzjQDlZGYyKcRHRTrVfOMO2i -Ws3Bi1gYI8XuKQ8yc67CE0UOQVacHH0/QbTjXhR2uWLf+E5KhqVfqpyprJZhYLyH -GF/zzAWZHLRL3uNQYfUYFoJL/vkrgwocIfX5Mb153Dp3QglQzLwc92GyEY0EGV0r -ljWGiPlibZoqrmAcyl1VE6sAfsfKtNBxDrV3i5i4VSgfmFHFU/Lkhd4cE+MxTxPO -NWUo65LcZ+KH+Q0rwKRM -=5cpD +iEYEAREIAAYFAlTbkecACgkQCaWpQKGI+9REAwCcDKS2nk5KzlZDiXoV3d2JODFL +XNQAnijbKx5O7RGhhsSmx6Jo/tNJ+psj +=Heue -----END PGP SIGNATURE----- diff --git a/net-wireless/bluez/bluez-5.28.ebuild b/net-wireless/bluez/bluez-5.28.ebuild new file mode 100644 index 000000000000..90fd7970616a --- /dev/null +++ b/net-wireless/bluez/bluez-5.28.ebuild @@ -0,0 +1,204 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-5.28.ebuild,v 1.1 2015/02/11 17:31:18 pacho Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} ) + +inherit autotools 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 ~mips ~ppc ~ppc64 ~x86" +IUSE="cups debug +obex +readline selinux systemd test +udev" +REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )" + +CDEPEND=" + >=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:= ) + systemd? ( sys-apps/systemd ) + udev? ( >=virtual/udev-172 ) + abi_x86_32? ( + !<app-emulation/emul-linux-x86-soundlibs-20140406-r1 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32] + ) +" +DEPEND="${CDEPEND} + app-arch/xz-utils + virtual/pkgconfig + test? ( + ${PYTHON_DEPS} + >=dev-python/dbus-python-1 + dev-python/pygobject:2 + dev-python/pygobject:3 + ) +" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-bluetooth ) +" +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 + + eautoreconf + + 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 + + econf \ + --localstatedir=/var \ + --disable-android \ + --enable-datafiles \ + --enable-experimental \ + --enable-optimization \ + $(use_enable debug) \ + --enable-pie \ + --enable-threads \ + --enable-library \ + $(multilib_native_use_enable test) \ + --enable-tools \ + --enable-manpages \ + --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 + + # Upstream doesn't install this, bug #524640 + # http://permalink.gmane.org/gmane.linux.bluez.kernel/53115 + # http://comments.gmane.org/gmane.linux.bluez.kernel/54564 + # gatttool is only built with readline, bug #530776 + use readline && dobin attrib/gatttool + dobin tools/hex2hcd + + # 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 + + # Upstream don't want people to play with them + # But we keep installing them due to 'historical' reasons + 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 + + newinitd "${FILESDIR}"/bluetooth-init.d-r3 bluetooth + newinitd "${FILESDIR}"/rfcomm-init.d-r2 rfcomm + + einstalldocs + + 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 clients as" + elog "a regular user, you need to add the user to the plugdev group." + fi +} |