From 9617c349a212d5407087daf4f4a2386bce94ecc1 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Thu, 12 Jun 2014 11:55:29 +0200 Subject: [PATCH 18/21] packaging: enable xdg-shell at runtime Change-Id: Iffbae496f1e09c8fa44a28d4eb515678e3bbb297 Bug-Tizen: TIVI-3113/part Signed-off-by: Philippe Coval --- packaging/qt5-qtwayland.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packaging/qt5-qtwayland.spec b/packaging/qt5-qtwayland.spec index cba18e2..ff32185 100644 --- a/packaging/qt5-qtwayland.spec +++ b/packaging/qt5-qtwayland.spec @@ -97,6 +97,11 @@ rm -rf %{buildroot} %post /sbin/ldconfig + +f="/etc/profile.d/qt.sh" +grep QT_WAYLAND_USE_XDG_SHELL $f \ + || echo "QT_WAYLAND_USE_XDG_SHELL='defined'; export QT_WAYLAND_USE_XDG_SHELL" >> $f + %postun /sbin/ldconfig -- 1.9.1