summaryrefslogtreecommitdiff
path: root/media-sound/mpdscribble/files/mpdscribble-0.23-Unconditionally-generate-systemd-unit-files.patch
blob: 9e14fdb338049015cc1b783fb43421d46ab9df6f (plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
From 8bf74e12a900349cb1ac21c22065a64d09873ff2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= <arsen@aarsen.me>
Date: Thu, 9 Sep 2021 13:54:15 +0200
Subject: [PATCH 1/2] Unconditionally generate systemd unit files

---
 meson.build                | 4 +---
 systemd/system/meson.build | 1 -
 systemd/user/meson.build   | 1 -
 3 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/meson.build b/meson.build
index f22b7a3..b4cc736 100644
--- a/meson.build
+++ b/meson.build
@@ -133,9 +133,7 @@ install_data(
   install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()),
 )
 
-if libsystemd_dep.found()
-  subdir('systemd')
-endif
+subdir('systemd')
 
 subdir('doc')
 
diff --git a/systemd/system/meson.build b/systemd/system/meson.build
index 83c5fe1..dfbdd59 100644
--- a/systemd/system/meson.build
+++ b/systemd/system/meson.build
@@ -7,5 +7,4 @@ configure_file(
   input: 'mpdscribble.service.in',
   output: 'mpdscribble.service',
   configuration: systemd_unit_conf,
-  install_dir: systemd_system_unit_dir,
 )
diff --git a/systemd/user/meson.build b/systemd/user/meson.build
index 5372d3c..72320ee 100644
--- a/systemd/user/meson.build
+++ b/systemd/user/meson.build
@@ -7,5 +7,4 @@ configure_file(
   input: 'mpdscribble.service.in',
   output: 'mpdscribble.service',
   configuration: systemd_unit_conf,
-  install_dir: systemd_user_unit_dir,
 )
-- 
2.32.0