diff options
author | davidovski <david@davidovski.xyz> | 2022-03-03 00:13:55 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-03 00:13:55 +0000 |
commit | 2fea415a8b6ab9eae92686a182341d8f5fe56d00 (patch) | |
tree | 889fee82b0ebde2870be7673fc7eff9c2bc2efeb /repo/system/elogind.xibuild | |
parent | 92a76bb80efda3fcb96cb0a990ae5bfa658449d1 (diff) |
fixed docbook issues
Diffstat (limited to 'repo/system/elogind.xibuild')
-rw-r--r-- | repo/system/elogind.xibuild | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/repo/system/elogind.xibuild b/repo/system/elogind.xibuild index 9543945..64be2c1 100644 --- a/repo/system/elogind.xibuild +++ b/repo/system/elogind.xibuild @@ -19,12 +19,16 @@ prepare () { for p in *.patch; do patch -Np1 -i $p done + + # skip the check that the source tree is "too far" + # (the assert_cc line) + sed -i '83d' src/basic/log.h + + # remove -v options + sed -i 's/-v/-/g' tools/meson-symlink_headers.sh } build () { - mkdir build && - cd build && - # TODO re-enable BUILD_MANS meson \ -Dcgroup-controller=elogind \ @@ -33,16 +37,19 @@ build () { -Dreboot-path=/sbin/reboot \ -Ddefault-hierarchy=hybrid \ -Ddefault-kill-user-processes=false \ - -Dpolkit=true \ - -Dman=true \ - .. - ninja + -Dpolkit=false \ + -Dman=false \ + build + + ninja -C build + } package () { - DESTDIR=$PKG_DEST ninja install && + DESTDIR="$PKG_DEST" meson install --no-rebuild -C build + ln -sf libelogind.pc $PKG_DEST/usr/lib/pkgconfig/libsystemd.pc && - ln -sfn elogind $PKG_DEST/usr/include/systemd + ln -sf elogind $PKG_DEST/usr/include/systemd sed -e '/\[Login\]/a KillUserProcesses=no' \ |