Credit MEHW - BT 656 fixes compile using latest Vulkan header files v1.3.280.0
[goodguy/cinelerra.git] / cinelerra-5.1 / blds / bld_prepare.sh
index 67eb9f23b4a0adf749e8b8b8174cd41af94c361b..0e7958d0750970b27d42104c24f518869e9360f1 100755 (executable)
@@ -7,7 +7,7 @@ fi
 
 if [ $# -ne 1 ]; then
   echo "usage: $0 <os>"
-  echo "  <os> = [centos | suse | ubuntu | fedora | mint | debian | arch]"
+  echo "  <os> = [centos | suse | ubuntu | fedora | mint | debian | arch | debian-older | ubuntu-older]"
 fi
 
 dir="$1"
@@ -79,7 +79,7 @@ case "$dir" in
     fi
   ;;
 #debian 32bit: export ac_cv_header_xmmintrin_h=no
-"debian")
+"debian-older")
   apt-get -f -y install apt-file sox nasm yasm g++ build-essential zlib1g-dev \
     texinfo libpng-dev freeglut3-dev libxv-dev libasound2-dev libbz2-dev \
     libncurses5-dev libxinerama-dev libfreetype6-dev libxft-dev libgif-dev \
@@ -92,7 +92,7 @@ case "$dir" in
   ;;
 #"ub16-10")
 #  apt-get -y install libx264-dev libx265-dev libvpx-dev libmjpegtools-dev
-"ubuntu" | "mint" | "ub14" | "ub15" | "ub16" | "ub17" | "ub18" )
+"ubuntu-older" | "mint" | "ub14" | "ub15" | "ub16" | "ub17" | "ub18" )
   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 \
@@ -104,7 +104,33 @@ case "$dir" in
     libpulse-dev libtool python \
     patchelf libboost-filesystem-dev libboost-regex-dev
   ;;
- *)
+#ubuntu for newest versions since about 06/2022
+"ubuntu")
+  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-25 libdc1394-dev libiec61883-dev libflac-dev libjbig-dev libusb-1.0-0-dev \
+    libvdpau-dev libva-dev libsndfile1-dev libtheora-dev cmake udftools \
+    libxml2-utils git inkscape autoconf automake debhelper libgtk2.0-dev \
+    libpulse-dev libtool 2to3 python-is-python3 python2-minimal python2 dh-python \
+    patchelf libboost-filesystem-dev libboost-regex-dev libxml-parser-perl libimath-dev liblilv-dev
+  ;;
+#debian for newest versions since about 06/2022
+"debian")
+  apt-get -f -y install apt-file sox nasm yasm g++ build-essential zlib1g-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 festival libfftw3-dev gdb libusb-1.0-0-dev \
+    libdc1394-25 libdc1394-dev libflac-dev libjbig-dev libvdpau-dev libva-dev \
+    inkscape libsndfile1-dev libtheora-dev cmake udftools libxml2-utils git \
+    autoconf automake debhelper libgtk2.0-dev libpulse-dev 2to3 python-is-python3  python3 dh-python \
+    patchelf libboost-filesystem-dev libboost-regex-dev libxml-parser-perl fuse
+  ;;
+
+*)
   echo "unknown os: $dir"
   exit 1;
   ;;