diff --git a/srcpkgs/shotcut/patches/QPainterPath.patch b/srcpkgs/shotcut/patches/QPainterPath.patch deleted file mode 100644 index 29af4672afd..00000000000 --- a/srcpkgs/shotcut/patches/QPainterPath.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/widgets/scopes/videohistogramscopewidget.cpp 2020-04-12 01:09:54.000000000 +0200 -+++ src/widgets/scopes/videohistogramscopewidget.cpp 2020-09-02 13:05:57.515210925 +0200 -@@ -19,6 +19,7 @@ - #include - #include - #include -+#include - #include - - const qreal IRE0 = 16; diff --git a/srcpkgs/shotcut/patches/melt.patch b/srcpkgs/shotcut/patches/melt.patch deleted file mode 100644 index 8e98e7a27f5..00000000000 --- a/srcpkgs/shotcut/patches/melt.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/jobs/meltjob.cpp b/src/jobs/meltjob.cpp -index f5390e4..693a089 100644 ---- src/jobs/meltjob.cpp -+++ src/jobs/meltjob.cpp -@@ -50,7 +50,7 @@ void MeltJob::start() - #ifdef Q_OS_WIN - QFileInfo meltPath(shotcutPath, "qmelt.exe"); - #else -- QFileInfo meltPath(shotcutPath, "qmelt"); -+ QFileInfo meltPath(shotcutPath, "melt"); - #endif - setReadChannel(QProcess::StandardError); - QStringList args; diff --git a/srcpkgs/shotcut/template b/srcpkgs/shotcut/template index 5d746cd229c..dab37cf9ed5 100644 --- a/srcpkgs/shotcut/template +++ b/srcpkgs/shotcut/template @@ -1,21 +1,21 @@ # Template file for 'shotcut' pkgname=shotcut -version=20.04.12 +version=21.01.29 revision=1 build_style=qmake configure_args="SHOTCUT_VERSION=VOID-$version DEFINES+=SHOTCUT_NOUPGRADE" hostmakedepends="pkg-config qt5-tools" makedepends="gstreamer1-devel lame-devel libvpx-devel mlt-devel mlt-python3 qt5-declarative-devel qt5-graphicaleffects qt5-multimedia-devel - qt5-quickcontrols qt5-webkit-devel qt5-websockets-devel qt5-x11extras-devel - x264-devel" -depends="frei0r-plugins qt5-quickcontrols qt5-graphicaleffects" + qt5-quickcontrols2-devel qt5-webkit-devel qt5-websockets-devel + qt5-x11extras-devel x264-devel" +depends="frei0r-plugins qt5-graphicaleffects" short_desc="Free, open source, cross-platform video editor" maintainer="John " license="GPL-3.0-or-later" homepage="https://www.shotcut.org" distfiles="https://github.com/mltframework/shotcut/archive/v${version}.tar.gz" -checksum=c7b8df40e57800667c7ffa65faf6e9d3076af19029eb57327283cc75bb29c194 +checksum=2e55e36d95344758f220b081b1f25f90eb3d0131b0a4af9d65871798079ee961 CXXFLAGS="-DHAVE_LOCALE_H=1" @@ -28,5 +28,5 @@ post_configure() { cd translations qmake-qt5 PREFIX=/usr cd ${wrksrc} - sed -i -e 's/^LINK/override LINK/g' translations/Makefile + vsed -i -e 's/^LINK/override LINK/g' translations/Makefile }