diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-10-16 15:08:53 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-10-16 15:09:24 +0200 |
commit | c32bd5fc0bfb391cfe6974fbf9988ab76a19ff3b (patch) | |
tree | 26eadd6366e0b2cd53b20657bb66cbe3efd648cc /sys-apps/fwupd | |
parent | sys-apps/fwupd: Bump to version 1.2.11 (diff) | |
download | gentoo-c32bd5fc0bfb391cfe6974fbf9988ab76a19ff3b.tar.gz gentoo-c32bd5fc0bfb391cfe6974fbf9988ab76a19ff3b.tar.bz2 gentoo-c32bd5fc0bfb391cfe6974fbf9988ab76a19ff3b.zip |
sys-apps/fwupd: Fixed build with USE="minimal"
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/fwupd')
-rw-r--r-- | sys-apps/fwupd/fwupd-1.3.2.ebuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/sys-apps/fwupd/fwupd-1.3.2.ebuild b/sys-apps/fwupd/fwupd-1.3.2.ebuild index a1ab427a0198..b8f2e6619819 100644 --- a/sys-apps/fwupd/fwupd-1.3.2.ebuild +++ b/sys-apps/fwupd/fwupd-1.3.2.ebuild @@ -133,15 +133,17 @@ src_configure() { src_install() { meson_src_install - sed "s@%SEAT_MANAGER%@$(usex elogind elogind consolekit)@" \ - "${FILESDIR}"/${PN}-r1 \ - > "${T}"/${PN} || die - doinitd "${T}"/${PN} + if ! use minimal ; then + sed "s@%SEAT_MANAGER%@$(usex elogind elogind consolekit)@" \ + "${FILESDIR}"/${PN}-r1 \ + > "${T}"/${PN} || die + doinitd "${T}"/${PN} - if ! use systemd ; then - # Don't timeout when fwupd is running (#673140) - sed '/^IdleTimeout=/s@=[[:digit:]]\+@=0@' \ - -i "${ED}"/etc/${PN}/daemon.conf || die + if ! use systemd ; then + # Don't timeout when fwupd is running (#673140) + sed '/^IdleTimeout=/s@=[[:digit:]]\+@=0@' \ + -i "${ED}"/etc/${PN}/daemon.conf || die + fi fi } |