[oe-commits] org.oe.dev add handsfree 0.1 courtesy Joaquim Duran. closes #1609
mickeyl commit
oe at amethyst.openembedded.net
Sat Jun 7 22:33:28 UTC 2008
add handsfree 0.1 courtesy Joaquim Duran. closes #1609
Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: d17dcf16c103e9f006f5a74e4a3ede60a6a92178
ViewMTN: http://monotone.openembedded.org/revision/info/d17dcf16c103e9f006f5a74e4a3ede60a6a92178
Files:
1
packages/handsfree
packages/handsfree/files
packages/handsfree/files/Makefile.patch
packages/handsfree/handsfree_0.1.bb
Diffs:
#
# mt diff -ra62f63168a900101d68a4862ece79d9ccef89c3d -rd17dcf16c103e9f006f5a74e4a3ede60a6a92178
#
#
#
# add_dir "packages/handsfree"
#
# add_dir "packages/handsfree/files"
#
# add_file "packages/handsfree/files/Makefile.patch"
# content [439341a82ade64343c72a93235f03635a6bb14f5]
#
# add_file "packages/handsfree/handsfree_0.1.bb"
# content [d36308d10dc175fe42a71aba4dc75b9f216bea8e]
#
============================================================
--- packages/handsfree/files/Makefile.patch 439341a82ade64343c72a93235f03635a6bb14f5
+++ packages/handsfree/files/Makefile.patch 439341a82ade64343c72a93235f03635a6bb14f5
@@ -0,0 +1,19 @@
+--- handsfree/old/Makefile 2006-11-21 18:01:13.000000000 +0000
++++ handsfree/Makefile 2006-11-21 14:01:17.000000000 +0000
+@@ -9,12 +9,12 @@
+ # I use a dmixer as default alsa device to mix
+ # the handsfree output with other sound playback
+ #
+-ALSA_PLAY="default"
+-ALSA_REC="plughw:0,0"
++#ALSA_PLAY="default"
++#ALSA_REC="plughw:0,0"
+
+
+-LDFLAGS= -lbluetooth -lasound
+-CFLAGS=-g -Wall -DOSS=0
++#LDFLAGS= -lbluetooth -lasound
++#CFLAGS=-g -Wall -DOSS=0
+
+ all: handsfree headset
+
============================================================
--- packages/handsfree/handsfree_0.1.bb d36308d10dc175fe42a71aba4dc75b9f216bea8e
+++ packages/handsfree/handsfree_0.1.bb d36308d10dc175fe42a71aba4dc75b9f216bea8e
@@ -0,0 +1,32 @@
+DESCRIPTION = "Handsfree and Handset Bluetooth tool"
+HOMEPAGE = "http://www.soft.uni-linz.ac.at/_wiki/tiki-index.php?page=ProjectBluezHandsfree"
+SECTION = "network/misc"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+DEPENDS= "bluez-libs alsa-lib"
+PR = "r0"
+
+
+SRC_URI = "\
+ http://www.soft.uni-linz.ac.at/~vogl/bluez/handsfree-040326.tar.gz \
+ file://Makefile.patch;patch=1 \
+"
+S = "${WORKDIR}/handsfree"
+
+# Alsa devices
+# Example: "plughw:0,0"
+ALSA_PLAY = "default"
+ALSA_REC = "default"
+
+CFLAGS =+ "-DOSS=0 "
+LDFLAGS =+ "-lbluetooth -lasound "
+
+do_compile() {
+ oe_runmake all
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 handsfree ${D}${bindir}
+ install -m 0755 headset ${D}${bindir}
+}
More information about the Openembedded-commits
mailing list