}
+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"
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
+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