1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
diff --git a/meson.build b/meson.build
index ebf68d4..3c2a7fd 100644
--- a/meson.build
+++ b/meson.build
@@ -122,7 +122,6 @@ endif
gtk_layer_shell = dependency('gtk-layer-shell-0',
required: get_option('gtk-layer-shell'),
fallback : ['gtk-layer-shell', 'gtk_layer_shell_dep'])
-systemd = dependency('systemd', required: get_option('systemd'))
tz_dep = dependency('date',
required: false,
default_options : [ 'use_system_tzdb=true' ],
@@ -136,16 +135,12 @@ conf_data.set('prefix', prefix)
add_project_arguments('-DSYSCONFDIR="/@0@"'.format(join_paths(prefix, sysconfdir)), language : 'cpp')
-if systemd.found()
- user_units_dir = systemd.get_pkgconfig_variable('systemduserunitdir')
-
- configure_file(
- configuration: conf_data,
- input: './resources/waybar.service.in',
- output: '@BASENAME@',
- install_dir: user_units_dir
- )
-endif
+configure_file(
+ configuration: conf_data,
+ input: './resources/waybar.service.in',
+ output: '@BASENAME@',
+ install_dir: '/usr/lib/systemd/user'
+)
src_files = files(
'src/factory.cpp',
|