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 |
|
---|
3 | if [ -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
|
---|
12 | fi
|
---|
13 |
|
---|
14 | if [ "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
|
---|
20 | fi
|
---|
21 |
|
---|
22 |
|
---|
23 | source cascade-make/bin/script/test-setup.bash
|
---|
24 | source cascade-make/lib/cascade-lib.bash
|
---|
25 |
|
---|
26 | # Guaranteed that GSDLOS has now been set
|
---|
27 |
|
---|
28 | if [ ! -e $GEXTVIDEO_INSTALLED ] ; then
|
---|
29 | echo "Creating $GEXTVIDEO_INSTALLED"
|
---|
30 | mkdir $GEXTVIDEO_INSTALLED
|
---|
31 | fi
|
---|
32 |
|
---|
33 | dirlist="build-srcpack"
|
---|
34 |
|
---|
35 | if [ -e devel-srcpack ] ; then
|
---|
36 | dirlist="$dirlist devel-srcpack"
|
---|
37 | fi
|
---|
38 |
|
---|
39 | for 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
|
---|
48 | done
|
---|
49 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.