summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-plugins/mythzoneminder/ChangeLog11
-rw-r--r--media-plugins/mythzoneminder/Manifest3
-rw-r--r--media-plugins/mythzoneminder/metadata.xml14
-rw-r--r--media-plugins/mythzoneminder/mythzoneminder-0.21_p17948.ebuild40
4 files changed, 68 insertions, 0 deletions
diff --git a/media-plugins/mythzoneminder/ChangeLog b/media-plugins/mythzoneminder/ChangeLog
new file mode 100644
index 000000000000..0e3d80f50491
--- /dev/null
+++ b/media-plugins/mythzoneminder/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-plugins/mythzoneminder
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythzoneminder/ChangeLog,v 1.1 2009/01/30 15:12:36 gentoofan23 Exp $
+
+*mythzoneminder-0.21_p17948 (30 Jan 2009)
+
+ 30 Jan 2009; Thomas Anderson <gentoofan23@gentoo.org> +metadata.xml,
+ +mythzoneminder-0.21_p17948.ebuild:
+ Initial import, ebuild by Thomas Anderson <gentoofan23@gentoo.org> for bug
+ #225131
+
diff --git a/media-plugins/mythzoneminder/Manifest b/media-plugins/mythzoneminder/Manifest
new file mode 100644
index 000000000000..d4dff6883a09
--- /dev/null
+++ b/media-plugins/mythzoneminder/Manifest
@@ -0,0 +1,3 @@
+EBUILD mythzoneminder-0.21_p17948.ebuild 1059 RMD160 c4e171d778794595ea3af1b8597a7e526db67999 SHA1 7b784b527b151436ca28b1d3e77bcac3930c3bee SHA256 538b1a28dd6559a5c844fbf33eab8d5fdc308a9d993214909f71f54b41f85eae
+MISC ChangeLog 474 RMD160 13bed2c30f78890d7b9fd16f56d59691d71cd74d SHA1 4e12e99a7ba27077c491793632544058c6abea9f SHA256 6b8386102f1b4b921703157583c3c2394311b61cf6b7be5b60dd07a2da51b086
+MISC metadata.xml 405 RMD160 a77a80c130a3e027d4e64887c682dafa9ae84c0c SHA1 33f0b455a3b2dfe58ab1271bb46ab8f7d18edb34 SHA256 55cea629b166470ee8222b30e639675e04e058f79da913906faeab077ab151ba
diff --git a/media-plugins/mythzoneminder/metadata.xml b/media-plugins/mythzoneminder/metadata.xml
new file mode 100644
index 000000000000..3676cfc3ad7f
--- /dev/null
+++ b/media-plugins/mythzoneminder/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>gentoofan23@gentoo.org</email>
+ <name>Thomas Anderson</name>
+ </maintainer>
+ <herd>no-herd</herd>
+ <use>
+ <flag name='minimal'>Don't build the mythtv side of this plugin, only
+ the part that communicates with zoneminder.
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/media-plugins/mythzoneminder/mythzoneminder-0.21_p17948.ebuild b/media-plugins/mythzoneminder/mythzoneminder-0.21_p17948.ebuild
new file mode 100644
index 000000000000..12953601d225
--- /dev/null
+++ b/media-plugins/mythzoneminder/mythzoneminder-0.21_p17948.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythzoneminder/mythzoneminder-0.21_p17948.ebuild,v 1.1 2009/01/30 15:12:36 gentoofan23 Exp $
+
+MYTHTV_NODEPS="true"
+inherit mythtv-plugins toolchain-funcs
+
+DESCRIPTION="Allows for viewing of CCTV cameras through zoneminder"
+IUSE="minimal"
+KEYWORDS="~amd64"
+
+DEPEND="minimal? ( dev-db/mysql
+ www-misc/zoneminder )
+ =media-tv/mythtv-${MY_PV}*"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ mythtv-plugins_src_unpack
+ sed -i -e "s:g++:$(tc-getCXX):" \
+ "${S}"/mythzoneminder/mythzmserver/Makefile.standalone \
+ || die "Sed failed"
+}
+
+src_compile() {
+ if use minimal; then
+ cd "${S}/mythzoneminder/mythzmserver"
+ emake CXX=$(tc-getCXX) -f Makefile.standalone || die "Emake failed"
+ else
+ mythtv-plugins_src_compile
+ fi
+}
+
+src_install() {
+ if use minimal; then
+ dodoc README
+ dobin "${S}/mythzoneminder/mythzmserver/mythzmserver" || die "Installing mythzmserver failed"
+ else
+ mythtv-plugins_src_install
+ fi
+}