add libvdpau to probe/deps
[goodguy/history.git] / cinelerra-5.1 / bld_scripts / bld_prepare.sh
index 5d751adc14fcbfc6567943e96d15baf98d1d30da..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
+    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
@@ -33,7 +33,8 @@ case "$dir" in
     rm -f /tmp/$yasm
   ;;
 "fedora")
-  dnf -y install nasm yasm libavc1394-devel libusb-devel flac-devel \
+  dnf -y --best --allowerasing \
+    install nasm yasm libavc1394-devel libusb-devel flac-devel \
     libjpeg-devel libdv-devel libdvdnav-devel libdvdread-devel \
     libtheora-devel libiec61883-devel esound-devel uuid-devel \
     giflib-devel ncurses-devel ilmbase-devel fftw-devel OpenEXR-devel \
@@ -44,8 +45,9 @@ case "$dir" in
     festival-devel libdc1394-devel libiec61883-devel esound-devel \
     flac-devel libsndfile-devel libtheora-devel linux-firmware \
     ivtv-firmware libvorbis-devel texinfo xz-devel lzma-devel cmake git \
-    autoconf automake rpm-build
-#   ctags patch gcc-c++ perl::XML_Parser libtiff-devel python dvdauthor
+    ctags patch gcc-c++ perl-XML-XPath libtiff-devel python dvdauthor \
+    gettext-devel inkscape udftools autoconf automake numactl-devel \
+    jbigkit-devel libvdpau-devel
   ;;
 "suse" | "leap")
   zypper -n install nasm gcc gcc-c++ zlib-devel texinfo libpng16-devel \
@@ -56,22 +58,33 @@ 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
+    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
   ;;
+#debian 32bit: export ac_cv_header_xmmintrin_h=no
+"debian")
+  apt-get -f -y install apt-file sox nasm yasm g++ build-essential zlib1g-dev \
+    texinfo libpng12-dev freeglut3-dev libxv-dev libasound2-dev libbz2-dev \
+    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 libvdpau-dev
+    inkscape libsndfile1-dev libtheora-dev cmake udftools libxml2-utils git \
+    autoconf automake debhelper
+  ;;
 #"ub16-10")
 #  apt-get -y install libx264-dev libx265-dev libvpx-dev libmjpegtools-dev
-"ubuntu" | "mint" | "ub14" | "ub15" | "ub16" | "debian")
+"ubuntu" | "mint" | "ub14" | "ub15" | "ub16" | "ub17" )
   apt-get -y install apt-file sox nasm yasm g++ build-essential libz-dev \
     texinfo libpng-dev freeglut3-dev libxv-dev libasound2-dev libbz2-dev \
     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 libavc1394-dev festival-dev fftw3-dev gdb \
-    libdc1394-22-dev libiec61883-dev libesd0-dev libflac-dev inkscape \
-    libsndfile1-dev libtheora-dev cmake udftools libxml2-utils git \
-    autoconf automake debhelper
+    libdc1394-22-dev libiec61883-dev libesd0-dev libflac-dev libjbig-dev \
+    libvdpau-dev libsndfile1-dev libtheora-dev cmake udftools libxml2-utils \
+    git inkscape autoconf automake debhelper
   ;;
  *)
   echo "unknown os: $dir"