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 B70DE138359 for ; Mon, 24 Aug 2020 09:01:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90302E07FA; Mon, 24 Aug 2020 09:01:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 73FB7E07FA for ; Mon, 24 Aug 2020 09:01:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 3CBDB340B27 for ; Mon, 24 Aug 2020 09:01:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A610431C for ; Mon, 24 Aug 2020 09:01:29 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1598259660.eee4e3d2774344992a174ed9478b366a1ac00e0f.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zathura-ps/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/zathura-ps/zathura-ps-0.2.6.ebuild app-text/zathura-ps/zathura-ps-9999.ebuild X-VCS-Directories: app-text/zathura-ps/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: eee4e3d2774344992a174ed9478b366a1ac00e0f X-VCS-Branch: master Date: Mon, 24 Aug 2020 09:01:29 +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: 744d48de-df99-4fef-b1f9-d8ace308d2e7 X-Archives-Hash: a40f12ac28f8bf6a4325314f887e5df2 commit: eee4e3d2774344992a174ed9478b366a1ac00e0f Author: Mikle Kolyada gentoo org> AuthorDate: Mon Aug 24 09:01:00 2020 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Mon Aug 24 09:01:00 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eee4e3d2 app-text/zathura-ps: call xdg_desktop_database_update Closes: https://bugs.gentoo.org/735702 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Mikle Kolyada gentoo.org> app-text/zathura-ps/zathura-ps-0.2.6.ebuild | 12 ++++++++++-- app-text/zathura-ps/zathura-ps-9999.ebuild | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/app-text/zathura-ps/zathura-ps-0.2.6.ebuild b/app-text/zathura-ps/zathura-ps-0.2.6.ebuild index 94dab249fb7..e115907ec1e 100644 --- a/app-text/zathura-ps/zathura-ps-0.2.6.ebuild +++ b/app-text/zathura-ps/zathura-ps-0.2.6.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit meson +inherit meson xdg-utils if [[ ${PV} == *9999 ]]; then inherit git-r3 @@ -29,3 +29,11 @@ DEPEND="app-text/libspectre RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} diff --git a/app-text/zathura-ps/zathura-ps-9999.ebuild b/app-text/zathura-ps/zathura-ps-9999.ebuild index 16e0d2d5ba3..1029752194f 100644 --- a/app-text/zathura-ps/zathura-ps-9999.ebuild +++ b/app-text/zathura-ps/zathura-ps-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit meson +inherit meson xdg-utils if [[ ${PV} == *9999 ]]; then inherit git-r3 @@ -29,3 +29,11 @@ DEPEND="app-text/libspectre RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}