summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2014-10-15 17:11:29 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2015-01-09 09:23:09 -0800
commit47520b10e68d3c9d6b670320cf0dfb77221e89c0 (patch)
treebec19b01760d0826bf8e3d34d719a7f7e7f2c524
parentd1c5957169f09bb32ed666ee4664170669db5038 (diff)
downloadtizen-distro-47520b10e68d3c9d6b670320cf0dfb77221e89c0.tar.gz
tizen-distro-47520b10e68d3c9d6b670320cf0dfb77221e89c0.tar.bz2
tizen-distro-47520b10e68d3c9d6b670320cf0dfb77221e89c0.zip
meta-tizen: Fix post install script
Change-Id: I7bc582017684ae39ba674b6c3860d51b42e42c7a (From meta-tizen rev: 87cc22d4c5b954e54d88cfc40761e2904da3e38e) Signed-off-by: Ronan Le Martret <ronan@fridu.net> Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
-rw-r--r--meta-tizen/recipes-tizen/efl/efl-extraconf.inc14
-rw-r--r--meta-tizen/recipes-tizen/libmm-sound/libmm-sound-extraconf.inc17
-rw-r--r--meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets-extraconf.inc8
3 files changed, 39 insertions, 0 deletions
diff --git a/meta-tizen/recipes-tizen/efl/efl-extraconf.inc b/meta-tizen/recipes-tizen/efl/efl-extraconf.inc
index 53d4dd2199..6975453200 100644
--- a/meta-tizen/recipes-tizen/efl/efl-extraconf.inc
+++ b/meta-tizen/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/meta-tizen/recipes-tizen/libmm-sound/libmm-sound-extraconf.inc b/meta-tizen/recipes-tizen/libmm-sound/libmm-sound-extraconf.inc
index ae0d6c3413..cbd3427054 100644
--- a/meta-tizen/recipes-tizen/libmm-sound/libmm-sound-extraconf.inc
+++ b/meta-tizen/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/meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets-extraconf.inc b/meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets-extraconf.inc
index e69de29bb2..8c7e8e0a14 100644
--- a/meta-tizen/recipes-tizen/wrt-widgets/wrt-widgets-extraconf.inc
+++ b/meta-tizen/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