summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-plugins/mythzoneminder/ChangeLog8
-rw-r--r--media-plugins/mythzoneminder/mythzoneminder-0.21_p17948.ebuild5
-rw-r--r--media-plugins/mythzoneminder/mythzoneminder-0.21_p20671.ebuild41
3 files changed, 51 insertions, 3 deletions
diff --git a/media-plugins/mythzoneminder/ChangeLog b/media-plugins/mythzoneminder/ChangeLog
index 0e3d80f50491..88a2285d2a54 100644
--- a/media-plugins/mythzoneminder/ChangeLog
+++ b/media-plugins/mythzoneminder/ChangeLog
@@ -1,6 +1,12 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythzoneminder/ChangeLog,v 1.2 2009/07/19 05:48:30 cardoe Exp $
+
+*mythzoneminder-0.21_p20671 (19 Jul 2009)
+
+ 19 Jul 2009; Doug Goldstein <cardoe@gentoo.org>
+ mythzoneminder-0.21_p17948.ebuild, +mythzoneminder-0.21_p20671.ebuild:
+ new version bump. use new eclass bits.
*mythzoneminder-0.21_p17948 (30 Jan 2009)
diff --git a/media-plugins/mythzoneminder/mythzoneminder-0.21_p17948.ebuild b/media-plugins/mythzoneminder/mythzoneminder-0.21_p17948.ebuild
index 12953601d225..039cee788416 100644
--- a/media-plugins/mythzoneminder/mythzoneminder-0.21_p17948.ebuild
+++ b/media-plugins/mythzoneminder/mythzoneminder-0.21_p17948.ebuild
@@ -1,9 +1,10 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythzoneminder/mythzoneminder-0.21_p17948.ebuild,v 1.2 2009/07/19 05:48:30 cardoe Exp $
+EAPI=2
MYTHTV_NODEPS="true"
-inherit mythtv-plugins toolchain-funcs
+inherit qt3 mythtv-plugins toolchain-funcs
DESCRIPTION="Allows for viewing of CCTV cameras through zoneminder"
IUSE="minimal"
diff --git a/media-plugins/mythzoneminder/mythzoneminder-0.21_p20671.ebuild b/media-plugins/mythzoneminder/mythzoneminder-0.21_p20671.ebuild
new file mode 100644
index 000000000000..33ac88fed768
--- /dev/null
+++ b/media-plugins/mythzoneminder/mythzoneminder-0.21_p20671.ebuild
@@ -0,0 +1,41 @@
+# 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_p20671.ebuild,v 1.1 2009/07/19 05:48:30 cardoe Exp $
+
+EAPI=2
+MYTHTV_NODEPS="true"
+inherit qt3 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
+}