From d708ee72251bbb76dedc5ffeebb6ba5d58e26c27 Mon Sep 17 00:00:00 2001
From: Carles Pastor <cpbadosa@gmail.com>
Date: Wed, 27 Feb 2019 12:24:16 +0100
Subject: [PATCH] Update to kde5.12

We also resize the svg in a hackish way using sed because I couldn't get
rsvg-convert to work properly. Could be the version in the runtime, will
investigate when able.
---
 org.DolphinEmu.dolphin-emu.json | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/org.DolphinEmu.dolphin-emu.json b/org.DolphinEmu.dolphin-emu.json
index 070541d..0e951d2 100644
--- a/org.DolphinEmu.dolphin-emu.json
+++ b/org.DolphinEmu.dolphin-emu.json
@@ -2,7 +2,7 @@
   "app-id": "org.DolphinEmu.dolphin-emu",
   "branch": "stable",
   "runtime": "org.kde.Platform",
-  "runtime-version": "5.11",
+  "runtime-version": "5.12",
   "sdk": "org.kde.Sdk",
   "command": "dolphin-emu",
   "rename-desktop-file": "dolphin-emu.desktop",
@@ -67,7 +67,8 @@
         "/share/man"
       ],
       "post-install": [
-        "install -Dm644 appdata.xml /app/share/appdata/dolphin-emu.appdata.xml"
+        "install -Dm644 appdata.xml /app/share/appdata/dolphin-emu.appdata.xml",
+        "sed -i -e 's/\"2048\"/\"512\"/g' /app/share/icons/hicolor/scalable/apps/dolphin-emu.svg"
       ],
       "sources": [
         {