diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2020-04-30 19:52:28 +0000 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2020-04-30 19:52:28 +0000 |
commit | fb0c97485d90a37ecd870810d2152c7442a9e84c (patch) | |
tree | 3fb017a34a89bd236d9b30cb72dbc1a7b80e1c1c /chooser | |
parent | de884de7b69647bead3081222aa1c2be443e351f (diff) | |
download | gdm-fb0c97485d90a37ecd870810d2152c7442a9e84c.tar.gz |
data: switch gdm.service.in to use cmake format
We're going to be switching to meson, and meson doesn't
deal too well with an @ in the configuration file that's not
part of a substitution variable.
This commit switches the gdm service over to use a cmake style
of substitution variables, so we can later tell meson to use
configure in cmake mode and workaround the @ confusion.
Diffstat (limited to 'chooser')
-rw-r--r-- | chooser/meson.build | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/chooser/meson.build b/chooser/meson.build new file mode 100644 index 00000000..f3b948d7 --- /dev/null +++ b/chooser/meson.build @@ -0,0 +1,50 @@ +# Simple chooser +gdm_simple_chooser_src = [ + 'chooser-main.c', + 'gdm-chooser-host.c', + 'gdm-chooser-session.c', + 'gdm-host-chooser-dialog.c', + 'gdm-host-chooser-widget.c', +] + +gdm_simple_chooser_deps = [ + glib_dep, + gtk_dep, + libgdmcommon_dep, + libgdm_dep, + x_deps, + xdmcp_dep, +] + +gdm_simple_chooser = executable('gdm-simple-chooser', + gdm_simple_chooser_src, + dependencies: gdm_simple_chooser_deps, + include_directories: config_h_dir, + install: true, + install_dir: get_option('libexecdir'), +) + +# Host chooser +gdm_host_chooser_src = [ + 'gdm-host-chooser.c', + 'gdm-chooser-host.c', + 'gdm-host-chooser-dialog.c', + 'gdm-host-chooser-widget.c', +] + +gdm_host_chooser_deps = [ + glib_dep, + gtk_dep, + libgdmcommon_dep, + libgdm_dep, + x_deps, + xdmcp_dep, +] + +gdm_host_chooser = executable('gdm-host-chooser', + gdm_host_chooser_src, + dependencies: gdm_host_chooser_deps, + include_directories: config_h_dir, + install: true, + install_dir: get_option('libexecdir'), +) |