summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2005-03-08 15:35:47 +0000
committerAlastair Tse <liquidx@gentoo.org>2005-03-08 15:35:47 +0000
commit89f7c9afc453e3d0df9bcc7b833871ee1be1683a (patch)
tree4f724a306d36276f57f36f187987c9695ead8421 /net-wireless/bluez-utils
parentStable on x86. (diff)
downloadgentoo-2-89f7c9afc453e3d0df9bcc7b833871ee1be1683a.tar.gz
gentoo-2-89f7c9afc453e3d0df9bcc7b833871ee1be1683a.tar.bz2
gentoo-2-89f7c9afc453e3d0df9bcc7b833871ee1be1683a.zip
version bump
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-wireless/bluez-utils')
-rw-r--r--net-wireless/bluez-utils/ChangeLog9
-rw-r--r--net-wireless/bluez-utils/Manifest12
-rw-r--r--net-wireless/bluez-utils/bluez-utils-2.15.ebuild99
-rw-r--r--net-wireless/bluez-utils/files/digest-bluez-utils-2.151
4 files changed, 109 insertions, 12 deletions
diff --git a/net-wireless/bluez-utils/ChangeLog b/net-wireless/bluez-utils/ChangeLog
index e212ff7d0a8d..20cc62b0bf04 100644
--- a/net-wireless/bluez-utils/ChangeLog
+++ b/net-wireless/bluez-utils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-wireless/bluez-utils
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/ChangeLog,v 1.35 2004/12/20 20:00:48 liquidx Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/ChangeLog,v 1.36 2005/03/08 15:33:46 liquidx Exp $
+
+*bluez-utils-2.15 (08 Mar 2005)
+
+ 08 Mar 2005; Alastair Tse <liquidx@gentoo.org> +bluez-utils-2.15.ebuild:
+ version bump
*bluez-utils-2.12 (20 Dec 2004)
diff --git a/net-wireless/bluez-utils/Manifest b/net-wireless/bluez-utils/Manifest
index 129ee32398e9..ff64349e3cc2 100644
--- a/net-wireless/bluez-utils/Manifest
+++ b/net-wireless/bluez-utils/Manifest
@@ -1,12 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 92096e17fd8e738341f7e99faaca8527 ChangeLog 5521
MD5 5b012319f221d1ea2adea1b2f253e7f6 bluez-utils-2.10.ebuild 2294
MD5 43c46462d55ff522368adcca12159bd9 bluez-utils-2.7.ebuild 2276
MD5 439de383d422683abddb9ff8b75aa67b metadata.xml 235
MD5 ed80a378b301103c8715cffda6157d7a bluez-utils-2.10-r1.ebuild 2596
MD5 86c3a3359732cc35173eb0115f9b7b4a bluez-utils-2.12.ebuild 2190
+MD5 86c3a3359732cc35173eb0115f9b7b4a bluez-utils-2.15.ebuild 2190
MD5 44ca243c60a83967c811537a38b92549 files/bluetooth.rc 1166
MD5 d552cb6515bf251c019ca4a95dd266eb files/bluez-utils-2.3-bluepin-gtk2.patch 3295
MD5 336de3d1eba238735777d7d8f8e0c282 files/bluez-utils-2.3-bluepin.patch 461
@@ -17,13 +15,7 @@ MD5 7449a658ef08ac7e86b221b3c43961af files/pin.sample 26
MD5 06aa410f5fe0f8459273a2bcda7db8cc files/digest-bluez-utils-2.10-r1 68
MD5 2fcf0c81d0479f85cb7244f2b1900c6d files/bluez-utils-2.10-handsfree.patch 540
MD5 461e23b79c054101bd79fdb85755a864 files/digest-bluez-utils-2.12 68
+MD5 7b0985abd13b5bbc75fe58e206372a65 files/digest-bluez-utils-2.15 68
MD5 e7df7cd2ca07f4f1ab415d457a6e1c13 files/2.10-r1/pin 5
MD5 992426019dbbd772c9326512d2a0033d files/2.10-r1/pin-helper.sh 49
MD5 cba196ec0ce8e3622a29f93b030ed027 files/2.10-r1/bluetooth.rc 3340
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBxy+jRkyva5PS18kRAgDqAKCpbXWffFMsOGmYlWbsDVj5A8Z4mACfcKJ5
-L6HJOqbgHRIjifQU3rNxYjQ=
-=dJsI
------END PGP SIGNATURE-----
diff --git a/net-wireless/bluez-utils/bluez-utils-2.15.ebuild b/net-wireless/bluez-utils/bluez-utils-2.15.ebuild
new file mode 100644
index 000000000000..06516dadb731
--- /dev/null
+++ b/net-wireless/bluez-utils/bluez-utils-2.15.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/bluez-utils-2.15.ebuild,v 1.1 2005/03/08 15:33:46 liquidx Exp $
+
+IUSE="gtk alsa cups pcmcia"
+
+inherit eutils
+
+DESCRIPTION="bluetooth utilities"
+HOMEPAGE="http://bluez.sourceforge.net/"
+SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+RDEPEND=">=net-wireless/bluez-libs-2.15
+ !net-wireless/bluez-pan
+ dev-libs/libusb
+ gtk? ( >=dev-python/pygtk-2.2 )
+ alsa? ( media-libs/alsa-lib )
+ cups? ( net-print/cups )"
+
+DEPEND="sys-devel/bison
+ sys-devel/flex
+ >=sys-apps/sed-4
+ ${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ if ! use gtk; then
+ mv -f scripts/Makefile.in ${T}/Makefile.in
+ sed -e "s:= bluepin:= :" \
+ ${T}/Makefile.in > scripts/Makefile.in
+ fi
+}
+
+src_compile() {
+
+ econf \
+ $(use_enable cups) \
+ $(use_enable alsa) \
+ $(use_enable pcmcia) \
+ $(use_enable gtk bluepin) \
+ --disable-dbus \
+ --enable-usb \
+ --disable-initscripts \
+ --enable-obex \
+ --enable-hid2hci \
+ --enable-bcm203x
+ emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc README
+
+ sed -e "s:security auto;:security user;:" \
+ -i ${D}/etc/bluetooth/hcid.conf
+
+ if use gtk; then
+ sed -e "s:\(pin_helper \).*:\1/usr/bin/bluepin;:" \
+ -i ${D}/etc/bluetooth/hcid.conf
+ else
+ sed -e "s:\(pin_helper \).*:\1/etc/bluetooth/pin-helper;:" \
+ -i ${D}/etc/bluetooth/hcid.conf
+ fi
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/2.10-r1/bluetooth.rc bluetooth
+
+ exeinto /etc/bluetooth
+ newexe ${FILESDIR}/2.10-r1/pin-helper.sh pin-helper
+ insinto /etc/bluetooth
+ newins ${FILESDIR}/2.10-r1/pin pin
+ fperms 0600 /etc/bluetooth/pin
+
+ insinto /etc/conf.d
+ newins ${S}/scripts/bluetooth.default bluetooth
+ sed -i -e 's/^HIDD_ENABLE=.*/HIDD_ENABLE=false/' \
+ -e 's/^HID2HCI_ENABLE=.*/HID2HCI_ENABLE=false/' \
+ ${D}/etc/conf.d/bluetooth
+}
+
+pkg_postinst() {
+ einfo ""
+ einfo "A startup script has been installed in /etc/init.d/bluetooth."
+ einfo "RFComm devices are found in /dev/bluetooth/rfcomm/* instead of /dev/rfcomm*"
+ einfo "If you need to set a default PIN, edit /etc/bluetooth/pin, and change"
+ einfo "/etc/bluetooth/hcid.conf option 'pin_helper' to /etc/bluetooth/pin-helper."
+
+ if use gtk; then
+ einfo "By default, /usr/bin/bluepin will be launched on the desktop display"
+ einfo "for pin number input."
+ fi
+ einfo ""
+}
diff --git a/net-wireless/bluez-utils/files/digest-bluez-utils-2.15 b/net-wireless/bluez-utils/files/digest-bluez-utils-2.15
new file mode 100644
index 000000000000..0b2ea8d6fc7c
--- /dev/null
+++ b/net-wireless/bluez-utils/files/digest-bluez-utils-2.15
@@ -0,0 +1 @@
+MD5 4e86dfd4449ff49e82696d8a3b254002 bluez-utils-2.15.tar.gz 299709