source: gs2-extensions/video-and-audio/trunk/src/CASCADE-MAKE-NG.sh@ 36200

Last change on this file since 36200 was 36200, checked in by davidb, 2 years ago

Next Generation version to compile up ffmpeg and handbrake

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#!/bin/bash
2
3if [ -d "my-python3" ] ; then
4 echo "This sequence of compile-make requires a venv version of Python3"
5 echo " python -mvenv my-python3"
6 echo " activate ./my-python3/bin/activate"
7 echo ""
8 echo "You then need to:"
9 echo " pip3 install meson ninja"
10 echo ""
11 sleep 10
12fi
13
14if [ "x$GSDLHOME" = "x" ] ; then
15 # This extension needs to have the main GSDL setup.bash sourced
16
17 echo "Greenstone environment variable GSDLHOME not set."
18 echo "Have you sourced the main installation's setup file, e.g. setup.bash?"
19 exit -1
20fi
21
22
23source cascade-make/bin/script/test-setup.bash
24source cascade-make/lib/cascade-lib.bash
25
26# Guaranteed that GSDLOS has now been set
27
28if [ ! -e $GEXTVIDEO_INSTALLED ] ; then
29 echo "Creating $GEXTVIDEO_INSTALLED"
30 mkdir $GEXTVIDEO_INSTALLED
31fi
32
33dirlist="build-srcpack"
34
35if [ -e devel-srcpack ] ; then
36 dirlist="$dirlist devel-srcpack"
37fi
38
39for d in $dirlist ; do
40 echo "Running $d/CASCADE-MAKE-NG.sh $*"
41
42 (cd $d ; ./CASCADE-MAKE-NG.sh $*)
43
44 if [ $? != 0 ] ; then
45 echo "Error encountered running $d/CASCADE-MAKE-NG.sh"
46 exit 1
47 fi
48done
49
Note: See TracBrowser for help on using the repository browser.