diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-02-03 16:26:25 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-02-03 16:26:40 +0100 |
commit | 4ab179e0ba48287583be573e763f79864fdbd022 (patch) | |
tree | 92dbe6b7caa72e3e52e3d87b8a5ab448ca650f3e /www-client | |
parent | www-client/vivaldi: Old. (diff) | |
download | gentoo-4ab179e0ba48287583be573e763f79864fdbd022.tar.gz gentoo-4ab179e0ba48287583be573e763f79864fdbd022.tar.bz2 gentoo-4ab179e0ba48287583be573e763f79864fdbd022.zip |
www-client/vivaldi: Fix desktop file encoding where possible.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/vivaldi-1.7.735.29_p1.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
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 132fff461276..6216df3dee75 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 \ |