From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-929016-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 2D2EA13908F
	for <garchives@archives.gentoo.org>; Fri,  3 Feb 2017 15:26:47 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E12A221C028;
	Fri,  3 Feb 2017 15:26:43 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C10E721C028
	for <gentoo-commits@lists.gentoo.org>; Fri,  3 Feb 2017 15:26:43 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 09BF3340A23
	for <gentoo-commits@lists.gentoo.org>; Fri,  3 Feb 2017 15:26:43 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C8CC3DC1
	for <gentoo-commits@lists.gentoo.org>; Fri,  3 Feb 2017 15:26:41 +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: <1486135600.4ab179e0ba48287583be573e763f79864fdbd022.jer@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/vivaldi/
X-VCS-Repository: repo/gentoo
X-VCS-Files: www-client/vivaldi/vivaldi-1.7.735.29_p1.ebuild
X-VCS-Directories: www-client/vivaldi/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 4ab179e0ba48287583be573e763f79864fdbd022
X-VCS-Branch: master
Date: Fri,  3 Feb 2017 15:26:41 +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: e241ccb8-cdf6-41cc-837a-60acb20c907b
X-Archives-Hash: 494bab28e88dcc002e17a916a01266ee

commit:     4ab179e0ba48287583be573e763f79864fdbd022
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  3 15:26:25 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Feb  3 15:26:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ab179e0

www-client/vivaldi: Fix desktop file encoding where possible.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 www-client/vivaldi/vivaldi-1.7.735.29_p1.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/www-client/vivaldi/vivaldi-1.7.735.29_p1.ebuild b/www-client/vivaldi/vivaldi-1.7.735.29_p1.ebuild
index 132fff4..6216df3 100644
--- a/www-client/vivaldi/vivaldi-1.7.735.29_p1.ebuild
+++ b/www-client/vivaldi/vivaldi-1.7.735.29_p1.ebuild
@@ -31,6 +31,9 @@ RESTRICT="bindist mirror"
 
 S=${WORKDIR}
 
+DEPEND="
+	virtual/libiconv
+"
 RDEPEND="
 	dev-libs/expat
 	dev-libs/glib:2
@@ -70,6 +73,9 @@ src_unpack() {
 }
 
 src_prepare() {
+	iconv -c -t UTF-8 usr/share/applications/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die
+	mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die
+
 	sed -i \
 		-e "s|${VIVALDI_BIN}|${PN}|g" \
 		usr/share/applications/${VIVALDI_PN}.desktop \