File indexing completed on 2024-05-05 04:52:23

0001 #!/bin/sh
0002 
0003 if [ "$1" == "" ]; then
0004   echo "$0 <dtv-scan-tables tree directory>"
0005   exit 1
0006 fi
0007 SCAN_DIR="$1"
0008 
0009 set -eu
0010 
0011 if [ "$(grep KAFFEINE_MAJOR_VERSION CMakeLists.txt)" == "" ]; then
0012   echo "Entering into the Kaffeine dir"
0013   cd kaffeine
0014 fi
0015 
0016 cmake . -DBUILD_TOOLS=1
0017 make convertscanfiles
0018 
0019 (cd $SCAN_DIR; git remote update; git rebase origin/master)
0020 
0021 tools/convertscanfiles /devel/v4l/dtv-scan-tables ../kaffeine/src/scanfile.dvb