From: Good Guy Date: Wed, 10 May 2017 19:03:06 +0000 (-0600) Subject: add libvdpau to probe/deps X-Git-Url: https://git.cinelerra-gg.org/git/?a=commitdiff_plain;h=266ab43cb9d4953673773b7b47f3d3531e4de2dd;p=goodguy%2Fhistory.git add libvdpau to probe/deps --- diff --git a/cinelerra-5.1/bld_scripts/bld_prepare.sh b/cinelerra-5.1/bld_scripts/bld_prepare.sh index 84f7e896..9b9a1056 100755 --- a/cinelerra-5.1/bld_scripts/bld_prepare.sh +++ b/cinelerra-5.1/bld_scripts/bld_prepare.sh @@ -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" diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac index 952f0d00..f85285ab 100644 --- a/cinelerra-5.1/configure.ac +++ b/cinelerra-5.1/configure.ac @@ -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"