summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-06-13 15:38:10 -0400
committerMike Gilbert <floppym@gentoo.org>2022-06-13 15:41:21 -0400
commitc36a53996de7797e831150967c66536fdbea67d1 (patch)
treeb663b47012c31a645ea12022d3277102934167df /sys-apps/fwupd
parentapp-shells/bash: switch to patch tarballs (diff)
downloadgentoo-c36a53996de7797e831150967c66536fdbea67d1.tar.gz
gentoo-c36a53996de7797e831150967c66536fdbea67d1.tar.bz2
gentoo-c36a53996de7797e831150967c66536fdbea67d1.zip
sys-apps/fwupd: wire up udev eclass
Closes: https://bugs.gentoo.org/842069 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/fwupd')
-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
+}