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 66368138330 for ; Sun, 7 Jan 2018 14:51:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BEE2CE081E; Sun, 7 Jan 2018 14:51:23 +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 9D335E081E for ; Sun, 7 Jan 2018 14:51:23 +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 AA296340BDA for ; Sun, 7 Jan 2018 14:51:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4236E196 for ; Sun, 7 Jan 2018 14:51:21 +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: <1515336661.5ec0b11c423fcd355d3057c39b4cdcb67cb993ea.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/krop/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/krop/krop-0.4.13.5.ebuild X-VCS-Directories: app-text/krop/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 5ec0b11c423fcd355d3057c39b4cdcb67cb993ea X-VCS-Branch: master Date: Sun, 7 Jan 2018 14:51:21 +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-Archives-Salt: 7f7ace99-5e78-418a-8e26-a9f66f05bdfd X-Archives-Hash: 2379a43999e2e642bafa4017e184a902 commit: 5ec0b11c423fcd355d3057c39b4cdcb67cb993ea Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jan 7 14:46:21 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 7 14:51:01 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ec0b11c app-text/krop: Run xdg_{desktop,mimeinfo}_database_update Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-text/krop/krop-0.4.13.5.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app-text/krop/krop-0.4.13.5.ebuild b/app-text/krop/krop-0.4.13.5.ebuild index f2542d1c596..108c5f32c84 100644 --- a/app-text/krop/krop-0.4.13.5.ebuild +++ b/app-text/krop/krop-0.4.13.5.ebuild @@ -4,7 +4,7 @@ EAPI=6 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) -inherit eutils distutils-r1 +inherit eutils distutils-r1 xdg-utils DESCRIPTION="A tool to crop PDF files" HOMEPAGE="http://arminstraub.com/software/krop" @@ -25,3 +25,13 @@ src_install() { distutils-r1_src_install domenu "${WORKDIR}/${P}/${PN}.desktop" } + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +}