[Slackbuilds-users] [Slakbuilds-users] mlt fails to compile with ffmpeg-3.x and vdpau

King Beowulf kingbeowulf at gmail.com
Mon Apr 17 05:55:45 UTC 2017


Admins

Completely forgot about this and was reminded in a recent email.  mlt
upstream no longer supports compiling with vdpau for ffmpeg-3.x API.
Details:
https://github.com/mltframework/mlt/commit/bb58611e43cd60875d871ededabf656761dc75d4

Diff against SBo master as of 16-APR-2017 22:50 PDT USA

-------------8<---------------------------------
diff --git a/multimedia/mlt/mlt.SlackBuild b/multimedia/mlt/mlt.SlackBuild
index e6bb43a..e17e410 100644
--- a/multimedia/mlt/mlt.SlackBuild
+++ b/multimedia/mlt/mlt.SlackBuild
@@ -49,6 +49,7 @@
 # 11-OCT-2016  version update
 # 22-OCT-2016   add qt5 support, bug fixes/addenda (Larry Hajali)
 # 29-JAN-2017   version update
+# 16-APR-2017   Compiling with vdpau is no longer supported ffmpeg-3.x

 PRGNAM=mlt
 VERSION=${VERSION:-6.4.1}
@@ -79,8 +80,6 @@ if [ -h "$(which tclsh)" ]; then tcl="tcl"; else
tcl=""; fi
 if [ -f "$(which csharp)" ]; then csharp="csharp"; else csharp=""; fi
 if [ -f "$(which ruby)" ]; then ruby="ruby"; else ruby=""; fi

-if pkg-config --exists vdpau ; then vdpau="--avformat-vdpau" ; else
vdpau="" ; fi
-
 # Use qt5 if present, otherwise system default
 if pkg-config --exists Qt5 ; then
   qt="--qt-libdir=$(pkg-config Qt5 --variable=libdir)
@@ -132,7 +131,6 @@ CXXFLAGS="$SLKCFLAGS" \
   --enable-gpl3 \
   --luma-compress \
   --enable-motion-est \
-  $vdpau \
   $qt \
   --swig-languages="$java $lua $perl $php $python $ruby $tcl $csharp" \
   --build=$ARCH-slackware-linux
------------->8---------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170416/253d1e6c/attachment.asc>


More information about the SlackBuilds-users mailing list