From 1813fb6a28bb2396563bee1eebfbc355cad5328b Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 29 Jan 2024 07:15:08 +0000 Subject: [PATCH] sys-apps/lshw: Sync with Gentoo It's from Gentoo commit 35ddb79c65f58a0df3500057f4171dc8b221809a. --- ...build => lshw-02.19.2b_p20220831-r1.ebuild} | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) rename sdk_container/src/third_party/portage-stable/sys-apps/lshw/{lshw-02.19.2b_p20220831.ebuild => lshw-02.19.2b_p20220831-r1.ebuild} (88%) diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/lshw/lshw-02.19.2b_p20220831.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/lshw/lshw-02.19.2b_p20220831-r1.ebuild similarity index 88% rename from sdk_container/src/third_party/portage-stable/sys-apps/lshw/lshw-02.19.2b_p20220831.ebuild rename to sdk_container/src/third_party/portage-stable/sys-apps/lshw/lshw-02.19.2b_p20220831-r1.ebuild index c13c4b22e5..254bede1f4 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/lshw/lshw-02.19.2b_p20220831.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/lshw/lshw-02.19.2b_p20220831-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PLOCALES="ca es fr" -inherit desktop flag-o-matic plocale toolchain-funcs xdg +inherit desktop flag-o-matic plocale toolchain-funcs xdg-utils MY_COMMIT=42fef565731411a784101de614a54bff79d1858e MY_PV=$(ver_cut 3 PV/b/B).$(ver_cut 1-3)_$(ver_cut 5-6) @@ -81,3 +81,17 @@ src_install() { "${DESCRIPTION}" fi } + +pkg_postinst() { + if use gtk ; then + xdg_desktop_database_update + xdg_icon_cache_update + fi +} + +pkg_postrm() { + if use gtk ; then + xdg_desktop_database_update + xdg_icon_cache_update + fi +}