···
1
+
commit 363c5be465dd6dde35c3d31abd7b5cca9b1f3a9f
2
+
Author: Jan Tojnar <jtojnar@gmail.com>
3
+
Date: Thu Jul 23 18:49:03 2020 +0200
5
+
Improve separation between malcontent and malcontent-ui packages
7
+
These artefacts go into both packages by default:
9
+
* malcontent-control – a CLI tool
11
+
* gettext locale data
13
+
* AccountService/D-Bus interfaces
14
+
* Polkit com.endlessm.ParentalControls rules and policy
16
+
Items marked with ✨ will go to ui package, while the rest is installed with the base library.
18
+
See also the packaging done by upstream in Endless:
19
+
https://github.com/endlessm/malcontent/tree/5482b7eb99aee9b8c344629bc078e193d3c26ffc/debian
21
+
Cannot upstream this since they are worried about maintainability:
22
+
https://gitlab.freedesktop.org/pwithnall/malcontent/merge_requests/38#note_437946
diff --git a/meson.build b/meson.build
2
-
index a6c477d..f7b2f0a 100644
25
+
index 6e1dfa5..196350b 100644
5
-
@@ -125,8 +125,8 @@ test_env = [
28
+
@@ -123,9 +123,8 @@ test_env = [
-subdir('accounts-service')
if not get_option('use_system_libmalcontent')
+ subdir('accounts-service')
libmalcontent_api_version = '0'
15
-
@@ -137,11 +137,17 @@ endif
39
+
@@ -136,11 +135,16 @@ endif
if get_option('ui').enabled()
subdir('libmalcontent-ui')
···
if get_option('ui').enabled()
subdir('malcontent-control')
+if not get_option('use_system_libmalcontent')
32
-
-meson.add_install_script('build-aux/meson_post_install.py')
33
-
+if get_option('ui').enabled()
34
-
+ meson.add_install_script('build-aux/meson_post_install.py')
58
+
meson.add_install_script('build-aux/meson_post_install.py')