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

Filipe Laíns ffy00 at archlinux.org
Fri Aug 31 15:21:14 UTC 2018


    Date: Friday, August 31, 2018 @ 15:21:13
  Author: ffy00
Revision: 375874

archrelease: copy trunk to community-x86_64

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

------------+
 PKGBUILD   |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 melt.patch |   13 +++++++++++++
 2 files changed, 60 insertions(+)

Copied: shotcut/repos/community-x86_64/PKGBUILD (from rev 375873, shotcut/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-08-31 15:21:13 UTC (rev 375874)
@@ -0,0 +1,47 @@
+# $Id$
+# 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=18.08.14
+pkgrel=3
+arch=('x86_64')
+url='https://www.shotcut.org'
+license=('GPL3')
+depends=('qt5-base' 'qt5-declarative' 'qt5-graphicaleffects' 'qt5-multimedia'
+         'qt5-quickcontrols' 'qt5-webkit' 'qt5-websockets' 'qt5-x11extras'
+         'mlt' 'movit' 'ffmpeg' 'libx264' 'libvpx' 'lame' 'frei0r-plugins' 'ladspa')
+makedepends=('qt5-tools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mltframework/shotcut/archive/v$pkgver.tar.gz"
+        'melt.patch')
+sha512sums=('ee1f8bac04907aae1ac3d85d1f61d1e7cdf0e0f67117c968dd79313f31d5b7f2fcb32bc8066c14fb5bb09a315a81b067a88c75004dae87a00b5f316ae87be8a0'
+            '57063ccb11cb9bd061b807934afe5656d9e1e4a31850de2e60b6a0cdf4741c7975a2a548fdb5e7d2bb0a1e44635adb832d139ac55632a4e7f592952b67d17cfe')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  patch -p1 < ../melt.patch
+}
+
+build() {
+  mkdir $pkgname-$pkgver/build
+  cd $pkgname-$pkgver/build
+
+  qmake .. \
+    PREFIX='/usr' \
+    QMAKE_CFLAGS_RELEASE="$CFLAGS" \
+    QMAKE_CXXFLAGS_RELEASE="$CXXFLAGS" \
+    SHOTCUT_VERSION=$pkgver-ARCH
+
+  make
+
+  lrelease ../translations/*.ts
+}
+
+package() {
+    cd $pkgname-$pkgver/build
+
+    make INSTALL_ROOT="$pkgdir" install
+}
+

Copied: shotcut/repos/community-x86_64/melt.patch (from rev 375873, shotcut/trunk/melt.patch)
===================================================================
--- community-x86_64/melt.patch	                        (rev 0)
+++ community-x86_64/melt.patch	2018-08-31 15:21:13 UTC (rev 375874)
@@ -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