diff options
author | James Meyer <james.meyer@operamail.com> | 2009-11-13 07:21:46 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-11-13 07:21:46 (GMT) |
commit | 420f4c0c8157237d3b4b682a27db498b80c9e0f3 (patch) | |
tree | 28380e8bee94cac8085a97b9e8a6d0ccc73579bc | |
parent | 3251e21005266863c1cbce4e7181c61dd7dda02e (diff) | |
download | linhes_pkgbuild-420f4c0c8157237d3b4b682a27db498b80c9e0f3.zip linhes_pkgbuild-420f4c0c8157237d3b4b682a27db498b80c9e0f3.tar.gz linhes_pkgbuild-420f4c0c8157237d3b4b682a27db498b80c9e0f3.tar.bz2 |
mythinstall.22: first check in of MythVantage against .22.
-rw-r--r-- | abs/core-testing/mythinstall-22/PKGBUILD | 23 | ||||
-rwxr-xr-x | abs/core-testing/mythinstall-22/checkout_MythVantage.sh | 49 |
2 files changed, 72 insertions, 0 deletions
diff --git a/abs/core-testing/mythinstall-22/PKGBUILD b/abs/core-testing/mythinstall-22/PKGBUILD new file mode 100644 index 0000000..89cca2f --- /dev/null +++ b/abs/core-testing/mythinstall-22/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Jams +pkgname=mythinstall-22 +pkgver=2 +pkgrel=1 +pkgdesc="LinHES installer/systemconfig GUI." +arch=i686 +depends=() +makedepends=(mythtv-release-fixes-22) + +source=(mythinstall.bin) + +build() { + +# It is assumed that you have built the mythtv package in the same +# LinHES-PKGBUILD area. + MVBINDIR=$startdir/pkg/usr/MythVantage/bin + mkdir -p $MVBINDIR + install -m 0755 mythinstall.bin $MVBINDIR/MythVantage + cd $MVBINDIR + ln -s MythVantage mythvantage + ln -s MythVantage mythinstall + cd - +} diff --git a/abs/core-testing/mythinstall-22/checkout_MythVantage.sh b/abs/core-testing/mythinstall-22/checkout_MythVantage.sh new file mode 100755 index 0000000..82002c8 --- /dev/null +++ b/abs/core-testing/mythinstall-22/checkout_MythVantage.sh @@ -0,0 +1,49 @@ +#!/bin/bash +MYDIR=`pwd` +MYTHPATH="\/data\/LinHES-PKGBUILD\/abs\/core-testing\/mythtv\/stable.22\/mythtv\/src\/mythtv" + +function setup_links { +rm mythinstall.bin +rm mythbeselect.bin +ln -s $MYDIR/src/MythVantage-app/mythinstall/mythinstall ./mythinstall.bin +ln -s $MYDIR/src/MythVantage-app/mythbeselect/mythbeselect ./mythbeselect.bin +} + +function dl_repo { +mkdir src +cd src +if [ ! -d MythVantage-app ] +then + git clone http://mythvantage.com/MythVantage-app.git/ + cd MythVantage-app + git checkout --track -b LinHES origin/LinHES + cd $MYDIR + setup_links + cd - +else + echo "updating exisiting tree" + cd MythVantage-app + git pull + git checkout master + git merge + cd - +fi + +cd MythVantage-app +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 + +echo "INCLUDEPATH += /usr/include/mythtv" >> $MYDIR/src/MythVantage-app/mythbeselect/mythberestart.pro +echo "INCLUDEPATH += /usr/include/mythtv" >> $MYDIR/src/MythVantage-app/mythinstall/mythinstall.pro +cd $MYDIR/src/MythVantage-app/mythinstall && qmake +make || exit 1 +#cd $MYDIR/src/MythVantage-app/mythbeselect && qmake +#make ||exit 1 + |