From afbea80c3929c2c21fce1bebb172e98609331a4c Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A9vin=20THIERRY?= Date: Wed, 11 Jun 2014 12:29:04 +0200 Subject: [PATCH] Update libmm-sound recipe MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add pre/post install/uninstall scripts. Change-Id: I74d3655b21efd9a0181cb2322595ccc585b5ad2b Signed-off-by: Kévin THIERRY --- recipes-tizen/libmm-sound/libmm-sound.inc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/recipes-tizen/libmm-sound/libmm-sound.inc b/recipes-tizen/libmm-sound/libmm-sound.inc index 2912504..1dc4fee 100644 --- a/recipes-tizen/libmm-sound/libmm-sound.inc +++ b/recipes-tizen/libmm-sound/libmm-sound.inc @@ -141,6 +141,29 @@ do_install() { } +pkg_postinst_${PN}() { + #!/bin/sh -e + + /sbin/ldconfig + /usr/bin/vconftool set -t int memory/Sound/ASMReady 0 -g 29 -f -i + /usr/bin/vconftool set -t int file/private/sound/volume/system 5 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/notification 7 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/alarm 7 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/ringtone 13 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/media 7 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/call 7 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/voip 7 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/fixed 0 -g 29 -f + /usr/bin/vconftool set -t int file/private/sound/volume/java 11 -g 29 -f + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + /sbin/ldconfig +} + PACKAGES += " libmm-sound-tool " PACKAGES += " libmm-sound-sdk-dev " -- 2.7.4