summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-10-16 15:08:53 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-10-16 15:09:24 +0200
commitc32bd5fc0bfb391cfe6974fbf9988ab76a19ff3b (patch)
tree26eadd6366e0b2cd53b20657bb66cbe3efd648cc
parentsys-apps/fwupd: Bump to version 1.2.11 (diff)
downloadgentoo-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>
-rw-r--r--sys-apps/fwupd/fwupd-1.3.2.ebuild18
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 a1ab427a019..b8f2e661981 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
}