summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-22 16:00:21 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-22 16:00:21 (GMT)
commit30d0cdae800d622b8b7b51ca2d28a62c83f838df (patch)
tree3c32442104a78e120478738ffedfee26c4fae86a
parented28d2bff19273fac6cf03486c10919a68653e65 (diff)
downloadlinhes_pkgbuild-30d0cdae800d622b8b7b51ca2d28a62c83f838df.zip
linhes_pkgbuild-30d0cdae800d622b8b7b51ca2d28a62c83f838df.tar.gz
linhes_pkgbuild-30d0cdae800d622b8b7b51ca2d28a62c83f838df.tar.bz2
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
-rw-r--r--abs/core/mythtv/stable-0.25/mythplugins/PKGBUILD4
-rw-r--r--abs/core/mythtv/stable-0.25/mythplugins/mythplugins-mythzoneminder.install10
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
+
}