From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5FA63158091 for ; Mon, 13 Jun 2022 19:44:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D634E08F1; Mon, 13 Jun 2022 19:43:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31A37E08F1 for ; Mon, 13 Jun 2022 19:43:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 03918341BD9 for ; Mon, 13 Jun 2022 19:43:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 714727F for ; Mon, 13 Jun 2022 19:43:56 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1655149281.c36a53996de7797e831150967c66536fdbea67d1.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/fwupd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/fwupd/fwupd-1.8.1.ebuild X-VCS-Directories: sys-apps/fwupd/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: c36a53996de7797e831150967c66536fdbea67d1 X-VCS-Branch: master Date: Mon, 13 Jun 2022 19:43:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6a58e278-97f8-4463-be55-c557245da792 X-Archives-Hash: a5686371b44ee4a62a1b4f24adc10529 commit: c36a53996de7797e831150967c66536fdbea67d1 Author: Mike Gilbert gentoo org> AuthorDate: Mon Jun 13 19:38:10 2022 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Mon Jun 13 19:41:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c36a5399 sys-apps/fwupd: wire up udev eclass Closes: https://bugs.gentoo.org/842069 Signed-off-by: Mike Gilbert gentoo.org> sys-apps/fwupd/fwupd-1.8.1.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 +}