From 0aa67888330d138daa4f458ab12809d03ff56e88 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sat, 12 Oct 2019 22:43:12 +1000
Subject: [PATCH] OpenShot: use all icons from system theme
---
media-video/openshot/openshot-2.4.4.recipe | 2 +-
.../openshot/patches/openshot-2.4.4.patchset | 56 ++++++++++++++++++-
2 files changed, 54 insertions(+), 4 deletions(-)
diff --git a/media-video/openshot/openshot-2.4.4.recipe b/media-video/openshot/openshot-2.4.4.recipe
index e8fee75d9..c731cd960 100644
--- a/media-video/openshot/openshot-2.4.4.recipe
+++ b/media-video/openshot/openshot-2.4.4.recipe
@@ -6,7 +6,7 @@ you create the film you always dreamed of. Easily add sub-titles, transitions,\
HOMEPAGE="https://www.openshot.org"
COPYRIGHT="2008-2019 OpenShot Studios, LLC"
LICENSE="GNU GPL v3"
-REVISION="5"
+REVISION="6"
SOURCE_URI="https://github.com/OpenShot/openshot-qt/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="8197923b3fff2010ee69c75469818543674a12fcb8fcb08944471e4ead3426be"
SOURCE_FILENAME="openshot-$portVersion.tar.gz"
diff --git a/media-video/openshot/patches/openshot-2.4.4.patchset b/media-video/openshot/patches/openshot-2.4.4.patchset
index ec13ffe7e..89f98bc8a 100644
--- a/media-video/openshot/patches/openshot-2.4.4.patchset
+++ b/media-video/openshot/patches/openshot-2.4.4.patchset
@@ -1,11 +1,11 @@
-From d2bc8e4ee9f8af710c59a73521c3bfab60ca9c4f Mon Sep 17 00:00:00 2001
+From 2c801d768ae60f4718b44d30f8ec3830ddc31762 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sat, 6 Oct 2018 12:15:40 +1000
Subject: classes/info: use finddir
diff --git a/src/classes/info.py b/src/classes/info.py
-index 3bdb404..fed2985 100644
+index 85acdb1..1e59702 100644
--- a/src/classes/info.py
+++ b/src/classes/info.py
@@ -24,7 +24,7 @@
@@ -27,5 +27,55 @@ index 3bdb404..fed2985 100644
BLENDER_PATH = os.path.join(USER_PATH, "blender")
ASSETS_PATH = os.path.join(USER_PATH, "assets")
--
-2.19.0
+2.23.0
+
+
+From 2112ac5e1e8e7f33c8307d2b6c81b36cef750866 Mon Sep 17 00:00:00 2001
+From: Gerasim Troeglazov <3dEyes@gmail.com>
+Date: Sat, 12 Oct 2019 22:39:25 +1000
+Subject: Use icons from theme
+
+
+diff --git a/src/windows/ui/main-window.ui b/src/windows/ui/main-window.ui
+index 22a3c0a..9a49141 100644
+--- a/src/windows/ui/main-window.ui
++++ b/src/windows/ui/main-window.ui
+@@ -784,7 +784,7 @@
+ true
+
+
+-
++
+ :/icons/Humanity/actions/custom/arrow.png:/icons/Humanity/actions/custom/arrow.png
+
+
+@@ -799,7 +799,7 @@
+ true
+
+
+-
++
+ :/icons/Humanity/actions/16/edit-cut.svg:/icons/Humanity/actions/16/edit-cut.svg
+
+
+@@ -817,7 +817,7 @@
+ true
+
+
+-
++
+ :/icons/Humanity/actions/custom/snap.png:/icons/Humanity/actions/custom/snap.png
+
+
+@@ -829,7 +829,7 @@
+
+
+
+-
++
+ :/icons/Humanity/actions/custom/add_marker.png:/icons/Humanity/actions/custom/add_marker.png
+
+
+--
+2.23.0