build: install a login manager session entry

This makes it possible to run Weston session from GDM (and possibly
other login managers).
This commit is contained in:
Lubomir Rintel 2014-12-28 14:20:49 +01:00 committed by Bryce Harrington
parent 1a873aa9a0
commit 4f4b47ad20
2 changed files with 10 additions and 0 deletions

View File

@ -156,6 +156,11 @@ endif # BUILD_WESTON_LAUNCH
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = src/weston.pc
EXTRA_DIST += $(wayland_session_DATA)
wayland_sessiondir = $(datadir)/wayland-sessions
wayland_session_DATA = src/weston.desktop
westonincludedir = $(includedir)/weston
westoninclude_HEADERS = \
src/version.h \

5
src/weston.desktop Normal file
View File

@ -0,0 +1,5 @@
[Desktop Entry]
Name=Weston
Comment=The reference Wayland server
Exec=dbus-launch --exit-with-session weston
Type=Application