weston-10.0.0-elogind.patch 623 B

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