diff --git a/multimedia/shotcut/Makefile b/multimedia/shotcut/Makefile index d99827b15af8..de590f3da34d 100644 --- a/multimedia/shotcut/Makefile +++ b/multimedia/shotcut/Makefile @@ -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 \ diff --git a/multimedia/shotcut/distinfo b/multimedia/shotcut/distinfo index cfb62bf1f490..acc51bc72c3b 100644 --- a/multimedia/shotcut/distinfo +++ b/multimedia/shotcut/distinfo @@ -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 diff --git a/multimedia/shotcut/files/patch-src_util.cpp b/multimedia/shotcut/files/patch-src_util.cpp deleted file mode 100644 index c99c1e5e9e3b..000000000000 --- a/multimedia/shotcut/files/patch-src_util.cpp +++ /dev/null @@ -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");