summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/live-installer
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/live-installer')
-rwxr-xr-xabs/core-testing/live-installer/checkout_MythVantage.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/abs/core-testing/live-installer/checkout_MythVantage.sh b/abs/core-testing/live-installer/checkout_MythVantage.sh
index bd43915..764e418 100755
--- a/abs/core-testing/live-installer/checkout_MythVantage.sh
+++ b/abs/core-testing/live-installer/checkout_MythVantage.sh
@@ -1,5 +1,6 @@
#!/bin/bash
MYDIR=`pwd`
+MYTHPATH="\/data\/LinHES-PKGBUILD\/abs\/core-testing\/mythtv\/stable\/mythtv\/src\/mythtv-0.21"
function setup_links {
rm mythinstall.bin
@@ -23,17 +24,22 @@ else
echo "updating exisiting tree"
cd MythVantage-app
git pull
- git checkout LinHES
+ git checkout master
+ git merge
cd -
fi
cd MythVantage-app
-git checkout LinHES
+git checkout master
#git checkout origin/LinHES
}
dl_repo
+sed -i "s/^MYTHPATH.*$/MYTHPATH\=\"$MYTHPATH\"/g" $MYDIR/src/MythVantage-app/mythinstall/mythinstall.pro
+sed -i "s/#define __MVAPP__/\/\/#define __MVAPP__/g" $MYDIR/src/MythVantage-app/mythinstall/mv_common.h
+sed -i "s/mythvantage/LinHES/g" $MYDIR/src/MythVantage-app/mythinstall/mv_common.h
+
cd $MYDIR/src/MythVantage-app/mythinstall && qmake
make || exit 1
cd $MYDIR/src/MythVantage-app/mythbeselect && qmake