| 24 |
24 |
fi
|
| 25 |
25 |
fi
|
| 26 |
26 |
|
| 27 |
|
inherit bash-completion-r1 linux-info meson-multilib optfeature pam python-single-r1
|
| 28 |
|
inherit secureboot systemd toolchain-funcs udev
|
|
27 |
inherit branding linux-info meson-multilib optfeature pam python-single-r1
|
|
28 |
inherit secureboot shell-completion systemd toolchain-funcs udev
|
| 29 |
29 |
|
| 30 |
30 |
DESCRIPTION="System and service manager for Linux"
|
| 31 |
31 |
HOMEPAGE="https://systemd.io/"
|
| ... | ... | |
| 279 |
279 |
|
| 280 |
280 |
src_prepare() {
|
| 281 |
281 |
local PATCHES=(
|
| 282 |
|
"${FILESDIR}/systemd-259-vmspawn-use-indexed-loop.patch"
|
|
282 |
"${FILESDIR}/systemd-259-test-echo.patch"
|
| 283 |
283 |
)
|
| 284 |
284 |
|
| 285 |
285 |
if ! use vanilla; then
|
| ... | ... | |
| 306 |
306 |
-Ddocdir="share/doc/${PF}"
|
| 307 |
307 |
# default is developer, bug 918671
|
| 308 |
308 |
-Dmode=release
|
| 309 |
|
-Dsupport-url="https://gentoo.org/support/"
|
|
309 |
-Dsupport-url="${BRANDING_OS_SUPPORT_URL}"
|
| 310 |
310 |
-Dpamlibdir="$(getpam_mod_dir)"
|
| 311 |
311 |
-Dlibc=$(usex elibc_musl musl glibc)
|
| 312 |
312 |
# avoid bash-completion dep
|
| 313 |
313 |
-Dbashcompletiondir="$(get_bashcompdir)"
|
|
314 |
-Dzshcompletiondir="$(get_zshcompdir)"
|
| 314 |
315 |
-Dsplit-bin=false
|
| 315 |
316 |
# Disable compatibility with sysvinit
|
| 316 |
317 |
-Dsysvinit-path=
|
| ... | ... | |
| 344 |
345 |
$(meson_native_use_feature kmod)
|
| 345 |
346 |
$(meson_feature lz4)
|
| 346 |
347 |
$(meson_feature lzma xz)
|
| 347 |
|
$(meson_use test tests)
|
| 348 |
348 |
$(meson_feature zstd)
|
| 349 |
349 |
$(meson_native_use_feature iptables libiptc)
|
| 350 |
350 |
$(meson_native_use_feature openssl)
|
| ... | ... | |
| 388 |
388 |
$(meson_native_true vconsole)
|
| 389 |
389 |
)
|
| 390 |
390 |
|
|
391 |
# workaround for bug 969103
|
|
392 |
if [[ ${CHOST} == riscv32* ]] ; then
|
|
393 |
myconf+=( -Dtests=true )
|
|
394 |
else
|
|
395 |
myconf+=( $(meson_use test tests) )
|
|
396 |
fi
|
|
397 |
|
| 391 |
398 |
case $(tc-arch) in
|
| 392 |
399 |
amd64|arm|arm64|loong|ppc|ppc64|riscv|s390|x86)
|
| 393 |
400 |
# src/vmspawn/vmspawn-util.h: QEMU_MACHINE_TYPE
|