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 B13F71396D9 for ; Mon, 30 Oct 2017 13:28:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D98FFE0FE6; Mon, 30 Oct 2017 13:27:58 +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 B643CE0FE6 for ; Mon, 30 Oct 2017 13:27:58 +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 F0A3A3416ED for ; Mon, 30 Oct 2017 13:27:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2E049AD for ; Mon, 30 Oct 2017 13:27:54 +0000 (UTC) From: "Sven Wegener" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Wegener" Message-ID: <1509370059.71037aeb17cbc3d7e1602ae38a863d896a83af4e.swegener@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/pulseview/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-electronics/pulseview/pulseview-0.4.0.ebuild sci-electronics/pulseview/pulseview-9999.ebuild X-VCS-Directories: sci-electronics/pulseview/ X-VCS-Committer: swegener X-VCS-Committer-Name: Sven Wegener X-VCS-Revision: 71037aeb17cbc3d7e1602ae38a863d896a83af4e X-VCS-Branch: master Date: Mon, 30 Oct 2017 13:27:54 +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: a99c016c-1032-4617-b667-ee433005fb37 X-Archives-Hash: 2a850f25448e74fdd3d2c37653c24fee commit: 71037aeb17cbc3d7e1602ae38a863d896a83af4e Author: Sven Wegener gentoo org> AuthorDate: Mon Oct 30 13:09:58 2017 +0000 Commit: Sven Wegener gentoo org> CommitDate: Mon Oct 30 13:27:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71037aeb sci-electronics/pulseview: Update icon cache and desktop database, bug #635406 Package-Manager: Portage-2.3.8, Repoman-2.3.4 sci-electronics/pulseview/pulseview-0.4.0.ebuild | 12 +++++++++++- sci-electronics/pulseview/pulseview-9999.ebuild | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/sci-electronics/pulseview/pulseview-0.4.0.ebuild b/sci-electronics/pulseview/pulseview-0.4.0.ebuild index e7a4a92ef4c..0b7e367cae1 100644 --- a/sci-electronics/pulseview/pulseview-0.4.0.ebuild +++ b/sci-electronics/pulseview/pulseview-0.4.0.ebuild @@ -5,7 +5,7 @@ EAPI="6" PYTHON_COMPAT=( python3_{4,5,6} ) -inherit cmake-utils python-single-r1 +inherit cmake-utils gnome2-utils python-single-r1 xdg-utils if [[ ${PV} == "9999" ]]; then EGIT_REPO_URI="git://sigrok.org/${PN}" @@ -49,3 +49,13 @@ src_configure() { ) cmake-utils_src_configure } + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} diff --git a/sci-electronics/pulseview/pulseview-9999.ebuild b/sci-electronics/pulseview/pulseview-9999.ebuild index e7a4a92ef4c..0b7e367cae1 100644 --- a/sci-electronics/pulseview/pulseview-9999.ebuild +++ b/sci-electronics/pulseview/pulseview-9999.ebuild @@ -5,7 +5,7 @@ EAPI="6" PYTHON_COMPAT=( python3_{4,5,6} ) -inherit cmake-utils python-single-r1 +inherit cmake-utils gnome2-utils python-single-r1 xdg-utils if [[ ${PV} == "9999" ]]; then EGIT_REPO_URI="git://sigrok.org/${PN}" @@ -49,3 +49,13 @@ src_configure() { ) cmake-utils_src_configure } + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +}