summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2012-08-31 03:55:07 +0000
committerRick Farina <zerochaos@gentoo.org>2012-08-31 03:55:07 +0000
commit5b7bd55483757d1d0c628abf0f276d9836c98486 (patch)
treee673aeeaf2f54cf601bb34dddd045fd2427ed136 /net-wireless
parentVersion bump. Drop libavcodec54 patch which has been applied upstream. (diff)
downloadgentoo-2-5b7bd55483757d1d0c628abf0f276d9836c98486.tar.gz
gentoo-2-5b7bd55483757d1d0c628abf0f276d9836c98486.tar.bz2
gentoo-2-5b7bd55483757d1d0c628abf0f276d9836c98486.zip
added upstream support for clock following an existing local bluetooth connection
(Portage version: 2.1.11.12/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/ubertooth/ChangeLog7
-rw-r--r--net-wireless/ubertooth/metadata.xml1
-rw-r--r--net-wireless/ubertooth/ubertooth-9999.ebuild17
3 files changed, 19 insertions, 6 deletions
diff --git a/net-wireless/ubertooth/ChangeLog b/net-wireless/ubertooth/ChangeLog
index bb7a9bf04499..954e765ba24f 100644
--- a/net-wireless/ubertooth/ChangeLog
+++ b/net-wireless/ubertooth/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-wireless/ubertooth
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ubertooth/ChangeLog,v 1.9 2012/08/26 05:45:45 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ubertooth/ChangeLog,v 1.10 2012/08/31 03:55:07 zerochaos Exp $
+
+ 31 Aug 2012; Rick Farina <zerochaos@gentoo.org> metadata.xml,
+ ubertooth-9999.ebuild:
+ added upstream support for clock following an existing local bluetooth
+ connection
26 Aug 2012; Rick Farina <zerochaos@gentoo.org> ubertooth-9999.ebuild:
svn->git plus various python build related fixes (thanks to Arfrever for being
diff --git a/net-wireless/ubertooth/metadata.xml b/net-wireless/ubertooth/metadata.xml
index 9c73c03cbc28..35b8d4fc5c78 100644
--- a/net-wireless/ubertooth/metadata.xml
+++ b/net-wireless/ubertooth/metadata.xml
@@ -8,6 +8,7 @@
<longdescription lang="en">
</longdescription>
<use>
+ <flag name="clock_debug">support for clock following an existing local bluetooth connection with bluez</flag>
<flag name="dfu">Install ubertooth-dfu (needed for read/write of firmware)</flag>
<flag name="specan">Enable the ubertooth spectrum analyzer</flag>
<flag name="ubertooth0-firmware">Build/install ubertooth0-firmware</flag>
diff --git a/net-wireless/ubertooth/ubertooth-9999.ebuild b/net-wireless/ubertooth/ubertooth-9999.ebuild
index 69be87656ec0..05698a0f6415 100644
--- a/net-wireless/ubertooth/ubertooth-9999.ebuild
+++ b/net-wireless/ubertooth/ubertooth-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ubertooth/ubertooth-9999.ebuild,v 1.9 2012/08/26 05:45:45 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ubertooth/ubertooth-9999.ebuild,v 1.10 2012/08/31 03:55:07 zerochaos Exp $
EAPI="4"
@@ -14,14 +14,15 @@ HOMEPAGE="http://ubertooth.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
-IUSE="+dfu +specan +python ubertooth0-firmware +ubertooth1-firmware"
+IUSE="+dfu clock_debug +specan +python ubertooth0-firmware +ubertooth1-firmware"
REQUIRED_USE="dfu? ( python )
specan? ( python )
ubertooth0-firmware? ( dfu )
ubertooth1-firmware? ( dfu )
python? ( || ( dfu specan ) )"
-DEPEND=""
-RDEPEND="specan? ( virtual/libusb:1
+DEPEND="clock_debug? ( net-wireless/bluez )"
+RDEPEND="${DEPEND}
+ specan? ( virtual/libusb:1
>=x11-libs/qt-gui-4.7.2:4
>=dev-python/pyside-1.0.2
>=dev-python/numpy-1.3
@@ -52,6 +53,10 @@ else
fi
DESCRIPTION="An open source wireless development platform suitable for Bluetooth experimentation"
+have_clock_debug() {
+ use clock_debug && echo "true" || echo "false"
+}
+
pkg_setup() {
ebegin "arm-none-eabi-gcc"
if type -p arm-none-eabi-gcc > /dev/null ; then
@@ -80,7 +85,8 @@ pkg_setup() {
src_compile() {
cd "${S}/host/bluetooth_rxtx" || die
- emake
+ emake \
+ clock_debug="$(have_clock_debug)"
use python && distutils_src_compile
if [[ ${PV} == "9999" ]] ; then
@@ -102,6 +108,7 @@ src_install() {
dobin bluetooth_rxtx/ubertooth-dump bluetooth_rxtx/ubertooth-lap \
bluetooth_rxtx/ubertooth-btle bluetooth_rxtx/ubertooth-uap \
bluetooth_rxtx/ubertooth-hop bluetooth_rxtx/ubertooth-util
+ use clock_debug && dobin bluetooth_rxtx/ubertooth-follow
use python && distutils_src_install