git » mlt.git » commit cea76b1

upgpkg: 7.24.0-1: Update to 7.24.0

author Antonio Rojas
2024-04-28 07:05:11 UTC
committer Antonio Rojas
2024-04-28 07:05:11 UTC
parent a0469288370fbe2a4cfd2b6a72fe1bd71793ae43

upgpkg: 7.24.0-1: Update to 7.24.0

.SRCINFO +8 -5
PKGBUILD +16 -6

diff --git a/.SRCINFO b/.SRCINFO
index 063cef4..002e004 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,16 @@
 pkgbase = mlt
 	pkgdesc = An open source multimedia framework
-	pkgver = 7.22.0
-	pkgrel = 4
+	pkgver = 7.24.0
+	pkgrel = 1
 	url = https://www.mltframework.org
 	arch = x86_64
-	license = GPL
+	license = LGPL-2.1-only
 	makedepends = cmake
 	makedepends = eigen
 	makedepends = ffmpeg
 	makedepends = frei0r-plugins
 	makedepends = gdk-pixbuf2
+	makedepends = git
 	makedepends = imagemagick
 	makedepends = jack
 	makedepends = ladspa
@@ -64,7 +65,9 @@ pkgbase = mlt
 	optdepends = sox: SOX (Audio Swiss Army Knife) plugin
 	optdepends = vid.stab: video stabilize plugin
 	optdepends = zlib: glaxnimate plugin
-	source = https://github.com/mltframework/mlt/releases/download/v7.22.0/mlt-7.22.0.tar.gz
-	sha256sums = 7cf4d9573a061d76902c6e12a2f09f5f461e7c697635233df82a63a3fe4d6da6
+	source = git+https://github.com/mltframework/mlt#tag=v7.24.0
+	source = git+https://gitlab.com/mattbas/glaxnimate.git
+	sha256sums = 00bdefd6b1aa8e870eee4b085ff5d3264077ecec82d0015902391117b12f5ab6
+	sha256sums = SKIP
 
 pkgname = mlt
diff --git a/PKGBUILD b/PKGBUILD
index 9a59489..9811b9d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,12 +7,12 @@
 # Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
 
 pkgname=mlt
-pkgver=7.22.0
-pkgrel=4
+pkgver=7.24.0
+pkgrel=1
 pkgdesc='An open source multimedia framework'
 arch=(x86_64)
 url='https://www.mltframework.org'
-license=(GPL)
+license=(LGPL-2.1-only)
 depends=(gcc-libs
          glibc
          libebur128)
@@ -53,6 +53,7 @@ makedepends=(cmake
              ffmpeg
              frei0r-plugins
              gdk-pixbuf2
+             git
              imagemagick
              jack
              ladspa
@@ -72,11 +73,20 @@ makedepends=(cmake
              sdl_image
              swig
              vid.stab)
-source=(https://github.com/mltframework/mlt/releases/download/v$pkgver/mlt-$pkgver.tar.gz)
-sha256sums=('7cf4d9573a061d76902c6e12a2f09f5f461e7c697635233df82a63a3fe4d6da6')
+source=(git+https://github.com/mltframework/mlt#tag=v$pkgver
+        git+https://gitlab.com/mattbas/glaxnimate.git)
+sha256sums=('00bdefd6b1aa8e870eee4b085ff5d3264077ecec82d0015902391117b12f5ab6'
+            'SKIP')
+
+prepare() {
+  cd $pkgname
+  git submodule init
+  git submodule set-url src/modules/glaxnimate/glaxnimate "$srcdir"/glaxnimate
+  git -c protocol.file.allow=always submodule update
+}
 
 build() {
-  cmake -B build -S $pkgname-$pkgver \
+  cmake -B build -S $pkgname \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DMOD_OPENCV=ON \
     -DMOD_GLAXNIMATE=ON \