[arch-commits] Commit in shotcut/repos/community-x86_64 (PKGBUILD PKGBUILD)
Leonidas Spyropoulos
artafinde at gemini.archlinux.org
Sat Jun 25 08:54:47 UTC 2022
Date: Saturday, June 25, 2022 @ 08:54:47
Author: artafinde
Revision: 1239406
archrelease: copy trunk to community-x86_64
Added:
shotcut/repos/community-x86_64/PKGBUILD
(from rev 1239405, shotcut/trunk/PKGBUILD)
Deleted:
shotcut/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 83 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-25 08:54:34 UTC (rev 1239405)
+++ PKGBUILD 2022-06-25 08:54:47 UTC (rev 1239406)
@@ -1,41 +0,0 @@
-# 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.04.25
-pkgrel=1
-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=('e5c51868a7f6e2ead3993d8577b5439408e9c54ee20274658c822666e2ca5fceb7d2360d02b8808b464c69005d83b6742a3a750ec244ffe69f82f2abd5ad39fc')
-
-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-x86_64/PKGBUILD (from rev 1239405, shotcut/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-25 08:54:47 UTC (rev 1239406)
@@ -0,0 +1,42 @@
+# 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.06.23
+pkgrel=1
+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' 'cmake' 'ninja')
+options=('debug')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mltframework/shotcut/archive/v$pkgver.tar.gz")
+sha512sums=('fc1fb6738e38784702ef2319d7e8563506f37ad1071f204cf91c958443df2e145b199e9ed0d6ceca693450718625a944520bf865705e1696072e89bfcfe1e752')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ # https://github.com/mltframework/shotcut/issues/1275
+ export CXXFLAGS+=" -DSHOTCUT_NOUPGRADE"
+
+ cmake \
+ -Bbuild \
+ -GNinja \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSHOTCUT_VERSION=${pkgver}
+ cmake --build build --verbose
+
+ ninja -C build translations
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ DESTDIR="${pkgdir}" cmake --install build
+}
+
+# vim:set ft=sh sw=2 sts=2 et:
\ No newline at end of file
More information about the arch-commits
mailing list