summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-06-12 11:55:29 +0200
committerTomasz Olszak <olszak.tomasz@gmail.com>2015-11-10 11:38:37 +0100
commit9a7ca2888b9a84bc48d4037f222c6c38d9c1388f (patch)
treecccd1bc98176a8325c949a736c9bb5d36331a409
parent32d83a4c189f534640da647972f396b3f9a34856 (diff)
downloadqtwayland-9a7ca2888b9a84bc48d4037f222c6c38d9c1388f.tar.gz
qtwayland-9a7ca2888b9a84bc48d4037f222c6c38d9c1388f.tar.bz2
qtwayland-9a7ca2888b9a84bc48d4037f222c6c38d9c1388f.zip
packaging: enable xdg-shell at runtime
Change-Id: Iffbae496f1e09c8fa44a28d4eb515678e3bbb297 Bug-Tizen: TIVI-3113/part Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
-rw-r--r--packaging/qt5-qtwayland.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/qt5-qtwayland.spec b/packaging/qt5-qtwayland.spec
index cba18e21..ff32185b 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