slackbuilds_ponce/desktop/weston/weston-10.0.0-elogind.patch
Logan Rathbone 4425b2b053
desktop/weston: Updated for version 10.0.0.
- Merge README.SBo with README, as there is less manual intervention
required with 15.0 than with earlier renditions of current.
- Add patch for elogind support (will submit upstream).

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-04-02 18:18:54 +07:00

13 lines
623 B
Diff

diff -Naur weston-10.0.0/libweston/meson.build weston-10.0.0-elogind/libweston/meson.build
--- weston-10.0.0/libweston/meson.build 2022-02-01 16:59:57.000000000 -0500
+++ weston-10.0.0-elogind/libweston/meson.build 2022-03-28 23:44:39.649373893 -0400
@@ -157,6 +157,9 @@
systemd_dep = dependency('', required: false)
if get_option('launcher-logind')
systemd_dep = dependency('libsystemd', version: '>= 209', required: false)
+ if not systemd_dep.found()
+ systemd_dep = dependency('libelogind', version: '>= 209', required: false)
+ endif
if systemd_dep.found()
config_h.set('HAVE_SYSTEMD_LOGIN_209', '1')
else