Date: Sunday, April 9, 2023 @ 09:44:21
Author: arojas
Revision: 473502
archrelease: copy trunk to staging-x86_64
Added:
mlt/repos/staging-x86_64/01ab0f45.patch
(from rev 473501, mlt/trunk/01ab0f45.patch)
mlt/repos/staging-x86_64/PKGBUILD
(from rev 473501, mlt/trunk/PKGBUILD)
Deleted:
mlt/repos/staging-x86_64/PKGBUILD
----------------+
01ab0f45.patch | 23 +++++++++++
PKGBUILD | 112 ++++++++++++++++++++++++++++---------------------------
2 files changed, 82 insertions(+), 53 deletions(-)
Copied: mlt/repos/staging-x86_64/01ab0f45.patch (from rev 473501,
mlt/trunk/01ab0f45.patch)
===================================================================
--- 01ab0f45.patch (rev 0)
+++ 01ab0f45.patch 2023-04-09 09:44:21 UTC (rev 473502)
@@ -0,0 +1,23 @@
+diff --git a/src/modules/avformat/producer_avformat.c
b/src/modules/avformat/producer_avformat.c
+index 9e8a63df..82a412bc 100644
+--- a/src/modules/avformat/producer_avformat.c
++++ b/src/modules/avformat/producer_avformat.c
+@@ -1942,14 +1942,14 @@ static int producer_get_image( mlt_frame frame,
uint8_t **buffer, mlt_image_form
+ av_packet_free( &tmp );
+ pthread_cond_signal(
&self->packets_cond );
+ } else {
+- // notify packets_worker that we've
seen the error
+- self->packets_thread_ret = 0;
+- pthread_cond_signal(
&self->packets_cond );
+-
+ if ( self->packets_thread_ret ==
AVERROR_EOF )
+ {
+ self->pkt.stream_index =
self->video_index;
+ }
++ // notify packets_worker that we've
seen the error
++ self->packets_thread_ret = 0;
++ pthread_cond_signal(
&self->packets_cond );
++
+ if ( !self->video_seekable &&
mlt_properties_get_int( properties, "reconnect" ) )
+ {
+ // Try to reconnect to live
sources by closing context and codecs,
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-09 09:44:07 UTC (rev 473501)
+++ PKGBUILD 2023-04-09 09:44:21 UTC (rev 473502)
@@ -1,53 +0,0 @@
-# Maintainer: Antonio Rojas <[email protected]>
-# Contributor: Sergej Pupykin <[email protected]>
-# Contributor: Fabian Schoelzel <[email protected]>
-# Contributor: funkyou <[email protected]>
-# Contributor: tardo <[email protected]>
-# Contributor: Stefan Husmann <[email protected]>
-# Contributor: Gustavo Alvarez <[email protected]>
-
-pkgname=mlt
-pkgver=7.14.0
-pkgrel=4
-pkgdesc='An open source multimedia framework'
-arch=(x86_64)
-url='https://www.mltframework.org'
-license=(GPL)
-depends=(libebur128)
-optdepends=('sdl_image: SDL1 plugin'
- 'sdl2: SDL2 plugin'
- 'libsamplerate: libavresample plugin'
- 'sox: SOX (Audio Swiss Army Knife) plugin'
- 'ffmpeg: ffmpeg plugin'
- 'vid.stab: video stabilize plugin'
- 'qt5-svg: Qt5 plugins'
- 'qt6-svg: Qt6 plugin' 'qt6-5compat: Qt6 plugin'
- 'jack: JACK sound output plugin'
- 'ladspa: LADSPA plugins'
- 'libexif: auto rotate plugin'
- 'frei0r-plugins: for additional effects'
- 'movit: opengl plugin'
- 'opencv: openCV plugin'
- 'rubberband: audio pitch plugin'
- 'gdk-pixbuf2: gdk plugin'
- 'pango: gdk plugin'
- 'rtaudio: rtaudio plugin'
- 'python: python bindings')
-makedepends=(cmake ladspa frei0r-plugins libdv sdl_image libsamplerate sox
ffmpeg vid.stab qt5-svg qt6-svg qt6-5compat
- jack libexif python swig movit eigen opencv rubberband
gdk-pixbuf2 pango rtaudio imagemagick)
-source=(https://github.com/mltframework/mlt/releases/download/v$pkgver/mlt-$pkgver.tar.gz)
-sha256sums=('3a7e83ed5e30f3f2d073d172c9d886310d8a73dbd2ee850ad44e3c43a9ab6394')
-
-build() {
- cmake -B build -S $pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DMOD_OPENCV=ON \
- -DMOD_GLAXNIMATE=ON \
- -DMOD_QT6=ON \
- -DSWIG_PYTHON=ON
- cmake --build build
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
-}
Copied: mlt/repos/staging-x86_64/PKGBUILD (from rev 473501, mlt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-09 09:44:21 UTC (rev 473502)
@@ -0,0 +1,59 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Sergej Pupykin <[email protected]>
+# Contributor: Fabian Schoelzel <[email protected]>
+# Contributor: funkyou <[email protected]>
+# Contributor: tardo <[email protected]>
+# Contributor: Stefan Husmann <[email protected]>
+# Contributor: Gustavo Alvarez <[email protected]>
+
+pkgname=mlt
+pkgver=7.14.0
+pkgrel=7
+pkgdesc='An open source multimedia framework'
+arch=(x86_64)
+url='https://www.mltframework.org'
+license=(GPL)
+depends=(libebur128)
+optdepends=('sdl_image: SDL1 plugin'
+ 'sdl2: SDL2 plugin'
+ 'libsamplerate: libavresample plugin'
+ 'sox: SOX (Audio Swiss Army Knife) plugin'
+ 'ffmpeg: ffmpeg plugin'
+ 'vid.stab: video stabilize plugin'
+ 'qt5-svg: Qt5 plugins'
+ 'qt6-svg: Qt6 plugin' 'qt6-5compat: Qt6 plugin'
+ 'jack: JACK sound output plugin'
+ 'ladspa: LADSPA plugins'
+ 'libexif: auto rotate plugin'
+ 'frei0r-plugins: for additional effects'
+ 'movit: opengl plugin'
+ 'opencv: openCV plugin'
+ 'rubberband: audio pitch plugin'
+ 'gdk-pixbuf2: gdk plugin'
+ 'pango: gdk plugin'
+ 'rtaudio: rtaudio plugin'
+ 'python: python bindings')
+makedepends=(cmake ladspa frei0r-plugins libdv sdl_image libsamplerate sox
ffmpeg vid.stab qt5-svg qt6-svg qt6-5compat
+ jack libexif python swig movit eigen opencv rubberband
gdk-pixbuf2 pango rtaudio imagemagick)
+source=(https://github.com/mltframework/mlt/releases/download/v$pkgver/mlt-$pkgver.tar.gz
+ 01ab0f45.patch)
+sha256sums=('3a7e83ed5e30f3f2d073d172c9d886310d8a73dbd2ee850ad44e3c43a9ab6394'
+ '51c10de5b683442c7a0b202627f01ca80fbf6d52170c6b3b4e1dcaa27ef59e50')
+
+prepare() {
+ patch -d $pkgname-$pkgver -p1 < 01ab0f45.patch # Fix infinite loop
+}
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DMOD_OPENCV=ON \
+ -DMOD_GLAXNIMATE=ON \
+ -DMOD_QT6=ON \
+ -DSWIG_PYTHON=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}