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 7E414138359 for ; Mon, 24 Aug 2020 08:58:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9EF95E07FA; Mon, 24 Aug 2020 08:58:41 +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 86EE9E07FA for ; Mon, 24 Aug 2020 08:58:41 +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 92F3733BE99 for ; Mon, 24 Aug 2020 08:58:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A4BA31C for ; Mon, 24 Aug 2020 08:58:39 +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: <1598259514.74bfda505e3610bbc8f5a63a3aa27abd9054e7a0.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zathura-cb/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/zathura-cb/zathura-cb-0.1.8.ebuild app-text/zathura-cb/zathura-cb-9999.ebuild X-VCS-Directories: app-text/zathura-cb/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: 74bfda505e3610bbc8f5a63a3aa27abd9054e7a0 X-VCS-Branch: master Date: Mon, 24 Aug 2020 08:58:39 +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: 5a162857-f3d0-42b3-b2a7-c4d4277bedd7 X-Archives-Hash: 7c99ac439d7ce8e2ea8e74d8c6dd5613 commit: 74bfda505e3610bbc8f5a63a3aa27abd9054e7a0 Author: Mikle Kolyada gentoo org> AuthorDate: Mon Aug 24 08:58:12 2020 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Mon Aug 24 08:58:34 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74bfda50 app-text/zathura-cb: call xdg_desktop_database_update Closes: https://bugs.gentoo.org/735700 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Mikle Kolyada gentoo.org> app-text/zathura-cb/zathura-cb-0.1.8.ebuild | 12 ++++++++++-- app-text/zathura-cb/zathura-cb-9999.ebuild | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/app-text/zathura-cb/zathura-cb-0.1.8.ebuild b/app-text/zathura-cb/zathura-cb-0.1.8.ebuild index 2fad557959c..237c58a1247 100644 --- a/app-text/zathura-cb/zathura-cb-0.1.8.ebuild +++ b/app-text/zathura-cb/zathura-cb-0.1.8.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 @@ -28,3 +28,11 @@ DEPEND=">=app-text/zathura-0.3.9 RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} diff --git a/app-text/zathura-cb/zathura-cb-9999.ebuild b/app-text/zathura-cb/zathura-cb-9999.ebuild index 5e59ea0d4e2..a5d47c0a1d7 100644 --- a/app-text/zathura-cb/zathura-cb-9999.ebuild +++ b/app-text/zathura-cb/zathura-cb-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 @@ -28,3 +28,11 @@ DEPEND=">=app-text/zathura-0.3.9 RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}