multimedia/mlt: vdpau is unsupported with the newer ffmpeg.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Edward W. Koenig 2017-04-17 08:05:55 +02:00 committed by Willy Sudiarto Raharjo
parent a4031539e5
commit 838bd08903

View file

@ -49,6 +49,7 @@
# 11-OCT-2016 version update # 11-OCT-2016 version update
# 22-OCT-2016 add qt5 support, bug fixes/addenda (Larry Hajali) # 22-OCT-2016 add qt5 support, bug fixes/addenda (Larry Hajali)
# 29-JAN-2017 version update # 29-JAN-2017 version update
# 16-APR-2017 Compiling with vdpau is no longer supported ffmpeg-3.x
PRGNAM=mlt PRGNAM=mlt
VERSION=${VERSION:-6.4.1} 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 csharp)" ]; then csharp="csharp"; else csharp=""; fi
if [ -f "$(which ruby)" ]; then ruby="ruby"; else ruby=""; 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 # Use qt5 if present, otherwise system default
if pkg-config --exists Qt5 ; then if pkg-config --exists Qt5 ; then
qt="--qt-libdir=$(pkg-config Qt5 --variable=libdir) qt="--qt-libdir=$(pkg-config Qt5 --variable=libdir)
@ -132,7 +131,6 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-gpl3 \ --enable-gpl3 \
--luma-compress \ --luma-compress \
--enable-motion-est \ --enable-motion-est \
$vdpau \
$qt \ $qt \
--swig-languages="$java $lua $perl $php $python $ruby $tcl $csharp" \ --swig-languages="$java $lua $perl $php $python $ruby $tcl $csharp" \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux