Last change
on this file since 36204 was 36204, checked in by davidb, 17 months ago |
Version to work with NG cascade-make
|
-
Property svn:executable
set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | package=HandBrake
|
---|
4 |
|
---|
5 | ##version=-0.9.6
|
---|
6 | #version=-0.9.9
|
---|
7 | ##version=-1.2.1
|
---|
8 | #version=-1.5.0
|
---|
9 | version=-1.5.1
|
---|
10 |
|
---|
11 | progname=$0
|
---|
12 |
|
---|
13 | #source ../../cascade-make/bin/script/test-setup.bash
|
---|
14 | source ../../cascade-make/lib/cascade-lib.bash
|
---|
15 |
|
---|
16 | prefix=$GEXTVIDEO_INSTALLED
|
---|
17 |
|
---|
18 | export PKG_CONFIG_PATH=$GEXTVIDEO_INSTALLED/lib/pkgconfig
|
---|
19 |
|
---|
20 | opt_run_untar $force_untar $auto_untar $package $version ".tar.bz2"
|
---|
21 |
|
---|
22 | if [ $force_configure ] ; then
|
---|
23 | echo "*****"
|
---|
24 | echo "For Handbrake to download supporting .tar.gz files via https, you"
|
---|
25 | echo "need to set 'check_certificate = off' in gs2build/linux/bin/wgetrc"
|
---|
26 | echo "*****"
|
---|
27 | sleep 3
|
---|
28 | fi
|
---|
29 |
|
---|
30 | export CXXFLAGS="$CXXFLAGS -fpermissive"
|
---|
31 |
|
---|
32 | opt_run_configure $force_config $auto_config $package $version "$prefix" \
|
---|
33 | "--disable-gtk" "--disable-gst" "--force"
|
---|
34 |
|
---|
35 | opt_run_tarclean $tarclean $package $version
|
---|
36 |
|
---|
37 | # The first thing the run_make function does is change directory to
|
---|
38 | #o "$package$version", so I'll just append the build directory to the end of
|
---|
39 | # version... Mwuhahaha
|
---|
40 | make_path_suffix=${version}/build
|
---|
41 | opt_run_make $compile $package $make_path_suffix
|
---|
42 | opt_run_make $install $package $make_path_suffix "install"
|
---|
43 | opt_run_make $clean $package $make_path_suffix "clean"
|
---|
44 | opt_run_make $distclean $package $make_path_suffix "distclean"
|
---|
45 |
|
---|
46 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.