diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2012-02-24 21:44:54 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2012-02-24 21:44:54 +0000 |
commit | b23607a8ca53f19c2025d49d759ba8d87c4bdf98 (patch) | |
tree | 6258e6c5fc437a160dafe55156e36973e6a8cf5a /media-plugins/vdr-vdrmanager | |
parent | Add x86 tarballs and ebuild (diff) | |
download | gentoo-2-b23607a8ca53f19c2025d49d759ba8d87c4bdf98.tar.gz gentoo-2-b23607a8ca53f19c2025d49d759ba8d87c4bdf98.tar.bz2 gentoo-2-b23607a8ca53f19c2025d49d759ba8d87c4bdf98.zip |
initial ebuild, thanks to M.Lange on bug 389543 and T.Rheinhold on IRC for some inspiration
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'media-plugins/vdr-vdrmanager')
-rw-r--r-- | media-plugins/vdr-vdrmanager/ChangeLog | 11 | ||||
-rw-r--r-- | media-plugins/vdr-vdrmanager/files/confd | 19 | ||||
-rw-r--r-- | media-plugins/vdr-vdrmanager/files/rc-addon.sh | 20 | ||||
-rw-r--r-- | media-plugins/vdr-vdrmanager/metadata.xml | 13 | ||||
-rw-r--r-- | media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.6.ebuild | 30 |
5 files changed, 93 insertions, 0 deletions
diff --git a/media-plugins/vdr-vdrmanager/ChangeLog b/media-plugins/vdr-vdrmanager/ChangeLog new file mode 100644 index 000000000000..2b197f91088a --- /dev/null +++ b/media-plugins/vdr-vdrmanager/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-plugins/vdr-vdrmanager +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vdrmanager/ChangeLog,v 1.1 2012/02/24 21:44:53 hd_brummy Exp $ + +*vdr-vdrmanager-0.6 (24 Feb 2012) + + 24 Feb 2012; Joerg Bornkessel <hd_brummy@gentoo.org> + +vdr-vdrmanager-0.6.ebuild, +files/confd, +files/rc-addon.sh, +metadata.xml: + initial ebuild, thanks to M.Lange on bug 389543 and T.Rheinhold on IRC for + some inspiration + diff --git a/media-plugins/vdr-vdrmanager/files/confd b/media-plugins/vdr-vdrmanager/files/confd new file mode 100644 index 000000000000..41d406e82f02 --- /dev/null +++ b/media-plugins/vdr-vdrmanager/files/confd @@ -0,0 +1,19 @@ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vdrmanager/files/confd,v 1.1 2012/02/24 21:44:54 hd_brummy Exp $ +# /etc/conf.d/vdr.manager + +# Parameters for vdr-plugin-vdrmanager +# +# For more details see: +# http://projects.vdr-developer.org/projects/vdr-manager/wiki + +# Set the port where the plugin is listen on +# allowed values: port number +# default: 6420 +# +#VDRMANAGER_PORT="6420" + +# Set the password where the plugin is listen on +# allowed values: your_password +# default: +# +VDRMANAGER_PASS="" diff --git a/media-plugins/vdr-vdrmanager/files/rc-addon.sh b/media-plugins/vdr-vdrmanager/files/rc-addon.sh new file mode 100644 index 000000000000..3590ab206c05 --- /dev/null +++ b/media-plugins/vdr-vdrmanager/files/rc-addon.sh @@ -0,0 +1,20 @@ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vdrmanager/files/rc-addon.sh,v 1.1 2012/02/24 21:44:54 hd_brummy Exp $ +# +# rc-addon plugin-startup-skript for vdr-vdrmanager +# + +: ${VDRMANAGER_PORT:=6420} + +if [[ -z ${VDRMANAGER_PASS} ]]; then + eerror "No password in /etc/conf.d/vdr.manager" + logger -t vdr "ERROR: need password for plugin vdr-manager" +fi + +plugin_pre_vdr_start() { + + + add_plugin_param "-p${VDRMANAGER_PORT}" + add_plugin_param "-P${VDRMANAGER_PASS}" + add_plugin_param "-s" +} + diff --git a/media-plugins/vdr-vdrmanager/metadata.xml b/media-plugins/vdr-vdrmanager/metadata.xml new file mode 100644 index 000000000000..2eaf32514317 --- /dev/null +++ b/media-plugins/vdr-vdrmanager/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>media-tv</herd> + <maintainer> + <email>vdr@gentoo.org</email> + <name>Gentoo VDR Project</name> + </maintainer> + <use> + <flag name="stream">Add support for streaming Video to Android client</flag> + </use> +</pkgmetadata> + diff --git a/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.6.ebuild b/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.6.ebuild new file mode 100644 index 000000000000..67e8d3aec012 --- /dev/null +++ b/media-plugins/vdr-vdrmanager/vdr-vdrmanager-0.6.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +EAPI="4" + +inherit vdr-plugin + +VERSION="828" # every bump, new version + +DESCRIPTION="VDR Plugin: allows remote programming VDR using VDR-Manager running on Android devices" +HOMEPAGE="http://projects.vdr-developer.org/wiki/androvdr" +SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tar.gz" +KEYWORDS="~x86 ~amd64" +SLOT="0" +LICENSE="GPL-2" + +IUSE="-stream" + +DEPEND=">=media-video/vdr-1.6.0" + +RDEPEND="stream? ( media-plugins/vdr-streamdev[server] )" + +S="${WORKDIR}/${P}" + +pkg_postinst() { + vdr-plugin_pkg_postinst + + einfo "Add a password to /etc/conf.d/vdr.vdrmanager" +} |