From 324ae174eee2e999425fb5d5812528a5b268059e Mon Sep 17 00:00:00 2001 From: Nathan Harris Date: Wed, 2 Dec 2009 18:41:19 -0500 Subject: mythtv: standard mythtv packages now 0.22-fixes --- abs/core-testing/mythtv/stable-0.22/clean_all.sh | 22 + .../mythtv/stable-0.22/morethemes/PKGBUILD | 51 ++ abs/core-testing/mythtv/stable-0.22/mp_all.sh | 33 ++ .../mythtv/stable-0.22/mytharchive/PKGBUILD | 52 ++ .../mythtv/stable-0.22/mythbrowser/PKGBUILD | 52 ++ .../mythtv/stable-0.22/mythflix/PKGBUILD | 52 ++ .../mythtv/stable-0.22/mythgallery/PKGBUILD | 52 ++ .../mythtv/stable-0.22/mythgame/PKGBUILD | 52 ++ .../mythtv/stable-0.22/mythmovies/PKGBUILD | 52 ++ .../mythtv/stable-0.22/mythmusic/PKGBUILD | 55 ++ .../mythtv/stable-0.22/mythnews/PKGBUILD | 52 ++ .../mythtv/stable-0.22/myththemes/PKGBUILD | 51 ++ .../mythtv/stable-0.22/mythtv/PKGBUILD | 92 ++++ .../stable-0.22/mythtv/menu-xml/HOST_SETTINGS.xml | 94 ++++ .../mythtv/stable-0.22/mythtv/menu-xml/is.xml | 3 + .../stable-0.22/mythtv/menu-xml/library.xml.patch | 12 + .../mythtv/stable-0.22/mythtv/menu-xml/linhes.xml | 59 +++ .../stable-0.22/mythtv/menu-xml/mainmenu.xml.patch | 39 ++ .../stable-0.22/mythtv/menu-xml/mythbackup.xml | 20 + .../stable-0.22/mythtv/menu-xml/mythrestore.xml | 20 + .../mythtv/menu-xml/optical_menu.xml.patch | 16 + .../mythtv/menu-xml/original/create_patch.sh | 5 + .../mythtv/stable-0.22/mythtv/menu-xml/setup.xml | 111 ++++ .../stable-0.22/mythtv/menu-xml/siriusmenu.xml | 419 +++++++++++++++ .../mythtv/stable-0.22/mythtv/menu-xml/update.xml | 20 + .../mythtv/stable-0.22/mythtv/menu-xml/update2.xml | 26 + .../mythtv/menu-xml/util_menu.xml.patch | 16 + .../mythtv/stable-0.22/mythtv/menu-xml/xmmenu.xml | 574 +++++++++++++++++++++ abs/core-testing/mythtv/stable-0.22/mythtv/myth.sh | 4 + .../mythtv/stable-0.22/mythtv/mythbackend | 38 ++ .../mythtv/stable-0.22/mythtv/mythbackend.lr | 9 + .../mythtv/stable-0.22/mythtv/mythbackend.sh | 117 +++++ .../mythtv/stable-0.22/mythtv/mythfrontend.lr | 9 + .../mythtv/stable-0.22/mythtv/mythtv.install | 30 ++ abs/core-testing/mythtv/stable-0.22/mythtv/pretty | 2 + .../mythtv/stable-0.22/mythtv/smolt_jump.patch | 30 ++ .../mythtv/stable-0.22/mythvideo/PKGBUILD | 52 ++ .../mythtv/stable-0.22/mythweather/PKGBUILD | 52 ++ .../mythtv/stable-0.22/mythweb/PKGBUILD | 50 ++ .../mythtv/stable-0.22/mythweb/mythweb.install | 10 + .../mythtv/stable-0.22/mythzoneminder/PKGBUILD | 52 ++ 41 files changed, 2557 insertions(+) create mode 100755 abs/core-testing/mythtv/stable-0.22/clean_all.sh create mode 100644 abs/core-testing/mythtv/stable-0.22/morethemes/PKGBUILD create mode 100755 abs/core-testing/mythtv/stable-0.22/mp_all.sh create mode 100644 abs/core-testing/mythtv/stable-0.22/mytharchive/PKGBUILD create mode 100644 abs/core-testing/mythtv/stable-0.22/mythbrowser/PKGBUILD create mode 100644 abs/core-testing/mythtv/stable-0.22/mythflix/PKGBUILD create mode 100644 abs/core-testing/mythtv/stable-0.22/mythgallery/PKGBUILD create mode 100644 abs/core-testing/mythtv/stable-0.22/mythgame/PKGBUILD create mode 100644 abs/core-testing/mythtv/stable-0.22/mythmovies/PKGBUILD create mode 100644 abs/core-testing/mythtv/stable-0.22/mythmusic/PKGBUILD create mode 100644 abs/core-testing/mythtv/stable-0.22/mythnews/PKGBUILD create mode 100755 abs/core-testing/mythtv/stable-0.22/myththemes/PKGBUILD create mode 100755 abs/core-testing/mythtv/stable-0.22/mythtv/PKGBUILD create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/HOST_SETTINGS.xml create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/is.xml create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/library.xml.patch create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/linhes.xml create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/mainmenu.xml.patch create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/mythbackup.xml create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/mythrestore.xml create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/optical_menu.xml.patch create mode 100755 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/original/create_patch.sh create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/setup.xml create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/siriusmenu.xml create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/update.xml create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/update2.xml create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/util_menu.xml.patch create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/xmmenu.xml create mode 100755 abs/core-testing/mythtv/stable-0.22/mythtv/myth.sh create mode 100755 abs/core-testing/mythtv/stable-0.22/mythtv/mythbackend create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/mythbackend.lr create mode 100755 abs/core-testing/mythtv/stable-0.22/mythtv/mythbackend.sh create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/mythfrontend.lr create mode 100755 abs/core-testing/mythtv/stable-0.22/mythtv/mythtv.install create mode 100755 abs/core-testing/mythtv/stable-0.22/mythtv/pretty create mode 100644 abs/core-testing/mythtv/stable-0.22/mythtv/smolt_jump.patch create mode 100644 abs/core-testing/mythtv/stable-0.22/mythvideo/PKGBUILD create mode 100644 abs/core-testing/mythtv/stable-0.22/mythweather/PKGBUILD create mode 100644 abs/core-testing/mythtv/stable-0.22/mythweb/PKGBUILD create mode 100644 abs/core-testing/mythtv/stable-0.22/mythweb/mythweb.install create mode 100644 abs/core-testing/mythtv/stable-0.22/mythzoneminder/PKGBUILD diff --git a/abs/core-testing/mythtv/stable-0.22/clean_all.sh b/abs/core-testing/mythtv/stable-0.22/clean_all.sh new file mode 100755 index 0000000..1ebdc43 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/clean_all.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +buildlist=('mythtv' 'mytharchive' 'mythbrowser' 'mythflix' 'mythgallery' 'mythgame' 'mythmovies' 'mythmusic' 'mythnews' 'mythvideo' 'mythweather' 'mythzoneminder' 'mythweb' 'myththemes' 'morethemes') + +# clean up current directory +rm -f *~ + +# clean up mythtv directories +for i in `echo ${buildlist[@]:0}` +do + echo "-- cleaning $i" + cd ./$i + + # clean up everything + rm -rf pkg src + rm -f *~ + + cd .. +done + +echo "DONE!" + diff --git a/abs/core-testing/mythtv/stable-0.22/morethemes/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/morethemes/PKGBUILD new file mode 100644 index 0000000..80a906a --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/morethemes/PKGBUILD @@ -0,0 +1,51 @@ +pkgname=morethemes +pkgver=0.22 +pkgrel=22000 +pkgdesc="Additional themes for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv') +conflicts=('morethemes-svn') +groups=('mythtv-extras') + +patches=() +source=(`echo ${patches[@]:0}`) + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/themes +_svnver=22936 +_svnmod=themes + + +build() { + + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} diff --git a/abs/core-testing/mythtv/stable-0.22/mp_all.sh b/abs/core-testing/mythtv/stable-0.22/mp_all.sh new file mode 100755 index 0000000..e9de3e7 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mp_all.sh @@ -0,0 +1,33 @@ +#!/bin/sh + +# for 0.22, we are starting the release numbers at 22000 +# and incrementing from there every time we build +pkgrel=22000 +_svnver=22936 + +# NOTE: Make sure to build and install mythtv first BEFORE building anything else +buildlist=('mythtv' 'mytharchive' 'mythbrowser' 'mythflix' 'mythgallery' 'mythgame' 'mythmovies' 'mythmusic' 'mythnews' 'mythvideo' 'mythweather' 'mythzoneminder' 'mythweb' 'myththemes' 'morethemes') + +# build and install +for i in `echo ${buildlist[@]:0}` +do + echo "---------- building $i ----------" + cd ./$i + + # set svn version in the PKGBUILD + sed -i s/^_svnver=.*/_svnver=$_svnver/ PKGBUILD + sed -i s/^pkgrel=.*/pkgrel=$pkgrel/ PKGBUILD + + # make the package + mp -f -i --holdver || exit 1 + + # clean up afterwards + rm -rf pkg + rm -f *~ + + cd .. +done + +echo "" +echo "DONE!" + diff --git a/abs/core-testing/mythtv/stable-0.22/mytharchive/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mytharchive/PKGBUILD new file mode 100644 index 0000000..696d1af --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mytharchive/PKGBUILD @@ -0,0 +1,52 @@ +pkgname=mytharchive +pkgver=0.22 +pkgrel=22000 +pkgdesc="MythTV plugin that lets you create DVDs from or archive your recorded shows." +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv' 'libxmu' 'mysql-python' 'pil' 'dvdauthor' 'mjpegtools' 'transcode') +conflicts=('mytharchive-svn') +groups=('mythtv-extras') + +patches=() +source=(`echo ${patches[@]:0}`) + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +_svnver=22936 +_svnmod=mythplugins + + +build() { + + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mytharchive || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} diff --git a/abs/core-testing/mythtv/stable-0.22/mythbrowser/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythbrowser/PKGBUILD new file mode 100644 index 0000000..a2940e4 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythbrowser/PKGBUILD @@ -0,0 +1,52 @@ +pkgname=mythbrowser +pkgver=0.22 +pkgrel=22000 +pkgdesc="Mini web browser for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv' 'wget') +conflicts=('mythbrowser-svn') +groups=('mythtv-extras') + +patches=() +source=(`echo ${patches[@]:0}`) + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +_svnver=22936 +_svnmod=mythplugins + + +build() { + + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythbrowser || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} diff --git a/abs/core-testing/mythtv/stable-0.22/mythflix/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythflix/PKGBUILD new file mode 100644 index 0000000..43d34b2 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythflix/PKGBUILD @@ -0,0 +1,52 @@ +pkgname=mythflix +pkgver=0.22 +pkgrel=22000 +pkgdesc="Netflix access plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv') +conflicts=('mythflix-svn') +groups=('mythtv-extras') + +patches=() +source=(`echo ${patches[@]:0}`) + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +_svnver=22936 +_svnmod=mythplugins + + +build() { + + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythflix || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} diff --git a/abs/core-testing/mythtv/stable-0.22/mythgallery/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythgallery/PKGBUILD new file mode 100644 index 0000000..26c9717 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythgallery/PKGBUILD @@ -0,0 +1,52 @@ +pkgname=mythgallery +pkgver=0.22 +pkgrel=22000 +pkgdesc="Image gallery plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv' 'libexif' 'libtiff') +conflicts=('mythgallery-svn') +groups=('mythtv-extras') + +patches=() +source=(`echo ${patches[@]:0}`) + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +_svnver=22936 +_svnmod=mythplugins + + +build() { + + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythgallery || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} diff --git a/abs/core-testing/mythtv/stable-0.22/mythgame/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythgame/PKGBUILD new file mode 100644 index 0000000..916d70a --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythgame/PKGBUILD @@ -0,0 +1,52 @@ +pkgname=mythgame +pkgver=0.22 +pkgrel=22000 +pkgdesc="Emulation plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv' 'zlib') +conflicts=('mythgame-svn') +groups=('mythtv-extras') + +patches=() +source=(`echo ${patches[@]:0}`) + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +_svnver=22936 +_svnmod=mythplugins + + +build() { + + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythgame || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} diff --git a/abs/core-testing/mythtv/stable-0.22/mythmovies/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythmovies/PKGBUILD new file mode 100644 index 0000000..1a569e1 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythmovies/PKGBUILD @@ -0,0 +1,52 @@ +pkgname=mythmovies +pkgver=0.22 +pkgrel=22000 +pkgdesc="Displays information about movies playing in the area." +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv') +conflicts=('mythmovies-svn') +groups=('mythtv-extras') + +patches=() +source=(`echo ${patches[@]:0}`) + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +_svnver=22936 +_svnmod=mythplugins + + +build() { + + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythmovies || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} diff --git a/abs/core-testing/mythtv/stable-0.22/mythmusic/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythmusic/PKGBUILD new file mode 100644 index 0000000..17a85fd --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythmusic/PKGBUILD @@ -0,0 +1,55 @@ +pkgname=mythmusic +pkgver=0.22 +pkgrel=22000 +pkgdesc="Music playing plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv' 'libid3tag' 'libmad' 'libvorbis' 'flac>=1.1.4' 'libcdaudio' \ + 'cdparanoia' 'fftw2' 'sdl' 'faad2>=2.6.1' 'lame' 'taglib' \ + 'libvisual-plugins' 'libvisual-projectm') +conflicts=('mythmusic-svn') +groups=('mythtv-extras') + +patches=() +source=(`echo ${patches[@]:0}`) + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +_svnver=22936 +_svnmod=mythplugins + + +build() { + + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythmusic --enable-libvisual --enable-fftw --enable-sdl \ + --enable-aac || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} diff --git a/abs/core-testing/mythtv/stable-0.22/mythnews/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythnews/PKGBUILD new file mode 100644 index 0000000..41c897f --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythnews/PKGBUILD @@ -0,0 +1,52 @@ +pkgname=mythnews +pkgver=0.22 +pkgrel=22000 +pkgdesc="News checking plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv') +conflicts=('mythnews-svn') +groups=('mythtv-extras') + +patches=() +source=(`echo ${patches[@]:0}`) + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +_svnver=22936 +_svnmod=mythplugins + + +build() { + + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythnews || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} diff --git a/abs/core-testing/mythtv/stable-0.22/myththemes/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/myththemes/PKGBUILD new file mode 100755 index 0000000..017b9f2 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/myththemes/PKGBUILD @@ -0,0 +1,51 @@ +pkgname=myththemes +pkgver=0.22 +pkgrel=22000 +pkgdesc="Themes for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv') +conflicts=('myththemes-svn') +groups=('mythtv-extras') + +patches=() +source=(`echo ${patches[@]:0}`) + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/myththemes +_svnver=22936 +_svnmod=myththemes + + +build() { + + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythtv/PKGBUILD new file mode 100755 index 0000000..2cc99a8 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/PKGBUILD @@ -0,0 +1,92 @@ +pkgname=mythtv +pkgver=0.22 +pkgrel=22000 +pkgdesc="A personal video recorder for Linux" +url="http://www.mythtv.org" +license="GPL" +depends=('bash' 'mysql-clients>=5.0' 'qt' 'lame' 'lirc-utils' 'ffmpeg' \ + 'faad2' 'libxv' 'libxvmc' 'libavc1394' 'libdc1394' 'libiec61883' \ + 'perl-net-upnp' 'libvdpau') +makedepends=('libgl' 'subversion') +conflicts=('mythtv-0.21' 'mythtv-svn') +replaces=() +groups=('pvr') +#backup=() +#options=(!strip) +#MAKEFLAGS="-j6" +install='mythtv.install' + +patchs=() +#patchs=('smolt_jump.patch') +source=('mythbackend' 'myth.sh' `echo ${patchs[@]:0}` 'mythbackend.lr' 'mythfrontend.lr' 'pretty') +arch=('i686' 'x86_64') +#md5sums=() + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythtv +_svnver=22936 +_svnmod=mythtv + +build() { + + # get clean copy from SVN repo + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/mythtv + + # apply patches + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patchs[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + sed -i -e "s/\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`/$_svnver/" version.pro + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up from last build + make distclean + + # configure + ./configure --prefix=/usr --arch=${ARCH} \ + --enable-vdpau --enable-xvmc --enable-xvmc-pro \ + --enable-opengl-vsync --enable-libfaad --enable-dvb --enable-firewire \ + --compile-type=release --with-bindings=perl,python \ + --enable-audio-alsa --disable-audio-jack --disable-audio-arts || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + + # install db schema, scripts and docs + install -m0644 database/mc.sql $startdir/pkg/usr/share/mythtv/ || return 1 + install -D -m0755 ../mythbackend $startdir/pkg/etc/rc.d/mythbackend || return 1 + cp -r docs $startdir/pkg/usr/share/mythtv/ || return 1 + # cp ../QUICKSTART.archlinux $startdir/pkg/usr/share/mythtv/ || return 1 + + # install contrib + cp -r contrib $startdir/pkg/usr/share/mythtv/ || return 1 + + # patch the xml LinHES style + cp -r $startdir/menu-xml/*.xml $startdir/pkg/usr/share/mythtv/themes/defaultmenu/ + cd $startdir/pkg/usr/share/mythtv/themes/defaultmenu + patch -p0 < $startdir/menu-xml/mainmenu.xml.patch || return 1 + patch -p0 < $startdir/menu-xml/optical_menu.xml.patch || return 1 + patch -p0 < $startdir/menu-xml/library.xml.patch || return 1 + patch -p0 < $startdir/menu-xml/util_menu.xml.patch || return 1 + + # make log dir + mkdir -p $startdir/pkg/var/log/mythtv + chown 1000.1000 $startdir/pkg/var/log/mythtv + mkdir -p $startdir/pkg/etc/logrotate.d + cp $startdir/src/*.lr $startdir/pkg/etc/logrotate.d + mkdir -p $startdir/pkg/etc/cron.hourly/ + install -m0755 $startdir/src/pretty $startdir/pkg/etc/cron.hourly/ +} + diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/HOST_SETTINGS.xml b/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/HOST_SETTINGS.xml new file mode 100644 index 0000000..ac52497 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/HOST_SETTINGS.xml @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/is.xml b/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/is.xml new file mode 100644 index 0000000..88b7e6b --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/is.xml @@ -0,0 +1,3 @@ + + + diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/library.xml.patch b/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/library.xml.patch new file mode 100644 index 0000000..81ea604 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/library.xml.patch @@ -0,0 +1,12 @@ +--- library.xml.orig 2009-10-16 12:45:44.000000000 +0000 ++++ library.xml 2009-10-16 17:21:44.000000000 +0000 +@@ -123,8 +123,7 @@ + Online folyam lejátszása + + +- PLUGIN mythstream +- mythstream ++ MENU is.xml + + + + + + + + + + + + + + diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/mainmenu.xml.patch b/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/mainmenu.xml.patch new file mode 100644 index 0000000..ed5dc72 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/menu-xml/mainmenu.xml.patch @@ -0,0 +1,39 @@ +--- mainmenu.xml.orig 2009-10-16 12:45:44.000000000 +0000 ++++ mainmenu.xml 2009-10-16 14:30:57.000000000 +0000 +@@ -157,33 +157,9 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/myth.sh b/abs/core-testing/mythtv/stable-0.22/mythtv/myth.sh new file mode 100755 index 0000000..fb7122c --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/myth.sh @@ -0,0 +1,4 @@ +export PATH=$PATH:/usr/local/bin +# set core file size to 0 +ulimit -c 0 +export MALLOC_CHECK_=0 \ No newline at end of file diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/mythbackend b/abs/core-testing/mythtv/stable-0.22/mythtv/mythbackend new file mode 100755 index 0000000..93773a2 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/mythbackend @@ -0,0 +1,38 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/bin/mythbackend` +case "$1" in + start) + stat_busy "Starting MythTV Backend" + [ ! -e /var/run/mysqld.pid ] && echo -n "mysqld not started" && stat_fail && exit + [ -z "$PID" ] && /usr/bin/mythbackend -d -l /var/log/mythbackend.log -v important + if [ $? -gt 0 ]; then + stat_fail + else + echo $PID > /var/run/mythbackend.pid + add_daemon mythbackend + stat_done + fi + ;; + stop) + stat_busy "Stopping MythTV Backend" + [ ! -z "$PID" ] && kill $PID &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon mythbackend + stat_done + fi + ;; + restart) + $0 stop + sleep 1s + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/mythbackend.lr b/abs/core-testing/mythtv/stable-0.22/mythtv/mythbackend.lr new file mode 100644 index 0000000..4f218bc --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/mythbackend.lr @@ -0,0 +1,9 @@ +/var/log/mythtv/mythbackend.log { + copytruncate + daily + size 10M + missingok + rotate 7 + compress + notifempty +} diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/mythbackend.sh b/abs/core-testing/mythtv/stable-0.22/mythtv/mythbackend.sh new file mode 100755 index 0000000..e7a7b70 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/mythbackend.sh @@ -0,0 +1,117 @@ +#!/bin/bash +# +# /etc/rc.d/init.d/mythbackend +# +# Starts the mythbackend as a daemon +# +# chkconfig: 345 90 10 +# description: Starts the mythbackend process as a daemon after the XWindows \ +# system is started, in runlevel 5. This allows scheduled \ +# recordings to occur without manual intervention. +# processname: mythbackend + +# Copyright (c) by Michael Thomson +# With thanks to Stu Tomlinson +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +# Default values to use if none are supplied in the config file. +# User who should start the mythbackend processes +MBE_USER="root" +# Directory holding the mythbackend binary +MBE_LOCATION="/usr/local/bin/" +# Name of mythbackend binary +MBE_PROG="mythbackend" +# Full path to mythbackend log file +MBE_LOGFILE="/var/log/mythtv/mythbackend.log" + +# Source function library. +. /etc/init.d/functions + +# Source config file if available +if [ -f "/etc/sysconfig/mythbackend" ]; then + . /etc/sysconfig/mythbackend +fi + +test -x ${MBE_LOCATION}${MBE_PROG} || exit 0 + +RETVAL=0 + +# +# See how we were called. +# + +start() { + # Check if mythbackend is already running + if [ ! -f /var/lock/subsys/${MBE_PROG} ]; then + echo -n "Starting ${MBE_PROG}: " + # /usr/local/bin/mythbackend -d -l /some/log/file + #daemon --user ${MBE_USER} ${MBE_LOCATION}${MBE_PROG} -d -l ${MBE_LOGFILE} + ${MBE_LOCATION}${MBE_PROG} -d -l ${MBE_LOGFILE} + RETVAL=$? + [ $RETVAL -eq 0 ] && touch /var/lock/subsys/${MBE_PROG} + echo + fi + return $RETVAL +} + +stop() { + echo -n "Stopping ${MBE_PROG}: " + killproc ${MBE_LOCATION}${MBE_PROG} + RETVAL=$? + [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/${MBE_PROG} + echo + return $RETVAL +} + + +restart() { + stop + start +} + +reload() { + restart +} + +status_at() { + status ${MBE_LOCATION}${MBE_PROG} +} + +case "$1" in +start) + start + ;; +stop) + stop + ;; +reload|restart) + restart + ;; +condrestart) + if [ -f /var/lock/subsys/${MBE_PROG} ]; then + restart + fi + ;; +status) + status_at + ;; +*) + echo "Usage: $0 {start|stop|restart|condrestart|status}" + exit 1 +esac + +exit $? +exit $RETVAL diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/mythfrontend.lr b/abs/core-testing/mythtv/stable-0.22/mythtv/mythfrontend.lr new file mode 100644 index 0000000..1580533 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/mythfrontend.lr @@ -0,0 +1,9 @@ +/var/log/mythtv/mythfrontend.log { + copytruncate + daily + size 10M + missingok + rotate 7 + compress + notifempty +} diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/mythtv.install b/abs/core-testing/mythtv/stable-0.22/mythtv/mythtv.install new file mode 100755 index 0000000..87507a5 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/mythtv.install @@ -0,0 +1,30 @@ +# arg 1: the new package version +post_install() { + if [ ! -d /var/log/mythtv ] + then + mkdir -p /var/log/mythv + chown -R mythtv /var/log/mythtv + echo "---" > /var/log/mythtv/mythbackend.log + chown mythtv /var/log/mythtv/mythbackend.log + + fi +} + +post_upgrade() { + if [ ! -d /var/log/mythtv ] + then + mkdir -p /var/log/mythv + chown -R mythtv /var/log/mythtv + fi +} + + +# arg 1: the old package version +post_remove() { + /bin/true + +} + +op=$1 +shift +$op $* diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/pretty b/abs/core-testing/mythtv/stable-0.22/mythtv/pretty new file mode 100755 index 0000000..1cfc57b --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/pretty @@ -0,0 +1,2 @@ +#!/bin/bash +su - mythtv -c "perl /usr/share/mythtv/contrib/user_jobs/mythrename.pl --link /myth/pretty" diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/smolt_jump.patch b/abs/core-testing/mythtv/stable-0.22/mythtv/smolt_jump.patch new file mode 100644 index 0000000..0fc452a --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/smolt_jump.patch @@ -0,0 +1,30 @@ +Index: programs/mythfrontend/networkcontrol.cpp +=================================================================== +--- programs/mythfrontend/networkcontrol.cpp (revision 19291) ++++ programs/mythfrontend/networkcontrol.cpp (working copy) +@@ -83,6 +83,7 @@ + jumpMap["zoneminderliveview"] = "ZoneMinder Live View"; + jumpMap["zoneminderevents"] = "ZoneMinder Events"; + jumpMap["snapshot"] = "ScreenShot"; ++ jumpMap["mythsmolt"] = "MythSmolt"; + + // These jump point names match the (lowercased) locations from gContext + jumpMap["channelrecpriority"] = "Channel Recording Priorities"; +@@ -191,7 +192,7 @@ + pthread_create(&command_thread, NULL, CommandThread, this); + + gContext->addListener(this); +- ++ + connect(this, SIGNAL(newConnection()), this, SLOT(newConnection())); + } + +@@ -307,7 +308,7 @@ + cs = new QTextStream(s); + cs->setCodec("UTF-8"); + } +- ++ + if (client) + { + closedOldConn = true; diff --git a/abs/core-testing/mythtv/stable-0.22/mythvideo/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythvideo/PKGBUILD new file mode 100644 index 0000000..fdea119 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythvideo/PKGBUILD @@ -0,0 +1,52 @@ +pkgname=mythvideo +pkgver=0.22 +pkgrel=22000 +pkgdesc="Video playback and browsing plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv' 'mplayer' 'perlxml' 'perl-libwww' 'perl-uri' 'perl-xml-simple' 'ffmpeg') +conflicts=('mythvideo-svn') +groups=('mythtv-extras') + +patches=() +source=(`echo ${patches[@]:0}`) + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +_svnver=22936 +_svnmod=mythplugins + + +build() { + + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythvideo || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} diff --git a/abs/core-testing/mythtv/stable-0.22/mythweather/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythweather/PKGBUILD new file mode 100644 index 0000000..2071a6f --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythweather/PKGBUILD @@ -0,0 +1,52 @@ +pkgname=mythweather +pkgver=0.22 +pkgrel=22000 +pkgdesc="Weather checking plugin for MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv' 'wget') +conflicts=('mythweather-svn') +groups=('mythtv-extras') + +patches=() +source=(`echo ${patches[@]:0}`) + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +_svnver=22936 +_svnmod=mythplugins + + +build() { + + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythweather || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} diff --git a/abs/core-testing/mythtv/stable-0.22/mythweb/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythweb/PKGBUILD new file mode 100644 index 0000000..014820b --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythweb/PKGBUILD @@ -0,0 +1,50 @@ +pkgname=mythweb +pkgver=0.22 +pkgrel=22000 +pkgdesc="Web interface for MythTV's backend" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv' 'lighttpd' 'php' 'local-website') +conflicts=('mythweb-svn') +groups=('mythtv-extras') +install=mythweb.install + +patches=() +source=(`echo ${patches[@]:0}`) + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +_svnver=22936 +_svnmod=mythplugins + +DOCROOT=/data/srv/httpd/htdocs/mythweb + +build() { + + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + mkdir -p $startdir/pkg/$DOCROOT/{image_cache,php_sessions} + + cp -r $startdir/src/mythplugins/mythweb/* $startdir/pkg/$DOCROOT +# cp $startdir/src/mythplugins-$pkgver/mythweb/data/.htaccess $startdir/pkg/$DOCROOT + rm $startdir/pkg/srv/$DOCROOT/README + chown -R http:users $startdir/pkg/$DOCROOT + chmod g+rw $startdir/pkg/$DOCROOT/{image_cache,php_sessions,data} + +} diff --git a/abs/core-testing/mythtv/stable-0.22/mythweb/mythweb.install b/abs/core-testing/mythtv/stable-0.22/mythweb/mythweb.install new file mode 100644 index 0000000..470cbd1 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythweb/mythweb.install @@ -0,0 +1,10 @@ +post_install() { + echo "You must create a symlink from /home/httpd/html/mythweb/video_dir" + echo "to your MythTV recordings directory. Don't forget to change the" + echo "permissions so that the webserver can read those files and create" + echo "thumbnails." +} + +op=$1 +shift +$op $* diff --git a/abs/core-testing/mythtv/stable-0.22/mythzoneminder/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythzoneminder/PKGBUILD new file mode 100644 index 0000000..9c45261 --- /dev/null +++ b/abs/core-testing/mythtv/stable-0.22/mythzoneminder/PKGBUILD @@ -0,0 +1,52 @@ +pkgname=mythzoneminder +pkgver=0.22 +pkgrel=22000 +pkgdesc="Integrates ZoneMinder into MythTV" +url="http://www.mythtv.org" +license="GPL" +arch=('i686' 'x86_64') + +depends=('mythtv' 'zoneminder>=1.23.3') +conflicts=('mythzoneminder-svn') +groups=('mythtv-extras') + +patches=() +source=(`echo ${patches[@]:0}`) + +_svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins +_svnver=22936 +_svnmod=mythplugins + + +build() { + + svn co $_svntrunk --config-dir ./ -r $_svnver $_svnmod + svn revert -R $_svnmod + + cd $startdir/src/$_svnmod + + echo "--------------------------applying patches----------------------------------------------------" + for i in `echo ${patches[@]:0} ` + do + echo applying $i + echo "-----------------------------" + patch -Np0 -i ${startdir}/src/$i || return 1 + done + echo "--------------------------done applying patches-----------------------------------------------" + + [ "$CARCH" = "i686" ] && ARCH="i686" + [ "$CARCH" = "x86_64" ] && ARCH="x86-64" + + # clean up + make distclean + + # configure + ./configure --prefix=/usr --cpu=${ARCH} --disable-all --enable-opengl \ + --enable-mythzoneminder || return 1 + + # build and install + . /etc/profile + make || return 1 + make INSTALL_ROOT=$startdir/pkg install || return 1 + +} -- cgit v0.12