1 |
commit: 1876b2dbc3c80d589102574fbecadc355cd88a84 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 30 19:54:07 2017 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 30 19:56:59 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1876b2db |
7 |
|
8 |
sys-apps/systemd: rename meson helpers |
9 |
|
10 |
Package-Manager: Portage-2.3.5_p31, Repoman-2.3.2_p61 |
11 |
|
12 |
sys-apps/systemd/systemd-9999.ebuild | 94 ++++++++++++++++++------------------ |
13 |
1 file changed, 47 insertions(+), 47 deletions(-) |
14 |
|
15 |
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild |
16 |
index 7ff69d75cc9..a4a556cd32d 100644 |
17 |
--- a/sys-apps/systemd/systemd-9999.ebuild |
18 |
+++ b/sys-apps/systemd/systemd-9999.ebuild |
19 |
@@ -175,7 +175,7 @@ meson_use() { |
20 |
usex "$1" true false |
21 |
} |
22 |
|
23 |
-meson_ml() { |
24 |
+meson_multilib() { |
25 |
if multilib_is_native_abi; then |
26 |
echo true |
27 |
else |
28 |
@@ -183,9 +183,9 @@ meson_ml() { |
29 |
fi |
30 |
} |
31 |
|
32 |
-meson_ml_use() { |
33 |
- if multilib_is_native_abi; then |
34 |
- usex "$1" true false |
35 |
+meson_multilib_native_use() { |
36 |
+ if multilib_is_native_abi && use "$1"; then |
37 |
+ echo true |
38 |
else |
39 |
echo false |
40 |
fi |
41 |
@@ -207,36 +207,36 @@ multilib_src_configure() { |
42 |
-Dsysvinit-path= |
43 |
-Dsysvrcnd-path= |
44 |
# no deps |
45 |
- -Defi=$(meson_ml) |
46 |
+ -Defi=$(meson_multilib) |
47 |
-Dima=true |
48 |
# Optional components/dependencies |
49 |
- -Dacl=$(meson_ml_use acl) |
50 |
- -Dapparmor=$(meson_ml_use apparmor) |
51 |
- -Daudit=$(meson_ml_use audit) |
52 |
- -Dlibcryptsetup=$(meson_ml_use cryptsetup) |
53 |
- -Dlibcurl=$(meson_ml_use curl) |
54 |
- -Delfutils=$(meson_ml_use elfutils) |
55 |
+ -Dacl=$(meson_multilib_native_use acl) |
56 |
+ -Dapparmor=$(meson_multilib_native_use apparmor) |
57 |
+ -Daudit=$(meson_multilib_native_use audit) |
58 |
+ -Dlibcryptsetup=$(meson_multilib_native_use cryptsetup) |
59 |
+ -Dlibcurl=$(meson_multilib_native_use curl) |
60 |
+ -Delfutils=$(meson_multilib_native_use elfutils) |
61 |
-Dgcrypt=$(meson_use gcrypt) |
62 |
- -Dgnu-efi=$(meson_ml_use gnuefi) |
63 |
+ -Dgnu-efi=$(meson_multilib_native_use gnuefi) |
64 |
-Defi-libdir="/usr/$(get_libdir)" |
65 |
- -Dmicrohttpd=$(meson_ml_use http) |
66 |
- $(usex http -Dgnutls=$(meson_ml_use ssl) -Dgnutls=false) |
67 |
- -Dlibidn=$(meson_ml_use idn) |
68 |
- -Dimportd=$(meson_ml_use importd) |
69 |
- -Dbzip2=$(meson_ml_use importd) |
70 |
- -Dzlib=$(meson_ml_use importd) |
71 |
- -Dkmod=$(meson_ml_use kmod) |
72 |
+ -Dmicrohttpd=$(meson_multilib_native_use http) |
73 |
+ $(usex http -Dgnutls=$(meson_multilib_native_use ssl) -Dgnutls=false) |
74 |
+ -Dlibidn=$(meson_multilib_native_use idn) |
75 |
+ -Dimportd=$(meson_multilib_native_use importd) |
76 |
+ -Dbzip2=$(meson_multilib_native_use importd) |
77 |
+ -Dzlib=$(meson_multilib_native_use importd) |
78 |
+ -Dkmod=$(meson_multilib_native_use kmod) |
79 |
-Dlz4=$(meson_use lz4) |
80 |
-Dxz=$(meson_use lzma) |
81 |
- -Dlibiptc=$(meson_ml_use nat) |
82 |
+ -Dlibiptc=$(meson_multilib_native_use nat) |
83 |
-Dpam=$(meson_use pam) |
84 |
- -Dpolkit=$(meson_ml_use policykit) |
85 |
- -Dqrencode=$(meson_ml_use qrcode) |
86 |
- -Dseccomp=$(meson_ml_use seccomp) |
87 |
- -Dselinux=$(meson_ml_use selinux) |
88 |
- #-Dtests=$(meson_ml_use test) |
89 |
- -Ddbus=$(meson_ml_use test) |
90 |
- -Dxkbcommon=$(meson_ml_use xkb) |
91 |
+ -Dpolkit=$(meson_multilib_native_use policykit) |
92 |
+ -Dqrencode=$(meson_multilib_native_use qrcode) |
93 |
+ -Dseccomp=$(meson_multilib_native_use seccomp) |
94 |
+ -Dselinux=$(meson_multilib_native_use selinux) |
95 |
+ #-Dtests=$(meson_multilib_native_use test) |
96 |
+ -Ddbus=$(meson_multilib_native_use test) |
97 |
+ -Dxkbcommon=$(meson_multilib_native_use xkb) |
98 |
# hardcode a few paths to spare some deps |
99 |
-Dpath-kill=/bin/kill |
100 |
-Dntp-servers="0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org 2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org" |
101 |
@@ -244,26 +244,26 @@ multilib_src_configure() { |
102 |
-Ddefault-kill-user-processes=false |
103 |
|
104 |
# multilib options |
105 |
- -Dbacklight=$(meson_ml) |
106 |
- -Dbinfmt=$(meson_ml) |
107 |
- -Dcoredump=$(meson_ml) |
108 |
- -Denvironment-d=$(meson_ml) |
109 |
- -Dfirstboot=$(meson_ml) |
110 |
- -Dhibernate=$(meson_ml) |
111 |
- -Dhostnamed=$(meson_ml) |
112 |
- -Dhwdb=$(meson_ml) |
113 |
- -Dldconfig=$(meson_ml) |
114 |
- -Dlocaled=$(meson_ml) |
115 |
- -Dman=$(meson_ml) |
116 |
- -Dnetworkd=$(meson_ml) |
117 |
- -Dquotacheck=$(meson_ml) |
118 |
- -Drandomseed=$(meson_ml) |
119 |
- -Drfkill=$(meson_ml) |
120 |
- -Dsysysers=$(meson_ml) |
121 |
- -Dtimedated=$(meson_ml) |
122 |
- -Dtimesyncd=$(meson_ml) |
123 |
- -Dtmpfiles=$(meson_ml) |
124 |
- -Dvconsole=$(meson_ml) |
125 |
+ -Dbacklight=$(meson_multilib) |
126 |
+ -Dbinfmt=$(meson_multilib) |
127 |
+ -Dcoredump=$(meson_multilib) |
128 |
+ -Denvironment-d=$(meson_multilib) |
129 |
+ -Dfirstboot=$(meson_multilib) |
130 |
+ -Dhibernate=$(meson_multilib) |
131 |
+ -Dhostnamed=$(meson_multilib) |
132 |
+ -Dhwdb=$(meson_multilib) |
133 |
+ -Dldconfig=$(meson_multilib) |
134 |
+ -Dlocaled=$(meson_multilib) |
135 |
+ -Dman=$(meson_multilib) |
136 |
+ -Dnetworkd=$(meson_multilib) |
137 |
+ -Dquotacheck=$(meson_multilib) |
138 |
+ -Drandomseed=$(meson_multilib) |
139 |
+ -Drfkill=$(meson_multilib) |
140 |
+ -Dsysysers=$(meson_multilib) |
141 |
+ -Dtimedated=$(meson_multilib) |
142 |
+ -Dtimesyncd=$(meson_multilib) |
143 |
+ -Dtmpfiles=$(meson_multilib) |
144 |
+ -Dvconsole=$(meson_multilib) |
145 |
) |
146 |
|
147 |
set -- meson "${myconf[@]}" "${S}" |