Leonidas Spyropoulos pushed to branch main at Arch Linux / Packaging / Packages 
/ shotcut


Commits:
b425cdc6 by Leonidas Spyropoulos at 2024-05-02T15:29:11+01:00
upgpkg: 24.04-1: new upstream release, switch to git source

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,12 @@
 pkgbase = shotcut
        pkgdesc = Cross-platform Qt based Video Editor
-       pkgver = 24.02
+       pkgver = 24.04
        pkgrel = 1
        url = https://www.shotcut.org
        arch = x86_64
        license = GPL3
        makedepends = qt6-tools
+       makedepends = git
        makedepends = cmake
        makedepends = ninja
        makedepends = clang
@@ -24,7 +25,7 @@ pkgbase = shotcut
        depends = ladspa
        depends = qt6-charts
        optdepends = swh-plugins: Several audio filters
-       source = 
shotcut-24.02.tar.gz::https://github.com/mltframework/shotcut/archive/v24.02.29.tar.gz
-       sha512sums = 
d8cf6219459d722734af7ba917853e7a9dace8a226b30c6dc4ac8f2bfbeae3595c5000e0661d8951e0ad82394cd8c97fa91a89c3e71833c1bf333ba77635c10d
+       source = git+https://github.com/mltframework/shotcut.git#tag=v24.04.28
+       sha512sums = 
8f3eb70c07be77cfd515174bb9df8e8edc8a2ae0bb8ef5efe55836bfb5b31c5a1b12fa99eec308439396e56919d8c942bf53bdb983fd2a69a7a50ff3cb9636e0
 
 pkgname = shotcut


=====================================
PKGBUILD
=====================================
@@ -4,8 +4,8 @@
 
 pkgname=shotcut
 pkgdesc='Cross-platform Qt based Video Editor'
-pkgver=24.02
-_tag=24.02.29
+pkgver=24.04
+_tag=24.04.28
 pkgrel=1
 arch=('x86_64')
 url='https://www.shotcut.org'
@@ -13,18 +13,18 @@ license=('GPL3')
 depends=('qt6-base' 'qt6-declarative' 'qt6-imageformats' 'qt6-multimedia' 
'qt6-translations'
          'mlt' 'movit' 'ffmpeg' 'libx264' 'libvpx' 'lame' 'frei0r-plugins' 
'ladspa' 'qt6-charts')
 optdepends=('swh-plugins: Several audio filters')
-makedepends=('qt6-tools' 'cmake' 'ninja' 'clang')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/mltframework/shotcut/archive/v$_tag.tar.gz";)
-sha512sums=('d8cf6219459d722734af7ba917853e7a9dace8a226b30c6dc4ac8f2bfbeae3595c5000e0661d8951e0ad82394cd8c97fa91a89c3e71833c1bf333ba77635c10d')
+makedepends=('qt6-tools' 'git' 'cmake' 'ninja' 'clang')
+source=("git+https://github.com/mltframework/shotcut.git#tag=v${_tag}";)
+sha512sums=('8f3eb70c07be77cfd515174bb9df8e8edc8a2ae0bb8ef5efe55836bfb5b31c5a1b12fa99eec308439396e56919d8c942bf53bdb983fd2a69a7a50ff3cb9636e0')
 
 prepare() {
-  cd "${pkgname}-${_tag}"
+  cd "${pkgname}"
 
   sed -e 's|${Qt6_LUPDATE_EXECUTABLE}|/usr/lib/qt6/bin/lupdate|' -i 
translations/CMakeLists.txt
 }
 
 build() {
-  cd "${pkgname}-${_tag}"
+  cd "${pkgname}"
 
   # https://github.com/mltframework/shotcut/issues/1275
   export CXXFLAGS+=" -DSHOTCUT_NOUPGRADE"
@@ -36,12 +36,10 @@ build() {
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DSHOTCUT_VERSION=${pkgver}
   cmake --build build --verbose
-
-  ninja -C build translations
 }
 
 package() {
-  cd "${pkgname}-${_tag}"
+  cd "${pkgname}"
 
   DESTDIR="${pkgdir}" cmake --install build
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/shotcut/-/commit/b425cdc63e9ff381c3cbf36cfc326eeaeeb66314

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/shotcut/-/commit/b425cdc63e9ff381c3cbf36cfc326eeaeeb66314
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to