diff options
author | Ronan Le Martret <ronan@fridu.net> | 2014-10-15 17:11:29 +0200 |
---|---|---|
committer | Ronan Le Martret <ronan@fridu.net> | 2014-10-15 17:11:29 +0200 |
commit | 87cc22d4c5b954e54d88cfc40761e2904da3e38e (patch) | |
tree | d3f33ee80ddacb0270945dde3018707e40851357 | |
parent | 728b5247601caa452ce61deae714a9a951cbe612 (diff) | |
download | meta-tizen-87cc22d4c5b954e54d88cfc40761e2904da3e38e.tar.gz meta-tizen-87cc22d4c5b954e54d88cfc40761e2904da3e38e.tar.bz2 meta-tizen-87cc22d4c5b954e54d88cfc40761e2904da3e38e.zip |
Fix post install script
Change-Id: I7bc582017684ae39ba674b6c3860d51b42e42c7a
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
-rw-r--r-- | recipes-tizen/efl/efl-extraconf.inc | 14 | ||||
-rw-r--r-- | recipes-tizen/libmm-sound/libmm-sound-extraconf.inc | 17 | ||||
-rw-r--r-- | recipes-tizen/wrt-widgets/wrt-widgets-extraconf.inc | 8 |
3 files changed, 39 insertions, 0 deletions
diff --git a/recipes-tizen/efl/efl-extraconf.inc b/recipes-tizen/efl/efl-extraconf.inc index 53d4dd21..69754532 100644 --- a/recipes-tizen/efl/efl-extraconf.inc +++ b/recipes-tizen/efl/efl-extraconf.inc @@ -99,6 +99,20 @@ do_install() { } +pkg_postinst_ecore() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + f="$D/etc/profile.d/ecore.sh" + grep --silent EFL_WAYLAND_USE_XDG_SHELL "$f" \ + || printf "\nEFL_WAYLAND_USE_XDG_SHELL='defined'\nexport EFL_WAYLAND_USE_XDG_SHELL\n" >> "$f" + grep --silent ECORE_EVAS_ENGINE "$f" \ + || printf "\nECORE_EVAS_ENGINE=wayland_shm\n[ ! -d /dev/dri ] || ECORE_EVAS_ENGINE=wayland_egl\nexport ECORE_EVAS_ENGINE" >> "$f" + grep --silent ECORE_IMF_MODULE "$f" \ + || printf "\nECORE_IMF_MODULE=wayland\nexport ECORE_IMF_MODULE\n" >> "$f" + +} + FILES_${PN}-dbg += "${prefix}/lib/eeze/modules/sensor/tizen/v-1.9/.debug" FILES_${PN}-dbg += "${prefix}/lib/eeze/modules/sensor/udev/v-1.9/.debug" FILES_${PN}-dbg += "${prefix}/lib/ecore_evas/engines/extn/v-1.9/.debug" diff --git a/recipes-tizen/libmm-sound/libmm-sound-extraconf.inc b/recipes-tizen/libmm-sound/libmm-sound-extraconf.inc index ae0d6c34..cbd34270 100644 --- a/recipes-tizen/libmm-sound/libmm-sound-extraconf.inc +++ b/recipes-tizen/libmm-sound/libmm-sound-extraconf.inc @@ -57,3 +57,20 @@ FILES_${PN} = "${libmm-sound_files}" PKG_libmm-sound-dev= "libmm-sound-dev" PKG_libmm-sound= "libmm-sound" + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + vconftool set -t int memory/Sound/ASMReady 0 -g 29 -f -i + vconftool set -t int file/private/sound/volume/system 5 -g 29 -f + vconftool set -t int file/private/sound/volume/notification 7 -g 29 -f + vconftool set -t int file/private/sound/volume/alarm 7 -g 29 -f + vconftool set -t int file/private/sound/volume/ringtone 13 -g 29 -f + vconftool set -t int file/private/sound/volume/media 7 -g 29 -f + vconftool set -t int file/private/sound/volume/call 7 -g 29 -f + vconftool set -t int file/private/sound/volume/voip 7 -g 29 -f + vconftool set -t int file/private/sound/volume/fixed 0 -g 29 -f + vconftool set -t int file/private/sound/volume/java 11 -g 29 -f + +}
\ No newline at end of file diff --git a/recipes-tizen/wrt-widgets/wrt-widgets-extraconf.inc b/recipes-tizen/wrt-widgets/wrt-widgets-extraconf.inc index e69de29b..8c7e8e0a 100644 --- a/recipes-tizen/wrt-widgets/wrt-widgets-extraconf.inc +++ b/recipes-tizen/wrt-widgets/wrt-widgets-extraconf.inc @@ -0,0 +1,8 @@ +pkg_postinst_${PN}() { + #!/bin/sh -e + + # setup xwalk preinstall service (inside user session) + mkdir -p $D${systemd_unitdir}/user/default.target.wants/ + ln -sf ../xwalk_widgets_preinstall.service $D${systemd_unitdir}/user/default.target.wants/ + +}
\ No newline at end of file |