summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/bluez/ChangeLog7
-rw-r--r--net-wireless/bluez/Manifest4
-rw-r--r--net-wireless/bluez/bluez-4.36.ebuild168
3 files changed, 177 insertions, 2 deletions
diff --git a/net-wireless/bluez/ChangeLog b/net-wireless/bluez/ChangeLog
index b91ba4e939c2..fd751b41733b 100644
--- a/net-wireless/bluez/ChangeLog
+++ b/net-wireless/bluez/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-wireless/bluez
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.7 2009/04/07 09:03:39 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/ChangeLog,v 1.8 2009/04/19 08:31:17 dev-zero Exp $
+
+*bluez-4.36 (19 Apr 2009)
+
+ 19 Apr 2009; Tiziano Müller <dev-zero@gentoo.org> +bluez-4.36.ebuild:
+ Version bump (seems to be a bugfix only release).
*bluez-4.34 (07 Apr 2009)
diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest
index abe9055768a5..e1161b2fb812 100644
--- a/net-wireless/bluez/Manifest
+++ b/net-wireless/bluez/Manifest
@@ -11,9 +11,11 @@ DIST bluez-4.21.tar.gz 933080 RMD160 4a451ab0370fab0bfc8ba7750b9298f1b3700308 SH
DIST bluez-4.28.tar.gz 956161 RMD160 a8add4666bc19d009132be0118d075da79e8cba2 SHA1 ff992e8665814f8af0568883fa54f9355865b82b SHA256 8a7ecc1a2ad5b8c46414b58dd3a3519f2979a320ffa7d27c88519a7cf8755493
DIST bluez-4.32.tar.gz 964691 RMD160 6cf25614da8dda99a2d56a9354f300eef72fc67a SHA1 93bfbb3be76cad9713e5f0707b50dcbf3cc52a3a SHA256 447debd3f5c7deea91d459cfe28fd417fb66e9871e8f7926cebaab75e94cd207
DIST bluez-4.34.tar.gz 980050 RMD160 762ce4c970d865eb3067538b67a1e5133319df8c SHA1 d3abcf3cbae9bbced9f255f89f72435b920e09d6 SHA256 1c46b6e219aec9bbd3286e9366de7e6dd05f68ed33b7487fbd211397c890fc40
+DIST bluez-4.36.tar.gz 992743 RMD160 17e796b70865148aba9c534c5bc7f5b110b550ba SHA1 c0c2109c79f74f774497def5858e5f26fcdec2e6 SHA256 e08e1445734797b38f61bb83d197f38e2524ae47db97a8bfea3637035dabc59f
EBUILD bluez-4.21.ebuild 4750 RMD160 4f3787153486ce122200afa63e713adc3238e443 SHA1 b1854ea1bb48ae8842c9951453380173c4d5c094 SHA256 c8b64449e15bb89d5ea633009e40644f5962b89d2aa77183ff961cc37bdf3002
EBUILD bluez-4.28.ebuild 4885 RMD160 f4c735e9b7e5d1a1859a0efe1ae56acbaeeca66f SHA1 5125ed7037b90b284c8281471c2204935d0ad55d SHA256 cd0ef8500c6c1e53944ff78be03d59300ee595e0a87d840964a7902031cfa9f0
EBUILD bluez-4.32.ebuild 4988 RMD160 59a1f1f05d5f533ac9d0dcbe0e9431af01fe2e8b SHA1 b80e22a3317f3b86a08e1aa8d01d59e49f147e78 SHA256 2d2148eb9973142039cce310d802f95ee42e6f00379d14a52da59b5c87c69cba
EBUILD bluez-4.34.ebuild 5048 RMD160 db69cf43125240a5215270b4e0eb9f297171a83d SHA1 81ffcfe152bd8512e2f4d5d8d367de70369cfdb9 SHA256 0aef2c0f7d641c5a7b19300873d9867186d3dcff4f4d3f065785316e9d0a6b86
-MISC ChangeLog 1740 RMD160 a68fdd7c8a3b10210ad378d9d03ffe756223df6a SHA1 4895177babf93ba28839b9403687bdd106d00361 SHA256 3bd5f7ce64a8078bd7c9a048d44205e8b6ae36d08ac665662038f63da6478cf7
+EBUILD bluez-4.36.ebuild 5047 RMD160 363077e45c054935cbce925414b5c89464aedb6a SHA1 dd253d6869d7321115facca24392692b42e8b623 SHA256 f96e711a991bdf5995b0fc757e6e54e387ea410c80be2ec7fe004b09f613cbdb
+MISC ChangeLog 1893 RMD160 b10a3bf6fb35ecf9b582366b2bae4f60b41af093 SHA1 ed5648f2ce7db36fc6575f888bdcf7b615454f8d SHA256 eff1f68d1ead60a585f66e21dbf6eb4386dc9a0d810720b24fe0b0b9d12e18aa
MISC metadata.xml 514 RMD160 89fa06d58b02ddf9cf942c3e8662cbdc70e14587 SHA1 5f91b2a84e74029a5f8eb7362d6412b36518cdec SHA256 03647e723337dcd35c89f4dfcecaeeefba99883d690e6e91320804d5f8a22f9e
diff --git a/net-wireless/bluez/bluez-4.36.ebuild b/net-wireless/bluez/bluez-4.36.ebuild
new file mode 100644
index 000000000000..ff07be93d56b
--- /dev/null
+++ b/net-wireless/bluez/bluez-4.36.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/bluez-4.36.ebuild,v 1.1 2009/04/19 08:31:17 dev-zero Exp $
+
+EAPI="2"
+
+inherit autotools multilib eutils
+
+DESCRIPTION="Bluetooth Tools and System Daemons for Linux"
+HOMEPAGE="http://bluez.sourceforge.net/"
+SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.gz"
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86"
+
+IUSE="alsa cups debug doc gstreamer old-daemons test-programs usb"
+
+CDEPEND="alsa? ( media-libs/alsa-lib )
+ gstreamer? (
+ >=media-libs/gstreamer-0.10
+ >=media-libs/gst-plugins-base-0.10 )
+ usb? ( dev-libs/libusb )
+ cups? ( net-print/cups )
+ sys-fs/udev
+ dev-libs/glib
+ sys-apps/dbus
+ media-libs/libsndfile
+ >=dev-libs/libnl-1.1
+ !net-wireless/bluez-libs
+ !net-wireless/bluez-utils"
+DEPEND="sys-devel/flex
+ >=dev-util/pkgconfig-0.20
+ doc? ( dev-util/gtk-doc )
+ ${CDEPEND}"
+RDEPEND="${CDEPEND}
+ sys-auth/pambase[consolekit]"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}/4.31-as_needed.patch" \
+ "${FILESDIR}/4.34-conditional_libsbc.patch"
+
+ if use cups; then
+ epatch "${FILESDIR}/4.18/cups-location.patch"
+ fi
+
+ # needed for both patches
+ eautoreconf
+}
+
+src_configure() {
+ # the order is the same as ./configure --help
+
+ # we don't need the other daemons either with the new
+ # service architechture
+
+ econf \
+ $(use_enable doc gtk-doc) \
+ --enable-network \
+ --enable-serial \
+ --enable-input \
+ --enable-audio \
+ --enable-service \
+ $(use_enable gstreamer) \
+ $(use_enable alsa) \
+ $(use_enable usb) \
+ --enable-netlink \
+ --enable-tools \
+ --enable-bccmd \
+ --enable-hid2hci \
+ --enable-dfutool \
+ $(use_enable old-daemons hidd) \
+ $(use_enable old-daemons pand) \
+ $(use_enable old-daemons dund) \
+ $(use_enable cups) \
+ $(use_enable test-programs test) \
+ --enable-manpages \
+ --enable-configfiles \
+ --disable-initscripts \
+ --disable-pcmciarules \
+ $(use_enable debug) \
+ --localstatedir=/var
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ dodoc AUTHORS ChangeLog README || die
+
+ if use test-programs ; then
+ cd "${S}/test"
+ dobin simple-agent simple-service monitor-bluetooth
+ newbin list-devices list-bluetooth-devices
+ for b in apitest hsmicro hsplay test-* ; do
+ newbin "${b}" "bluez-${b}"
+ done
+ insinto /usr/share/doc/${PF}/test-services
+ doins service-*
+
+ cd "${S}"
+ fi
+
+ newinitd "${FILESDIR}/4.18/bluetooth-init.d" bluetooth || die
+ newconfd "${FILESDIR}/4.18/bluetooth-conf.d" bluetooth || die
+
+ if use old-daemons; then
+ newconfd "${FILESDIR}/4.18/conf.d-hidd" hidd || die
+ newinitd "${FILESDIR}/4.18/init.d-hidd" hidd || die
+ fi
+
+ # bug #84431
+ insinto /etc/udev/rules.d/
+ newins "${FILESDIR}/${PN}-4.18-udev.rules" 70-bluetooth.rules || die
+ newins "${S}/scripts/bluetooth.rules" 70-bluetooth-pcmcia.rules || die
+
+ exeinto /$(get_libdir)/udev/
+ newexe "${FILESDIR}/${PN}-4.18-udev.script" bluetooth.sh || die
+ doexe "${S}/scripts/bluetooth_serial" || die
+
+ insinto /etc/bluetooth
+ doins \
+ input/input.conf \
+ audio/audio.conf \
+ network/network.conf
+}
+
+pkg_postinst() {
+ udevadm control --reload_rules && udevadm trigger
+
+ elog
+ elog "To use dial up networking you must install net-dialup/ppp."
+ elog ""
+ elog "Since 3.0 bluez has changed the passkey handling to use a dbus based"
+ elog "API so please remember to update your /etc/bluetooth/hcid.conf."
+ elog "For a password agent, there is for example net-wireless/bluez-gnome"
+ elog "for gnome and net-wireless/kdebluetooth for kde."
+ elog ""
+ elog "Since 3.10.1 we don't install the old style daemons any more but rely"
+ elog "on the new service architechture:"
+ elog " http://wiki.bluez.org/wiki/Services"
+ elog ""
+ elog "3.15 adds support for the audio service. See"
+ elog "http://wiki.bluez.org/wiki/HOWTO/AudioDevices for configuration help."
+ elog ""
+ elog "Use the old-daemons use flag to get the old daemons like hidd"
+ elog "installed. Please note that the init script doesn't stop the old"
+ elog "daemons after you update it so it's recommended to run:"
+ elog " /etc/init.d/bluetooth stop"
+ elog "before updating your configuration files or you can manually kill"
+ elog "the extra daemons you previously enabled in /etc/conf.d/bluetooth."
+ elog ""
+ elog "If you want to use rfcomm as a normal user, you need to add the user"
+ elog "to the uucp group."
+ elog ""
+ if use old-daemons; then
+ elog "The hidd init script was installed because you have the old-daemons"
+ elog "use flag on. It is not started by default via udev so please add it"
+ elog "to the required runleves using rc-update <runlevel> add hidd. If"
+ elog "you need init scripts for the other daemons, please file requests"
+ elog "to https://bugs.gentoo.org."
+ else
+ elog "The bluetooth service should be started automatically by udev"
+ elog "when the required hardware is inserted next time."
+ fi
+ elog
+ ewarn "On first install you need to run /etc/init.d/dbus reload or hcid"
+ ewarn "will fail to start."
+}