source: gs2-extensions/video-and-audio/trunk/src/build-srcpack/packages/CASCADE-MAKE/HANDBRAKE-NG.sh@ 36204

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

Version to work with NG cascade-make

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1#!/bin/bash
2
3package=HandBrake
4
5##version=-0.9.6
6#version=-0.9.9
7##version=-1.2.1
8#version=-1.5.0
9version=-1.5.1
10
11progname=$0
12
13#source ../../cascade-make/bin/script/test-setup.bash
14source ../../cascade-make/lib/cascade-lib.bash
15
16prefix=$GEXTVIDEO_INSTALLED
17
18export PKG_CONFIG_PATH=$GEXTVIDEO_INSTALLED/lib/pkgconfig
19
20opt_run_untar $force_untar $auto_untar $package $version ".tar.bz2"
21
22if [ $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
28fi
29
30export CXXFLAGS="$CXXFLAGS -fpermissive"
31
32opt_run_configure $force_config $auto_config $package $version "$prefix" \
33 "--disable-gtk" "--disable-gst" "--force"
34
35opt_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
40make_path_suffix=${version}/build
41opt_run_make $compile $package $make_path_suffix
42opt_run_make $install $package $make_path_suffix "install"
43opt_run_make $clean $package $make_path_suffix "clean"
44opt_run_make $distclean $package $make_path_suffix "distclean"
45
46
Note: See TracBrowser for help on using the repository browser.