From 30d0cdae800d622b8b7b51ca2d28a62c83f838df Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 22 Dec 2012 10:00:21 -0600 Subject: mythplugins: removed zoneminder as a dep for mythzoneminder. If zoneminder needs to be installed it's taken care of with mv_software.py refs #887 --- abs/core/mythtv/stable-0.25/mythplugins/PKGBUILD | 4 ++-- .../stable-0.25/mythplugins/mythplugins-mythzoneminder.install | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/abs/core/mythtv/stable-0.25/mythplugins/PKGBUILD b/abs/core/mythtv/stable-0.25/mythplugins/PKGBUILD index f30481b..de7f43f 100644 --- a/abs/core/mythtv/stable-0.25/mythplugins/PKGBUILD +++ b/abs/core/mythtv/stable-0.25/mythplugins/PKGBUILD @@ -12,7 +12,7 @@ pkgname=('mytharchive' 'mythweather' 'mythzoneminder') pkgver=0.25 -pkgrel=14 +pkgrel=16 arch=('i686' 'x86_64') url="http://www.mythtv.org" @@ -125,7 +125,7 @@ package_mythweather() { package_mythzoneminder() { pkgdesc="Allows for viewing of CCTV cameras through zoneminder" - depends=("mythtv>=${pkgver}" zoneminder) + depends=("mythtv>=${pkgver}") # replaces=('mythzoneminder') # install=mythplugins-mythzoneminder.install cd "${srcdir}/${_gitname}/${pkgbase}/mythzoneminder" diff --git a/abs/core/mythtv/stable-0.25/mythplugins/mythplugins-mythzoneminder.install b/abs/core/mythtv/stable-0.25/mythplugins/mythplugins-mythzoneminder.install index 142212b..a4e0c0d 100644 --- a/abs/core/mythtv/stable-0.25/mythplugins/mythplugins-mythzoneminder.install +++ b/abs/core/mythtv/stable-0.25/mythplugins/mythplugins-mythzoneminder.install @@ -1,3 +1,11 @@ post_install() { - echo "If you want to use this plugin, install zoneminder from AUR." + . /etc/systemconfig + if [ $SystemType = Master_backend -o $SystemType = Standalone ] + then + echo "This looks a zoneminder server install" + echo "Installing zoneminder" + #for reference the pacman statement below will not work because of a db lock. + pacman -S zoneminder + fi + } -- cgit v0.12