git » mlt.git » commit 2dfd9a0

Fix underlinking in SDL module (FS#72680)

author Antonio Rojas
2021-11-09 19:59:37 UTC
committer Antonio Rojas
2021-11-09 19:59:37 UTC
parent e6bafa70a4f195024f71f4a6168de741ca76da23

Fix underlinking in SDL module (FS#72680)

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index 9b1cbb8..e6aa3a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
 
 pkgname=mlt
 pkgver=7.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc='An open source multimedia framework'
 arch=(x86_64)
 url='https://www.mltframework.org'
@@ -34,8 +34,14 @@ optdepends=('sdl_image: SDL1 plugin'
             'python: python bindings')
 makedepends=(cmake ladspa frei0r-plugins libdv sdl_image libsamplerate sox ffmpeg vid.stab qt5-svg
              jack libexif python swig movit eigen opencv rubberband gdk-pixbuf2 pango rtaudio imagemagick)
-source=(https://github.com/mltframework/mlt/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('34b737fae61dabddf3ec64477298decb9b2076388ccbda7e50114996b268086d')
+source=(https://github.com/mltframework/mlt/archive/v$pkgver/$pkgname-$pkgver.tar.gz
+        https://github.com/mltframework/mlt/commit/17e34fd3.patch)
+sha256sums=('34b737fae61dabddf3ec64477298decb9b2076388ccbda7e50114996b268086d'
+            'b9392939c907251d2039fdb66450e29fbfb38c77b3626c618e94fea34c21a711')
+
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 17e34fd3.patch # Fix sdl module underlinking
+}
 
 build() {
   cmake -B build -S $pkgname-$pkgver \