diff options
author | Thomas Anderson <gentoofan23@gentoo.org> | 2009-01-30 15:12:36 +0000 |
---|---|---|
committer | Thomas Anderson <gentoofan23@gentoo.org> | 2009-01-30 15:12:36 +0000 |
commit | 2c7aa7a672023fa34023270a43804f3899ceaa72 (patch) | |
tree | 39505ed466c23dcd22379e7da2de8c3ccc30bae8 /media-plugins | |
parent | Fix --as-needed bug #247285 (diff) | |
download | gentoo-2-2c7aa7a672023fa34023270a43804f3899ceaa72.tar.gz gentoo-2-2c7aa7a672023fa34023270a43804f3899ceaa72.tar.bz2 gentoo-2-2c7aa7a672023fa34023270a43804f3899ceaa72.zip |
Initial import, ebuild by Thomas Anderson <gentoofan23@gentoo.org> for bug #225131
(Portage version: 2.1.6.4/cvs/Linux 2.6.24-gentoo-r8 x86_64)
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/mythzoneminder/ChangeLog | 11 | ||||
-rw-r--r-- | media-plugins/mythzoneminder/metadata.xml | 14 | ||||
-rw-r--r-- | media-plugins/mythzoneminder/mythzoneminder-0.21_p17948.ebuild | 40 |
3 files changed, 65 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/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 +} |