1 |
commit: 3cbf877842d6e9390aeb6eab10df09c4f206e6c0 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 24 18:03:06 2021 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 24 18:03:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cbf8778 |
7 |
|
8 |
sys-apps/systemd: rename helper functions |
9 |
|
10 |
This way we don't clobber functions from meson.eclass. |
11 |
|
12 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
13 |
|
14 |
sys-apps/systemd/systemd-9999.ebuild | 110 +++++++++++++++++------------------ |
15 |
1 file changed, 55 insertions(+), 55 deletions(-) |
16 |
|
17 |
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild |
18 |
index 1c671060823..1899e9f7640 100644 |
19 |
--- a/sys-apps/systemd/systemd-9999.ebuild |
20 |
+++ b/sys-apps/systemd/systemd-9999.ebuild |
21 |
@@ -237,11 +237,11 @@ src_configure() { |
22 |
multilib-minimal_src_configure |
23 |
} |
24 |
|
25 |
-meson_use() { |
26 |
+sd_use() { |
27 |
usex "$1" true false |
28 |
} |
29 |
|
30 |
-meson_multilib() { |
31 |
+sd_native() { |
32 |
if multilib_is_native_abi; then |
33 |
echo true |
34 |
else |
35 |
@@ -249,7 +249,7 @@ meson_multilib() { |
36 |
fi |
37 |
} |
38 |
|
39 |
-meson_multilib_native_use() { |
40 |
+sd_native_use() { |
41 |
if multilib_is_native_abi && use "$1"; then |
42 |
echo true |
43 |
else |
44 |
@@ -275,67 +275,67 @@ multilib_src_configure() { |
45 |
-Dima=true |
46 |
-Ddefault-hierarchy=$(usex cgroup-hybrid hybrid unified) |
47 |
# Optional components/dependencies |
48 |
- -Dacl=$(meson_multilib_native_use acl) |
49 |
- -Dapparmor=$(meson_multilib_native_use apparmor) |
50 |
- -Daudit=$(meson_multilib_native_use audit) |
51 |
- -Dlibcryptsetup=$(meson_multilib_native_use cryptsetup) |
52 |
- -Dlibcurl=$(meson_multilib_native_use curl) |
53 |
- -Ddns-over-tls=$(meson_multilib_native_use dns-over-tls) |
54 |
- -Delfutils=$(meson_multilib_native_use elfutils) |
55 |
- -Dgcrypt=$(meson_use gcrypt) |
56 |
- -Dgnu-efi=$(meson_multilib_native_use gnuefi) |
57 |
+ -Dacl=$(sd_native_use acl) |
58 |
+ -Dapparmor=$(sd_native_use apparmor) |
59 |
+ -Daudit=$(sd_native_use audit) |
60 |
+ -Dlibcryptsetup=$(sd_native_use cryptsetup) |
61 |
+ -Dlibcurl=$(sd_native_use curl) |
62 |
+ -Ddns-over-tls=$(sd_native_use dns-over-tls) |
63 |
+ -Delfutils=$(sd_native_use elfutils) |
64 |
+ -Dgcrypt=$(sd_use gcrypt) |
65 |
+ -Dgnu-efi=$(sd_native_use gnuefi) |
66 |
-Defi-includedir="${ESYSROOT}/usr/include/efi" |
67 |
-Defi-ld="$(tc-getLD)" |
68 |
-Defi-libdir="${ESYSROOT}/usr/$(get_libdir)" |
69 |
- -Dhomed=$(meson_multilib_native_use homed) |
70 |
- -Dhwdb=$(meson_multilib_native_use hwdb) |
71 |
- -Dmicrohttpd=$(meson_multilib_native_use http) |
72 |
- -Didn=$(meson_multilib_native_use idn) |
73 |
- -Dimportd=$(meson_multilib_native_use importd) |
74 |
- -Dbzip2=$(meson_multilib_native_use importd) |
75 |
- -Dzlib=$(meson_multilib_native_use importd) |
76 |
- -Dkmod=$(meson_multilib_native_use kmod) |
77 |
- -Dlz4=$(meson_use lz4) |
78 |
- -Dxz=$(meson_use lzma) |
79 |
- -Dzstd=$(meson_use zstd) |
80 |
- -Dlibiptc=$(meson_multilib_native_use nat) |
81 |
- -Dpam=$(meson_use pam) |
82 |
- -Dp11kit=$(meson_multilib_native_use pkcs11) |
83 |
- -Dpcre2=$(meson_multilib_native_use pcre) |
84 |
- -Dpolkit=$(meson_multilib_native_use policykit) |
85 |
- -Dpwquality=$(meson_multilib_native_use pwquality) |
86 |
- -Dqrencode=$(meson_multilib_native_use qrcode) |
87 |
- -Drepart=$(meson_multilib_native_use repart) |
88 |
- -Dseccomp=$(meson_multilib_native_use seccomp) |
89 |
- -Dselinux=$(meson_multilib_native_use selinux) |
90 |
- -Dtpm2=$(meson_multilib_native_use tpm) |
91 |
- -Ddbus=$(meson_multilib_native_use test) |
92 |
- -Dxkbcommon=$(meson_multilib_native_use xkb) |
93 |
+ -Dhomed=$(sd_native_use homed) |
94 |
+ -Dhwdb=$(sd_native_use hwdb) |
95 |
+ -Dmicrohttpd=$(sd_native_use http) |
96 |
+ -Didn=$(sd_native_use idn) |
97 |
+ -Dimportd=$(sd_native_use importd) |
98 |
+ -Dbzip2=$(sd_native_use importd) |
99 |
+ -Dzlib=$(sd_native_use importd) |
100 |
+ -Dkmod=$(sd_native_use kmod) |
101 |
+ -Dlz4=$(sd_use lz4) |
102 |
+ -Dxz=$(sd_use lzma) |
103 |
+ -Dzstd=$(sd_use zstd) |
104 |
+ -Dlibiptc=$(sd_native_use nat) |
105 |
+ -Dpam=$(sd_use pam) |
106 |
+ -Dp11kit=$(sd_native_use pkcs11) |
107 |
+ -Dpcre2=$(sd_native_use pcre) |
108 |
+ -Dpolkit=$(sd_native_use policykit) |
109 |
+ -Dpwquality=$(sd_native_use pwquality) |
110 |
+ -Dqrencode=$(sd_native_use qrcode) |
111 |
+ -Drepart=$(sd_native_use repart) |
112 |
+ -Dseccomp=$(sd_native_use seccomp) |
113 |
+ -Dselinux=$(sd_native_use selinux) |
114 |
+ -Dtpm2=$(sd_native_use tpm) |
115 |
+ -Ddbus=$(sd_native_use test) |
116 |
+ -Dxkbcommon=$(sd_native_use xkb) |
117 |
-Dntp-servers="0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org 2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org" |
118 |
# Breaks screen, tmux, etc. |
119 |
-Ddefault-kill-user-processes=false |
120 |
-Dcreate-log-dirs=false |
121 |
|
122 |
# multilib options |
123 |
- -Dbacklight=$(meson_multilib) |
124 |
- -Dbinfmt=$(meson_multilib) |
125 |
- -Dcoredump=$(meson_multilib) |
126 |
- -Denvironment-d=$(meson_multilib) |
127 |
- -Dfirstboot=$(meson_multilib) |
128 |
- -Dhibernate=$(meson_multilib) |
129 |
- -Dhostnamed=$(meson_multilib) |
130 |
- -Dldconfig=$(meson_multilib) |
131 |
- -Dlocaled=$(meson_multilib) |
132 |
- -Dman=$(meson_multilib) |
133 |
- -Dnetworkd=$(meson_multilib) |
134 |
- -Dquotacheck=$(meson_multilib) |
135 |
- -Drandomseed=$(meson_multilib) |
136 |
- -Drfkill=$(meson_multilib) |
137 |
- -Dsysusers=$(meson_multilib) |
138 |
- -Dtimedated=$(meson_multilib) |
139 |
- -Dtimesyncd=$(meson_multilib) |
140 |
- -Dtmpfiles=$(meson_multilib) |
141 |
- -Dvconsole=$(meson_multilib) |
142 |
+ -Dbacklight=$(sd_native) |
143 |
+ -Dbinfmt=$(sd_native) |
144 |
+ -Dcoredump=$(sd_native) |
145 |
+ -Denvironment-d=$(sd_native) |
146 |
+ -Dfirstboot=$(sd_native) |
147 |
+ -Dhibernate=$(sd_native) |
148 |
+ -Dhostnamed=$(sd_native) |
149 |
+ -Dldconfig=$(sd_native) |
150 |
+ -Dlocaled=$(sd_native) |
151 |
+ -Dman=$(sd_native) |
152 |
+ -Dnetworkd=$(sd_native) |
153 |
+ -Dquotacheck=$(sd_native) |
154 |
+ -Drandomseed=$(sd_native) |
155 |
+ -Drfkill=$(sd_native) |
156 |
+ -Dsysusers=$(sd_native) |
157 |
+ -Dtimedated=$(sd_native) |
158 |
+ -Dtimesyncd=$(sd_native) |
159 |
+ -Dtmpfiles=$(sd_native) |
160 |
+ -Dvconsole=$(sd_native) |
161 |
|
162 |
# static-libs |
163 |
-Dstatic-libsystemd=$(usex static-libs true false) |