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>2014-10-07 21:38:44 +0200
commitcc5e1982f52b6105fa403d9f1f45edcca510f7e4 (patch)
treedba96e2d9ee0b980dfe4f1d64d644c898a4173ba
parent6f88984c4eae11458d12d2c5aed3312064e8c5a0 (diff)
downloadqtwayland-cc5e1982f52b6105fa403d9f1f45edcca510f7e4.tar.gz
qtwayland-cc5e1982f52b6105fa403d9f1f45edcca510f7e4.tar.bz2
qtwayland-cc5e1982f52b6105fa403d9f1f45edcca510f7e4.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