multimedia/shotcut: update to 21.03.21

From ChangeLog: https://shotcut.org/blog/new-release-210321/

 * Fixed <tractor> and blank considered missing and blocking export
 * Added an Ignore button to the missing files error dialog in Export.
 * Fixed black frames appearing in Slideshow Generator
 * Fixed being able to use mouse wheel over Timeline and Keyframes zoom sliders
 * Improved sound quality with small changes in Speed with Pitch Compensation or
   Pitch audio filter (broke in v20.11).
 * Fixed the Timeline clip audio waveform incorrect after adding transition by
   dragging the clip left.
 * Fixed repairing a project file opened using a network path on Windows.
 * Fixed writing a raw FLAC file does not set its duration.
 * Fixed an elided file name in clip Properties can become the clip name.

Deleteing patch integrated upstream: https://github.com/mltframework/shotcut/pull/1050

Reported by:	portscout
This commit is contained in:
Fernando Apesteguía 2021-03-23 08:24:57 +00:00
parent 9b9d61c396
commit 318761fb18
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=569012
3 changed files with 4 additions and 26 deletions

View file

@ -22,7 +22,7 @@ USE_GITHUB= yes
GH_ACCOUNT= mltframework
# Needed to be able to correctly check for updates in-app.
FULLVERSION= 21.02.27
FULLVERSION= 21.03.21
USE_GL+= gl
USE_QT= buildtools_build concurrent_build core declarative \

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1614514351
SHA256 (mltframework-shotcut-v21.02.27_GH0.tar.gz) = 5ca5a5fb4b13a9da72a1bcff665af5c55fff2516bc90850d128c282d1f4296e9
SIZE (mltframework-shotcut-v21.02.27_GH0.tar.gz) = 4101402
TIMESTAMP = 1616401712
SHA256 (mltframework-shotcut-v21.03.21_GH0.tar.gz) = be668454896c540746a3d27c42c858d7652399722c7ec073c7cd3e52d7578ccd
SIZE (mltframework-shotcut-v21.03.21_GH0.tar.gz) = 4101401

View file

@ -1,22 +0,0 @@
--- src/util.cpp.orig 2021-02-27 02:57:47 UTC
+++ src/util.cpp
@@ -480,6 +480,19 @@ bool Util::isMemoryLow()
}
}
return false;
+#elif defined(__FreeBSD__)
+ QProcess p;
+ p.start("sysctl -n hw.usermem");
+ p.waitForFinished();
+ auto lines = p.readAllStandardOutput();
+ p.close();
+ bool ok = false;
+ auto availableKB = lines.toUInt(&ok);
+ if (ok) {
+ return availableKB < kLowMemoryThresholdKB;
+ }
+
+ return false;
#elif defined(Q_OS_LINUX)
unsigned int availableKB = UINT_MAX;
QFile meminfo("/proc/meminfo");