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 E8459158021 for ; Thu, 13 Oct 2022 16:26:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00162E08E5; Thu, 13 Oct 2022 16:26:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 DBEB7E08E5 for ; Thu, 13 Oct 2022 16:26:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 76DBC340FA8 for ; Thu, 13 Oct 2022 16:26:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D6EB75F1 for ; Thu, 13 Oct 2022 16:26:35 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1665678373.4b5c3deeb5c69ad03bf9fbb36da7856ede1143dc.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/d-spy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/d-spy/d-spy-1.4.0.ebuild X-VCS-Directories: dev-util/d-spy/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 4b5c3deeb5c69ad03bf9fbb36da7856ede1143dc X-VCS-Branch: master Date: Thu, 13 Oct 2022 16:26:35 +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: 37ed5598-f863-4390-a2ef-4cce2f771f93 X-Archives-Hash: 976f4ee7ed39e142123fcbd85575d6a6 commit: 4b5c3deeb5c69ad03bf9fbb36da7856ede1143dc Author: Matt Turner gentoo org> AuthorDate: Thu Oct 13 16:22:29 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Thu Oct 13 16:26:13 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b5c3dee dev-util/d-spy: Call xdg postinst functions Closes: https://bugs.gentoo.org/876983 Signed-off-by: Matt Turner gentoo.org> dev-util/d-spy/d-spy-1.4.0.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dev-util/d-spy/d-spy-1.4.0.ebuild b/dev-util/d-spy/d-spy-1.4.0.ebuild index 96b1f7360251..9beaae1b265d 100644 --- a/dev-util/d-spy/d-spy-1.4.0.ebuild +++ b/dev-util/d-spy/d-spy-1.4.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit gnome.org meson +inherit gnome.org meson xdg DESCRIPTION="D-spy is a blisteringly fast D-Bus debugger" HOMEPAGE="https://wiki.gnome.org/Apps/d-spy https://gitlab.gnome.org/GNOME/d-spy" @@ -32,3 +32,13 @@ src_install() { meson_src_install mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die } + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}