[arch-commits] Commit in shotcut/repos (3 files)
Antonio Rojas
arojas at archlinux.org
Mon May 3 16:09:07 UTC 2021
Date: Monday, May 3, 2021 @ 16:09:07
Author: arojas
Revision: 927232
archrelease: copy trunk to community-staging-x86_64
Added:
shotcut/repos/community-staging-x86_64/
shotcut/repos/community-staging-x86_64/PKGBUILD
(from rev 927231, shotcut/trunk/PKGBUILD)
shotcut/repos/community-staging-x86_64/melt.patch
(from rev 927231, shotcut/trunk/melt.patch)
------------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
melt.patch | 13 +++++++++++++
2 files changed, 53 insertions(+)
Copied: shotcut/repos/community-staging-x86_64/PKGBUILD (from rev 927231, shotcut/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-05-03 16:09:07 UTC (rev 927232)
@@ -0,0 +1,40 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: nfnty <arch at nfnty.se>
+
+pkgname=shotcut
+pkgdesc='Cross-platform Qt based Video Editor'
+pkgver=21.05.01
+pkgrel=1
+arch=('x86_64')
+url='https://www.shotcut.org'
+license=('GPL3')
+depends=('qt5-base' 'qt5-declarative' 'qt5-graphicaleffects' 'qt5-multimedia'
+ 'qt5-quickcontrols2' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras'
+ 'mlt' 'movit' 'ffmpeg' 'libx264' 'libvpx' 'lame' 'frei0r-plugins' 'ladspa')
+optdepends=('swh-plugins: Several audio filters')
+makedepends=('qt5-tools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mltframework/shotcut/archive/v$pkgver.tar.gz")
+sha512sums=('482972649e9c89f0156a56533eda898c516a1f2260b0c72a78e665525477f960a2ee6a98de26b37ff0baf0c8d893546c692d3ab864cc4983364b439e23828343')
+
+build() {
+ mkdir $pkgname-$pkgver/build
+ cd $pkgname-$pkgver/build
+
+ qmake .. \
+ PREFIX='/usr' \
+ QMAKE_CFLAGS_RELEASE="$CFLAGS" \
+ QMAKE_CXXFLAGS_RELEASE="$CXXFLAGS" \
+ SHOTCUT_VERSION=ARCH-$pkgver \
+ DEFINES+=SHOTCUT_NOUPGRADE
+
+ make
+
+ lrelease ../translations/*.ts
+}
+
+package() {
+ cd $pkgname-$pkgver/build
+
+ make INSTALL_ROOT="$pkgdir" install
+}
+
Copied: shotcut/repos/community-staging-x86_64/melt.patch (from rev 927231, shotcut/trunk/melt.patch)
===================================================================
--- community-staging-x86_64/melt.patch (rev 0)
+++ community-staging-x86_64/melt.patch 2021-05-03 16:09:07 UTC (rev 927232)
@@ -0,0 +1,13 @@
+diff --git a/src/jobs/meltjob.cpp b/src/jobs/meltjob.cpp
+index f5390e4..693a089 100644
+--- a/src/jobs/meltjob.cpp
++++ b/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;
More information about the arch-commits
mailing list