libphoneui: update alsa control names for 2.6.31+
authorMartin Jansa <Martin.Jansa@gmail.com>
Thu, 27 May 2010 21:32:47 +0000 (23:32 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Fri, 25 Jun 2010 11:57:09 +0000 (13:57 +0200)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/shr/libphone-ui/0001-libphoneui.conf-update-alsa-control-name-for-2.6.31.patch [new file with mode: 0644]
recipes/shr/libphone-ui_git.bb

diff --git a/recipes/shr/libphone-ui/0001-libphoneui.conf-update-alsa-control-name-for-2.6.31.patch b/recipes/shr/libphone-ui/0001-libphoneui.conf-update-alsa-control-name-for-2.6.31.patch
new file mode 100644 (file)
index 0000000..1f29c44
--- /dev/null
@@ -0,0 +1,38 @@
+From 47df8a90652e3b22692d2ad7ee3b0219d7651f3a Mon Sep 17 00:00:00 2001
+From: Martin Jansa <Martin.Jansa@gmail.com>
+Date: Tue, 25 May 2010 13:09:17 +0200
+Subject: [PATCH] libphoneui.conf: update alsa control name for 2.6.31+
+
+---
+ data/libphoneui.conf |    6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/data/libphoneui.conf b/data/libphoneui.conf
+index 980ef10..f8bfc3f 100644
+--- a/data/libphoneui.conf
++++ b/data/libphoneui.conf
+@@ -46,18 +46,18 @@ hardware_control_name = hw:0
+ [alsa_control_speaker]
+ speaker = Headphone Playback Volume
+ microphone = Mono Playback Volume
+-microphone_mute = Mono Mixer Sidetone Playback Sw
++microphone_mute = Mono Mixer Sidetone Playback Switch
+ [alsa_control_handset]
+ speaker = Speaker Playback Volume
+ speaker_min = 90
+ microphone = Mono Playback Volume
+-microphone_mute = Mono Mixer Sidetone Playback Sw
++microphone_mute = Mono Mixer Sidetone Playback Switch
+ [alsa_control_headset]
+ speaker = Headphone Playback Volume
+ microphone = Mono Playback Volume
+-microphone_mute = Mono Mixer Sidetone Playback Sw
++microphone_mute = Mono Mixer Sidetone Playback Switch
+ [alsa_control_bluetooth]
+ speaker = Speaker Playback Volume
+-- 
+1.7.1
+
index da87e72..36dd002 100644 (file)
@@ -10,7 +10,9 @@ DEPENDS="glib-2.0 dbus-glib libframeworkd-glib libfso-glib libfsoframework libph
 
 inherit pkgconfig autotools autotools_stage
 
-SRC_URI = "git://git.shr-project.org/repo/libphone-ui.git;protocol=http;branch=master"
+SRC_URI = "git://git.shr-project.org/repo/libphone-ui.git;protocol=http;branch=master \
+           file://0001-libphoneui.conf-update-alsa-control-name-for-2.6.31.patch;patch=1"
+
 S="${WORKDIR}/git"
 
 CONFFILES_${PN} = "${sysconfdir}/libphoneui.conf"