summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2020-04-30 19:52:28 +0000
committerRay Strode <halfline@gmail.com>2020-04-30 19:52:28 +0000
commitfb0c97485d90a37ecd870810d2152c7442a9e84c (patch)
tree3fb017a34a89bd236d9b30cb72dbc1a7b80e1c1c /utils
parentde884de7b69647bead3081222aa1c2be443e351f (diff)
downloadgdm-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 'utils')
-rw-r--r--utils/meson.build41
1 files changed, 41 insertions, 0 deletions
diff --git a/utils/meson.build b/utils/meson.build
new file mode 100644
index 00000000..f719c49d
--- /dev/null
+++ b/utils/meson.build
@@ -0,0 +1,41 @@
+# gdm-flexiserver
+gdm_flexiserver_deps = [
+ glib_dep,
+ libgdmcommon_dep,
+]
+
+gdm_flexiserver = executable('gdmflexiserver',
+ 'gdmflexiserver.c',
+ dependencies: gdm_flexiserver_deps,
+ include_directories: config_h_dir,
+ install: true,
+)
+
+# gdm-screenshot
+gdm_screenshot_deps = [
+ glib_dep,
+ gtk_dep,
+ x_deps,
+ libcanberra_gtk_dep,
+]
+
+gdm_screenshot = executable('gdm-screenshot',
+ 'gdm-screenshot.c',
+ dependencies: gdm_screenshot_deps,
+ include_directories: config_h_dir,
+ install: true,
+)
+
+# gdm-disable-wayland
+gdm_disable_wayland_deps = [
+ glib_dep,
+]
+
+gdm_disable_wayland = executable('gdm-disable-wayland',
+ 'gdm-disable-wayland.c',
+ dependencies: gdm_disable_wayland_deps,
+ include_directories: config_h_dir,
+ install: true,
+ install_dir: get_option('libexecdir'),
+)
+