summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/fwupd/fwupd-1.8.1.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys-apps/fwupd/fwupd-1.8.1.ebuild b/sys-apps/fwupd/fwupd-1.8.1.ebuild
index cc9c6194035c..3852c4032a8d 100644
--- a/sys-apps/fwupd/fwupd-1.8.1.ebuild
+++ b/sys-apps/fwupd/fwupd-1.8.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
-inherit bash-completion-r1 linux-info meson python-single-r1 vala xdg
+inherit bash-completion-r1 linux-info meson python-single-r1 vala udev xdg
DESCRIPTION="Aims to make updating firmware on Linux automatic, safe and reliable"
HOMEPAGE="https://fwupd.org"
@@ -142,6 +142,7 @@ src_configure() {
-Ddocs="$(usex gtk-doc gtkdoc none)"
-Defi_binary="false"
-Dsupported_build="enabled"
+ -Dudevdir="${EPREFIX}$(get_udevdir)"
$(meson_feature archive libarchive)
$(meson_use bash-completion bash_completion)
$(meson_feature bluetooth bluez)
@@ -177,3 +178,11 @@ src_install() {
fi
fi
}
+
+pkg_postinst() {
+ use minimal || udev_reload
+}
+
+pkg_postrm() {
+ use minimal || udev_reload
+}