From 7ba23483b5f8a6794c82ade0cbd0dc7026da7a27 Mon Sep 17 00:00:00 2001
From: Johannes <johannes.brechtmann@gmail.com>
Date: Fri, 18 Jan 2019 19:33:34 +0100
Subject: [PATCH] firefox: fix Icon path in desktop file

[ci skip]
---
 srcpkgs/firefox/patches/fix-desktop-icon-path.patch | 11 +++++++++++
 srcpkgs/firefox/template                            |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/firefox/patches/fix-desktop-icon-path.patch

diff --git a/srcpkgs/firefox/patches/fix-desktop-icon-path.patch b/srcpkgs/firefox/patches/fix-desktop-icon-path.patch
new file mode 100644
index 0000000000..60af12e80b
--- /dev/null
+++ b/srcpkgs/firefox/patches/fix-desktop-icon-path.patch
@@ -0,0 +1,11 @@
+--- taskcluster/docker/firefox-snap/firefox.desktop.orig	2019-01-18 19:31:39.428839442 +0100
++++ taskcluster/docker/firefox-snap/firefox.desktop	2019-01-18 19:32:20.689063456 +0100
+@@ -154,7 +154,7 @@
+ Terminal=false
+ X-MultipleArgs=false
+ Type=Application
+-Icon=/browser/chrome/icons/default/default128.png
++Icon=firefox
+ Categories=GNOME;GTK;Network;WebBrowser;
+ MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
+ StartupNotify=true
diff --git a/srcpkgs/firefox/template b/srcpkgs/firefox/template
index 3ff4a8a204..dad62a4809 100644
--- a/srcpkgs/firefox/template
+++ b/srcpkgs/firefox/template
@@ -4,7 +4,7 @@
 #
 pkgname=firefox
 version=64.0.2
-revision=1
+revision=2
 short_desc="Mozilla Firefox web browser"
 maintainer="Juan RP <xtraeme@voidlinux.org>"
 license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later"