From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-980842-garchives=archives.gentoo.org@lists.gentoo.org>
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 5C41D1396DA
	for <garchives@archives.gentoo.org>; Sat, 28 Oct 2017 11:46:42 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 85D0AE0CC7;
	Sat, 28 Oct 2017 11:46:41 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.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 66996E0CC7
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2017 11:46:41 +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 0D4F133C770
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2017 11:46:40 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 990FC825
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2017 11:46:38 +0000 (UTC)
From: "Jeroen Roovers" <jer@gentoo.org>
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" <jer@gentoo.org>
Message-ID: <1509190901.27e877b89cce218f4eea36de06cd8b01599a8d9b.jer@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/opera/
X-VCS-Repository: repo/gentoo
X-VCS-Files: www-client/opera/opera-48.0.2685.52-r1.ebuild www-client/opera/opera-48.0.2685.52.ebuild
X-VCS-Directories: www-client/opera/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 27e877b89cce218f4eea36de06cd8b01599a8d9b
X-VCS-Branch: master
Date: Sat, 28 Oct 2017 11:46:38 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 591ea6fd-1df4-4ec5-b966-4515281642a5
X-Archives-Hash: 38739689dc66cef4443731e2e5ebd740

commit:     27e877b89cce218f4eea36de06cd8b01599a8d9b
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 28 11:41:41 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 11:41:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27e877b8

www-client/opera: Update icon cache, desktop database, mime-info cache.

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 ...8.0.2685.52.ebuild => opera-48.0.2685.52-r1.ebuild} | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/www-client/opera/opera-48.0.2685.52.ebuild b/www-client/opera/opera-48.0.2685.52-r1.ebuild
similarity index 86%
rename from www-client/opera/opera-48.0.2685.52.ebuild
rename to www-client/opera/opera-48.0.2685.52-r1.ebuild
index 824ffea24a6..aead2f06e72 100644
--- a/www-client/opera/opera-48.0.2685.52.ebuild
+++ b/www-client/opera/opera-48.0.2685.52-r1.ebuild
@@ -7,7 +7,7 @@ CHROMIUM_LANGS="
 	ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi zh-CN
 	zh-TW
 "
-inherit chromium-2 multilib unpacker
+inherit chromium-2 gnome2-utils multilib unpacker xdg-utils
 
 DESCRIPTION="A fast and secure web browser"
 HOMEPAGE="http://www.opera.com/"
@@ -91,3 +91,19 @@ src_install() {
 	dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN}
 	fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox
 }
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+	xdg_mimeinfo_database_update
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+	xdg_mimeinfo_database_update
+}