Cleanup environment for plasma-phone

This commit is contained in:
Pier Luigi Fiorini 2014-11-02 19:14:03 +01:00
parent 1bb438ca6c
commit f30f0a689d

View file

@ -83,17 +83,18 @@ EOF
mkdir -p %{buildroot}%{_sharedstatedir}/environment/plasma-phone
cat > %{buildroot}%{_sharedstatedir}/environment/plasma-phone/plasma-phone.conf <<EOF
LIBEXEC_PATH="%{_libexecdir}:%{_libdir}/libexec:%{_kf5_libexecdir}"
QT_PLUGIN_PATH=${QT_PLUGIN_PATH+$QT_PLUGIN_PATH:}\`qtpaths --plugin-dir\`:%{_libdir}/kde5/plugins
DBUS_SESSION_BUS_ADDRESS=unix:path=%t/dbus/user_bus_socket
QT_QPA_PLATFORM=wayland
QT_QPA_PLATFORMTHEME=KDE
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
XDG_CURRENT_DESKTOP=KDE
KSCREEN_BACKEND=QScreen
# Not sure about these, but startkde does it
QT_PLUGIN_PATH=${QT_PLUGIN_PATH+$QT_PLUGIN_PATH:}`qtpaths --plugin-dir`
# TODO: Do we really need this?
QT_PLUGIN_PATH=$QT_PLUGIN_PATH:/usr/lib/kde5/plugins/
export QT_PLUGIN_PATH
KDE_FULL_SESSION=1
KDE_SESSION_VERSION=5
EOF
# Default configuration for the UI