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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC435138359 for ; Sun, 30 Aug 2020 19:02:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D64CAE0ABF; Sun, 30 Aug 2020 19:02:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BC766E0ABF for ; Sun, 30 Aug 2020 19:02:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EC855340DDA for ; Sun, 30 Aug 2020 19:02:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 73882336 for ; Sun, 30 Aug 2020 19:02:18 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1598781228.8d0b5cb79b18937ef0417d5856782da4348c5a8d.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/purpose/ X-VCS-Repository: proj/kde X-VCS-Files: kde-frameworks/purpose/purpose-9999.ebuild X-VCS-Directories: kde-frameworks/purpose/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 8d0b5cb79b18937ef0417d5856782da4348c5a8d X-VCS-Branch: master Date: Sun, 30 Aug 2020 19:02:18 +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: eebaf17a-8d62-4820-806b-9c4e7728c5b1 X-Archives-Hash: 62f812a66bbc19373a3f3cdd0db07b34 commit: 8d0b5cb79b18937ef0417d5856782da4348c5a8d Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Aug 30 09:53:48 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Aug 30 09:53:48 2020 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=8d0b5cb7 kde-frameworks/purpose: Add missing xdg_icon_cache_update Closes: https://bugs.gentoo.org/739538 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-frameworks/purpose/purpose-9999.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/kde-frameworks/purpose/purpose-9999.ebuild b/kde-frameworks/purpose/purpose-9999.ebuild index 54ebf66ed9..33f6fb17bf 100644 --- a/kde-frameworks/purpose/purpose-9999.ebuild +++ b/kde-frameworks/purpose/purpose-9999.ebuild @@ -7,7 +7,7 @@ ECM_QTHELP="false" ECM_TEST="forceoptional" PVCUT=$(ver_cut 1-2) QTMIN=5.14.2 -inherit ecm kde.org +inherit ecm kde.org xdg-utils DESCRIPTION="Library for providing abstractions to get the developer's purposes fulfilled" LICENSE="LGPL-2.1+" @@ -48,11 +48,16 @@ src_configure() { ecm_src_configure } -pkg_postinst(){ +pkg_postinst() { ecm_pkg_postinst + xdg_icon_cache_update if ! has_version "kde-misc/kdeconnect[app]" ; then elog "Optional runtime dependency:" elog "kde-misc/kdeconnect[app] (send through KDE Connect)" fi } + +pkg_postrm() { + xdg_icon_cache_update +}