add libvdpau to probe/deps
authorGood Guy <good1.2guy@gmail.com>
Wed, 10 May 2017 19:03:06 +0000 (13:03 -0600)
committerGood Guy <good1.2guy@gmail.com>
Wed, 10 May 2017 19:03:06 +0000 (13:03 -0600)
cinelerra-5.1/bld_scripts/bld_prepare.sh
cinelerra-5.1/configure.ac

index 84f7e896c6d9c70928a1b0c5e88d6a43b0b17661..9b9a1056fe284ba7059d3c4180ac7d1824c6c9d0 100755 (executable)
@@ -24,7 +24,7 @@ case "$dir" in
     libavc1394 festival-devel libiec61883-devel flac-devel inkscape \
     libsndfile-devel libtheora-devel linux-firmware ivtv-firmware \
     libvorbis-devel texinfo xz-devel lzma-devel cmake udftools git \
-    autoconf automake rpm-build jbigkit-devel
+    autoconf automake rpm-build jbigkit-devel libvdpau-devel
     yasm=yasm-1.2.0-7.fc21.x86_64.rpm
     release=http://archives.fedoraproject.org/pub/fedora/linux/releases/21
     url=$release/Everything/x86_64/os/Packages/y/$yasm
@@ -47,7 +47,7 @@ case "$dir" in
     ivtv-firmware libvorbis-devel texinfo xz-devel lzma-devel cmake git \
     ctags patch gcc-c++ perl-XML-XPath libtiff-devel python dvdauthor \
     gettext-devel inkscape udftools autoconf automake numactl-devel \
-    jbigkit-devel
+    jbigkit-devel libvdpau-devel
   ;;
 "suse" | "leap")
   zypper -n install nasm gcc gcc-c++ zlib-devel texinfo libpng16-devel \
@@ -58,7 +58,7 @@ case "$dir" in
     libdvdnav-devel libdvdread-devel libiec61883-devel libuuid-devel \
     ilmbase-devel fftw3-devel libsndfile-devel libtheora-devel flac-devel \
     libtiff-devel inkscape cmake patch libnuma-devel lzma-devel udftools git \
-    yasm autoconf automake rpm-build libjbig-devel
+    yasm autoconf automake rpm-build libjbig-devel libvdpau-devel
     if [ ! -f /usr/lib64/libtermcap.so ]; then
       ln -s libtermcap.so.2 /usr/lib64/libtermcap.so
     fi
@@ -70,8 +70,8 @@ case "$dir" in
     libncurses5-dev libxinerama-dev libfreetype6-dev libxft-dev libgif-dev \
     libtiff5-dev exuberant-ctags ttf-bitstream-vera xfonts-75dpi xfonts-100dpi \
     fonts-dejavu libopenexr-dev festival libfftw3-dev gdb \
-    libdc1394-22-dev libesd0-dev libflac-dev libjbig-dev inkscape \
-    libsndfile1-dev libtheora-dev cmake udftools libxml2-utils git \
+    libdc1394-22-dev libesd0-dev libflac-dev libjbig-dev libvdpau-dev
+    inkscape libsndfile1-dev libtheora-dev cmake udftools libxml2-utils git \
     autoconf automake debhelper
   ;;
 #"ub16-10")
@@ -83,8 +83,8 @@ case "$dir" in
     libtiff5-dev exuberant-ctags ttf-bitstream-vera xfonts-75dpi xfonts-100dpi \
     fonts-dejavu libopenexr-dev libavc1394-dev festival-dev fftw3-dev gdb \
     libdc1394-22-dev libiec61883-dev libesd0-dev libflac-dev libjbig-dev \
-    libsndfile1-dev libtheora-dev cmake udftools libxml2-utils git inkscape \
-    autoconf automake debhelper
+    libvdpau-dev libsndfile1-dev libtheora-dev cmake udftools libxml2-utils \
+    git inkscape autoconf automake debhelper
   ;;
  *)
   echo "unknown os: $dir"
index 952f0d00489b6f3809335b41cb4674d436dde378..f85285ab5099c99f87cb2ed42ffdd729d77f3ad0 100644 (file)
@@ -446,6 +446,7 @@ CHECK_HEADERS([giflib], [gif lib headers], [gif_lib.h])
 CHECK_LIB([fdk], [fdk-aac], [faacDecInit])
 CHECK_HEADERS([fdk], [fdk headers], [fdk-aac/genericStds.h])
 CHECK_LIB([jbig], [jbig], [jbg_dec_init])
+CHECK_LIB([vdpau], [vdpau], [vdp_device_create_x11])
 
 #if test "x$HAVE_mjpegtools" = "xyes"; then
 #CFG_CFLAGS+=" -I/usr/include/mjpegtools"