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 D6B861396D0 for ; Mon, 25 Sep 2017 14:46:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B13A2BC0D7; Mon, 25 Sep 2017 14:46:49 +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 F0C7D2BC0D7 for ; Mon, 25 Sep 2017 14:46:48 +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 EBE6E33BE25 for ; Mon, 25 Sep 2017 14:46:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F09D908F for ; Mon, 25 Sep 2017 14:46:46 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1506350804.dd9224fd5a5dc0ef0fc025b67f266063bdcd92de.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/otter/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/otter/otter-0.9.12.ebuild www-client/otter/otter-9999.ebuild X-VCS-Directories: www-client/otter/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: dd9224fd5a5dc0ef0fc025b67f266063bdcd92de X-VCS-Branch: master Date: Mon, 25 Sep 2017 14:46:46 +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: 232ab9dd-3815-404c-8289-a4cd532ebe94 X-Archives-Hash: aa43f7856adc88bf525be4f378682574 commit: dd9224fd5a5dc0ef0fc025b67f266063bdcd92de Author: Jeroen Roovers gentoo org> AuthorDate: Mon Sep 25 14:46:28 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Mon Sep 25 14:46:44 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd9224fd www-client/otter: Run things in pkg_postinst()/pkg_postrm(). Package-Manager: Portage-2.3.10, Repoman-2.3.3 www-client/otter/otter-0.9.12.ebuild | 13 +++++++++++-- www-client/otter/otter-9999.ebuild | 13 +++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/www-client/otter/otter-0.9.12.ebuild b/www-client/otter/otter-0.9.12.ebuild index 123171f6303..a2e32ebc01d 100644 --- a/www-client/otter/otter-0.9.12.ebuild +++ b/www-client/otter/otter-0.9.12.ebuild @@ -2,8 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 - -inherit eutils cmake-utils +inherit eutils cmake-utils gnome2-utils xdg-utils DESCRIPTION="Project aiming to recreate classic Opera (12.x) UI using Qt5" HOMEPAGE="http://otter-browser.org/" @@ -60,3 +59,13 @@ src_install() { cmake-utils_src_install domenu ${PN}-browser.desktop } + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} diff --git a/www-client/otter/otter-9999.ebuild b/www-client/otter/otter-9999.ebuild index fdb1f94ba3a..012c8341b63 100644 --- a/www-client/otter/otter-9999.ebuild +++ b/www-client/otter/otter-9999.ebuild @@ -2,8 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 - -inherit eutils cmake-utils git-r3 +inherit eutils cmake-utils git-r3 gnome2-utils xdg-utils DESCRIPTION="Project aiming to recreate classic Opera (12.x) UI using Qt5" HOMEPAGE="http://otter-browser.org/" @@ -51,3 +50,13 @@ src_install() { cmake-utils_src_install domenu ${PN}-browser.desktop } + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +}