[arch-commits] Commit in shotcut/repos (3 files)

Leonidas Spyropoulos artafinde at gemini.archlinux.org
Fri Feb 4 13:14:53 UTC 2022


    Date: Friday, February 4, 2022 @ 13:14:53
  Author: artafinde
Revision: 1125388

archrelease: copy trunk to community-testing-x86_64

Added:
  shotcut/repos/community-testing-x86_64/
  shotcut/repos/community-testing-x86_64/PKGBUILD
    (from rev 1125387, shotcut/trunk/PKGBUILD)
  shotcut/repos/community-testing-x86_64/melt.patch
    (from rev 1125387, shotcut/trunk/melt.patch)

------------+
 PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 melt.patch |   13 +++++++++++++
 2 files changed, 54 insertions(+)

Copied: shotcut/repos/community-testing-x86_64/PKGBUILD (from rev 1125387, shotcut/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2022-02-04 13:14:53 UTC (rev 1125388)
@@ -0,0 +1,41 @@
+# 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=22.01.30
+pkgrel=2
+arch=('x86_64')
+url='https://www.shotcut.org'
+license=('GPL3')
+depends=('qt5-base' 'qt5-declarative' 'qt5-graphicaleffects' 'qt5-multimedia'
+         'qt5-quickcontrols' 'qt5-quickcontrols2' 'qt5-websockets' 'qt5-x11extras'
+         'mlt' 'movit' 'ffmpeg' 'libx264' 'libvpx' 'lame' 'frei0r-plugins' 'ladspa')
+optdepends=('swh-plugins: Several audio filters')
+makedepends=('qt5-tools')
+options=('debug')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mltframework/shotcut/archive/v$pkgver.tar.gz")
+sha512sums=('0fbacada0d9081ede2b71d950fa7b4307aaa38869bdeb653f2287dc3fc0b10cb007e47cd4c21fb0f3b12c87bd970dcdb972d8e6ccb5ac4eaa312dc6c621cf3d4')
+
+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-testing-x86_64/melt.patch (from rev 1125387, shotcut/trunk/melt.patch)
===================================================================
--- community-testing-x86_64/melt.patch	                        (rev 0)
+++ community-testing-x86_64/melt.patch	2022-02-04 13:14:53 UTC (rev 1125388)
@@ -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