Project

General

Profile

RE: Compiling Errors » Build TVH.sh

David G, 2020-01-27 08:35

 
1
#!/bin/bash
2

    
3
BASE=$(dirname "$0")
4
(
5
  if [ -d "$BASE/tvheadend" ]; then
6
    cd "$BASE/tvheadend" 
7
    git pull
8
  else
9
    cd "$BASE" 
10
    git clone https://github.com/tvheadend/tvheadend.git tvheadend # --depth=5 (need version tag workaround else 0.0.0 version)
11
#    git clone -b release/4.2 https://github.com/tvheadend/tvheadend.git tvheadend
12
    cd "$BASE/tvheadend" 
13
  fi
14
  time AUTOBUILD_CONFIGURE_EXTRA="?-disable-bintray_cache --disable-vaapi --disable-hdhomerun_client --disable-hdhomerun_static --enable-omx " ./Autobuild.sh -j$(nproc) # edit only betwin "quotation marks" 
15
) | tee "$BASE/build.log" 
(2-2/2)