From 780be5dc6c0f2b6154c5722006b01c724601b496 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Mon, 13 Dec 2021 18:57:15 +1000
Subject: [PATCH] libopenshot: bump version
---
...-0.2.6.recipe => libopenshot-0.2.7.recipe} | 4 +--
....6.patchset => libopenshot-0.2.7.patchset} | 32 +++++++++----------
2 files changed, 18 insertions(+), 18 deletions(-)
rename media-libs/libopenshot/{libopenshot-0.2.6.recipe => libopenshot-0.2.7.recipe} (98%)
rename media-libs/libopenshot/patches/{libopenshot-0.2.6.patchset => libopenshot-0.2.7.patchset} (94%)
diff --git a/media-libs/libopenshot/libopenshot-0.2.6.recipe b/media-libs/libopenshot/libopenshot-0.2.7.recipe
similarity index 98%
rename from media-libs/libopenshot/libopenshot-0.2.6.recipe
rename to media-libs/libopenshot/libopenshot-0.2.7.recipe
index 885f71196..35949b47d 100644
--- a/media-libs/libopenshot/libopenshot-0.2.6.recipe
+++ b/media-libs/libopenshot/libopenshot-0.2.7.recipe
@@ -6,9 +6,9 @@ OpenShot Video Editor (version 2.0+). C++, Python are fully supported."
HOMEPAGE="https://www.openshot.org/"
COPYRIGHT="2008-2021 OpenShot Studios, LLC"
LICENSE="GNU LGPL v3"
-REVISION="3"
+REVISION="1"
SOURCE_URI="https://github.com/OpenShot/libopenshot/archive/v$portVersion.tar.gz"
-CHECKSUM_SHA256="3e6f60c86748ea814a9c0c48e5a59c5b04a5876a43b763258d0dd3f6ae84fde8"
+CHECKSUM_SHA256="568eab6d69d469c5f745f0e25387ca5e000f7c28be48417b0d7770577ac74a28"
SOURCE_FILENAME="libopenshot-$portVersion.tar.gz"
PATCHES="libopenshot-$portVersion.patchset"
diff --git a/media-libs/libopenshot/patches/libopenshot-0.2.6.patchset b/media-libs/libopenshot/patches/libopenshot-0.2.7.patchset
similarity index 94%
rename from media-libs/libopenshot/patches/libopenshot-0.2.6.patchset
rename to media-libs/libopenshot/patches/libopenshot-0.2.7.patchset
index c2953b8ad..3e3ab1cc7 100644
--- a/media-libs/libopenshot/patches/libopenshot-0.2.6.patchset
+++ b/media-libs/libopenshot/patches/libopenshot-0.2.7.patchset
@@ -1,11 +1,11 @@
-From fafdb707b395355e481d86cfdd1a54a0c01148e2 Mon Sep 17 00:00:00 2001
+From 16ed2ece98e28f5af6c3be682061faec1102b794 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
-Date: Tue, 31 Aug 2021 21:23:36 +1000
+Date: Mon, 13 Dec 2021 18:34:51 +1000
Subject: Fix build for Haiku
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index a36eed2..a1022b2 100644
+index 3eb2717..fc8ad25 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,6 +38,7 @@ For more information, please visit .
@@ -15,7 +15,19 @@ index a36eed2..a1022b2 100644
+include(GNUInstallDirs)
################ PROJECT VERSION ####################
- set(PROJECT_VERSION_FULL "0.2.6")
+ set(PROJECT_VERSION_FULL "0.2.7")
+diff --git a/src/AudioBufferSource.h b/src/AudioBufferSource.h
+index a899d8d..225de2e 100644
+--- a/src/AudioBufferSource.h
++++ b/src/AudioBufferSource.h
+@@ -32,6 +32,7 @@
+ #define OPENSHOT_AUDIOBUFFERSOURCE_H
+
+ #include
++#include
+ #include
+
+ /// This namespace is the default namespace for all code in the openshot library
diff --git a/src/CrashHandler.cpp b/src/CrashHandler.cpp
index 7b6c4e7..6acb8df 100644
--- a/src/CrashHandler.cpp
@@ -36,18 +48,6 @@ index 7b6c4e7..6acb8df 100644
-}
\ No newline at end of file
+}
-diff --git a/src/AudioBufferSource.h b/src/AudioBufferSource.h
-index a899d8d..225de2e 100644
---- a/src/AudioBufferSource.h
-+++ b/src/AudioBufferSource.h
-@@ -32,6 +32,7 @@
- #define OPENSHOT_AUDIOBUFFERSOURCE_H
-
- #include
-+#include
- #include
-
- /// This namespace is the default namespace for all code in the openshot library
diff --git a/src/FFmpegReader.cpp b/src/FFmpegReader.cpp
index c1eaa74..6d676ad 100644
--- a/src/FFmpegReader.cpp