summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2010-06-10 14:54:54 +0000
committerDoug Goldstein <cardoe@gentoo.org>2010-06-10 14:54:54 +0000
commitab626ea985578725b7a25233254098947e5f95a6 (patch)
tree29b318111e0cc92eb05259cd213a472943b7d785 /media-plugins/mythzoneminder
parentAdd experimental ebuild for MythTV 0.23 (diff)
downloadgentoo-2-ab626ea985578725b7a25233254098947e5f95a6.tar.gz
gentoo-2-ab626ea985578725b7a25233254098947e5f95a6.tar.bz2
gentoo-2-ab626ea985578725b7a25233254098947e5f95a6.zip
Add experimental ebuild for MythTV 0.23
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/mythzoneminder')
-rw-r--r--media-plugins/mythzoneminder/ChangeLog10
-rw-r--r--media-plugins/mythzoneminder/mythzoneminder-0.23_p25065.ebuild40
2 files changed, 48 insertions, 2 deletions
diff --git a/media-plugins/mythzoneminder/ChangeLog b/media-plugins/mythzoneminder/ChangeLog
index fc2ee065773d..180850666c81 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.6 2009/11/18 00:24:21 cardoe Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythzoneminder/ChangeLog,v 1.7 2010/06/10 14:54:54 cardoe Exp $
+
+*mythzoneminder-0.23_p25065 (10 Jun 2010)
+
+ 10 Jun 2010; Doug Goldstein <cardoe@gentoo.org>
+ +mythzoneminder-0.23_p25065.ebuild:
+ Add experimental ebuild for MythTV 0.23
18 Nov 2009; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
add MythTV herd
diff --git a/media-plugins/mythzoneminder/mythzoneminder-0.23_p25065.ebuild b/media-plugins/mythzoneminder/mythzoneminder-0.23_p25065.ebuild
new file mode 100644
index 000000000000..b57e7f6918ea
--- /dev/null
+++ b/media-plugins/mythzoneminder/mythzoneminder-0.23_p25065.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythzoneminder/mythzoneminder-0.23_p25065.ebuild,v 1.1 2010/06/10 14:54:54 cardoe Exp $
+
+EAPI=2
+MYTHTV_NODEPS="true"
+inherit qt4 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_prepare() {
+ 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
+}