diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-23 01:10:42 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-23 01:29:46 +0200 |
commit | 693c25a6ab8dca449a76e4536580c9d6105bb0fc (patch) | |
tree | eee3fa69cb054b94d1e58caae436acf4449c6bb1 /community/sysprof/allow-disabling-systemdunitdir.patch | |
parent | b182bb26bf4a940494229a1ded55457e22ae5cb1 (diff) | |
download | aports-693c25a6ab8dca449a76e4536580c9d6105bb0fc.tar.bz2 aports-693c25a6ab8dca449a76e4536580c9d6105bb0fc.tar.xz |
community/sysprof: move from testing
Diffstat (limited to 'community/sysprof/allow-disabling-systemdunitdir.patch')
-rw-r--r-- | community/sysprof/allow-disabling-systemdunitdir.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/sysprof/allow-disabling-systemdunitdir.patch b/community/sysprof/allow-disabling-systemdunitdir.patch new file mode 100644 index 0000000000..4c0329e08c --- /dev/null +++ b/community/sysprof/allow-disabling-systemdunitdir.patch @@ -0,0 +1,32 @@ +diff --git a/data/meson.build b/data/meson.build +index cc924ae..63dc69b 100644 +--- a/data/meson.build ++++ b/data/meson.build +@@ -86,16 +86,18 @@ if get_option('with_sysprofd') == 'bundled' + ) + + systemdunitdir = get_option('systemdunitdir') +- if systemdunitdir == '' +- systemdunitdir = dependency('systemd').get_pkgconfig_variable('systemdsystemunitdir') ++ if systemdunitdir != 'no' ++ if systemdunitdir == '' ++ systemdunitdir = dependency('systemd').get_pkgconfig_variable('systemdsystemunitdir') ++ endif ++ configure_file( ++ input: 'sysprof2.service.in', ++ output: 'sysprof2.service', ++ configuration: sysprofdconf, ++ install: true, ++ install_dir: systemdunitdir, ++ ) + endif +- configure_file( +- input: 'sysprof2.service.in', +- output: 'sysprof2.service', +- configuration: sysprofdconf, +- install: true, +- install_dir: systemdunitdir, +- ) + + i18n.merge_file( + input: 'org.gnome.sysprof2.policy.in', |