From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-980838-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 346311396DA
	for <garchives@archives.gentoo.org>; Sat, 28 Oct 2017 11:29:30 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 76CA2E0BE5;
	Sat, 28 Oct 2017 11:29:29 +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 55FCEE0BE5
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2017 11:29:29 +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 04D5A341640
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2017 11:29:28 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 98847838
	for <gentoo-commits@lists.gentoo.org>; Sat, 28 Oct 2017 11:29:26 +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: <1509190043.513d08f2055f271ef93b14d936906cfce09e3e64.jer@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/vivaldi-snapshot/
X-VCS-Repository: repo/gentoo
X-VCS-Files: www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.998.3_p1-r1.ebuild www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.998.3_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 513d08f2055f271ef93b14d936906cfce09e3e64
X-VCS-Branch: master
Date: Sat, 28 Oct 2017 11:29:26 +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: 7315317b-2961-4d0d-b678-1715feff79da
X-Archives-Hash: 07cd9c2fd019bb5c157593c8fee2f6a8

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

www-client/vivaldi-snapshot: Update icon cache, desktop database (bug #635568).

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 ...p1.ebuild => vivaldi-snapshot-1.13.998.3_p1-r1.ebuild} | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.998.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.998.3_p1-r1.ebuild
similarity index 89%
rename from www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.998.3_p1.ebuild
rename to www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.998.3_p1-r1.ebuild
index 53dd25845f8..fff39bc2705 100644
--- a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.998.3_p1.ebuild
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.998.3_p1-r1.ebuild
@@ -7,7 +7,7 @@ CHROMIUM_LANGS="
 	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
 	sw ta te th tr uk vi zh-CN zh-TW
 "
-inherit chromium-2 eutils multilib unpacker toolchain-funcs
+inherit chromium-2 eutils gnome2-utils multilib unpacker toolchain-funcs xdg-utils
 
 VIVALDI_HOME="opt/${PN}"
 DESCRIPTION="A new browser for our friends"
@@ -103,3 +103,16 @@ src_install() {
 
 	fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
 }
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+}