diff options
author | James Meyer <james.meyer@operamail.com> | 2008-11-10 01:25:48 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-11-10 01:25:48 (GMT) |
commit | df5646446d84f38b695f00706a57b4c851be462a (patch) | |
tree | b53669571ecfe34ef392efdaa1e2d9818cfd266f /abs | |
parent | 2084879087187738918d377a96ac31ab4915e75e (diff) | |
download | linhes_pkgbuild-df5646446d84f38b695f00706a57b4c851be462a.zip linhes_pkgbuild-df5646446d84f38b695f00706a57b4c851be462a.tar.gz linhes_pkgbuild-df5646446d84f38b695f00706a57b4c851be462a.tar.bz2 |
few more mythvantage pkgs.
Diffstat (limited to 'abs')
-rwxr-xr-x | abs/mv-core/MythVantage-config/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/mv-core/MythVantage-config/checkout_MythVantage.sh | 48 | ||||
-rwxr-xr-x | abs/mv-core/hobbitmon/PKGBUILD | 4 | ||||
-rw-r--r-- | abs/mv-core/mediadirs/PKGBUILD | 60 | ||||
-rw-r--r-- | abs/mv-core/mediadirs/mediadir.install | 43 | ||||
-rwxr-xr-x | abs/mv-core/mythdb-initial/PKGBUILD | 2 |
6 files changed, 155 insertions, 4 deletions
diff --git a/abs/mv-core/MythVantage-config/PKGBUILD b/abs/mv-core/MythVantage-config/PKGBUILD index 722f80b..619c755 100755 --- a/abs/mv-core/MythVantage-config/PKGBUILD +++ b/abs/mv-core/MythVantage-config/PKGBUILD @@ -1,6 +1,6 @@ pkgname=MythVantage-config pkgver=3.2 -pkgrel=130 +pkgrel=131 pkgdesc="The Gui-installer" depends=(bc mysql-python expect curl dnsutils sg3_utils parted) arch=('i686') diff --git a/abs/mv-core/MythVantage-config/checkout_MythVantage.sh b/abs/mv-core/MythVantage-config/checkout_MythVantage.sh new file mode 100755 index 0000000..54fad7e --- /dev/null +++ b/abs/mv-core/MythVantage-config/checkout_MythVantage.sh @@ -0,0 +1,48 @@ +#!/bin/bash +MYDIR=`pwd` +MYTHPATH="\/data\/LinHES-PKGBUILD\/abs\/core-testing\/mythtv\/stable\/mythtv\/src\/mythtv-0.21" +MYTHPATH="\/data\/LinHES-PKGBUILD\/abs\/mv-core\/myth\/release-fixes\/mythtv-release-fixes\/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/LinHES/mythvantage/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 +make ||exit 1 + diff --git a/abs/mv-core/hobbitmon/PKGBUILD b/abs/mv-core/hobbitmon/PKGBUILD index 592392d..52333b6 100755 --- a/abs/mv-core/hobbitmon/PKGBUILD +++ b/abs/mv-core/hobbitmon/PKGBUILD @@ -1,14 +1,14 @@ pkgname=hobbitserver provides=hobbit pkgver=4.2.0 -pkgrel=98 +pkgrel=99 pkgdesc="Hobbit is a system for monitoring servers and networks. " license="GPL" arch=('i686') url="http://hobbitmon.sourceforge.net/" source=(http://voxel.dl.sourceforge.net/sourceforge/hobbitmon/hobbit-4.2.0.tar.gz hobbitadd.py hobbitcheck.sh hobbitgraph.cfg.diff hobbitserver.cfg.diff hobbitlaunch.cfg.diff clientlaunch.cfg.diff hobbitstorage.py hbnotes.py hobbit-myth-orphan.sh hobbit-clients.cfg hbfunc.py be.png tuner.png tv.png hobbit-mem-myth.sh hobbit_notify.sh hobbit-alerts.cfg hobbit_myth_data.py) -depends="rrdtool fping pcre python graphviz" +depends=(rrdtool fping pcre python graphviz) install=hobbit.install build() { diff --git a/abs/mv-core/mediadirs/PKGBUILD b/abs/mv-core/mediadirs/PKGBUILD new file mode 100644 index 0000000..7dc2dbc --- /dev/null +++ b/abs/mv-core/mediadirs/PKGBUILD @@ -0,0 +1,60 @@ +pkgname=mediadirsetup +pkgver=1 +pkgrel=14 +pkgdesc="creates the dir layout for mythtv to use" +url="" +license="" +depends=() +makedepends=() +conflicts=() +replaces=() +backup=() +install=mediadir.install +provides=("mediadirsetup") +source=() +md5sums=() +arch=('i686') + +build() { +cd $startdir/src/ +mkdir -p data/media/audio +mkdir -p data/media/images +mkdir -p data/media/games/snes +mkdir -p data/media/games/mame +mkdir -p data/media/games/nes + +mkdir -p data/media/video/movies +mkdir -p data/media/video/recordings +mkdir -p data/media/removable/usbdisk +mkdir -p data/media/tmp +mkdir -p data/media/images/posters +mkdir -p data/var/cache/pacman/pkg +mkdir -p data/var/mirror +mkdir -p data/tmp +mkdir -p data/media/video/livetv + + +touch data/media/audio/.media +touch data/media/images/.media +touch data/media/video/movies/.media +touch data/media/video/recordings/.media +touch data/media/removable/usbdisk/.media +touch data/media/tmp/.media +touch data/media/images/posters/.media +touch data/var/cache/pacman/pkg/.media +touch data/var/mirror/.media +touch data/tmp/.media +touch data/media/video/livetv/.media +touch data/media/games/snes/.media +touch data/media/games/mame/.media +touch data/media/games/nes/.media + + +cd data +chown -R mythtv media +chmod -R 777 media +cd .. +cp -rp data $startdir/pkg/ +cd $startdir/pkg +ln -s data media +} diff --git a/abs/mv-core/mediadirs/mediadir.install b/abs/mv-core/mediadirs/mediadir.install new file mode 100644 index 0000000..009b071 --- /dev/null +++ b/abs/mv-core/mediadirs/mediadir.install @@ -0,0 +1,43 @@ +# This is a default template for a post-install scriptlet. You can +# remove any functions you don't need (and this header). + +# arg 1: the new package version +pre_install() { + /bin/true +} + +# arg 1: the new package version +post_install() { + cd / + chown -R mythtv:users /data/media + ln -s /data/media /media + + +} + +# arg 1: the new package version +# arg 2: the old package version +pre_upgrade() { + /bin/true +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + depmod -A + /bin/true +} + +# arg 1: the old package version +pre_remove() { + /bin/true +} + +# arg 1: the old package version +post_remove() { + /bin/true +} + +op=$1 +shift +$op $* diff --git a/abs/mv-core/mythdb-initial/PKGBUILD b/abs/mv-core/mythdb-initial/PKGBUILD index 591241f..e4f2c5d 100755 --- a/abs/mv-core/mythdb-initial/PKGBUILD +++ b/abs/mv-core/mythdb-initial/PKGBUILD @@ -1,6 +1,6 @@ pkgname=mythdb-initial pkgver=1 -pkgrel=46 +pkgrel=47 pkgdesc="setup the initial mythtv database" url="" license="" |