diff options
author | 2010-04-13 19:47:32 +0000 | |
---|---|---|
committer | 2010-04-13 19:47:32 +0000 | |
commit | 254c53f9c3b9432e808ffbfec909f253b9ef9585 (patch) | |
tree | 7e3a02dadb8726533f87b28fbfa4264b16467c78 | |
parent | x11-themes/vdrskin-pearlhd: initial ebuild (diff) | |
download | testing-254c53f9c3b9432e808ffbfec909f253b9ef9585.tar.gz testing-254c53f9c3b9432e808ffbfec909f253b9ef9585.tar.bz2 testing-254c53f9c3b9432e808ffbfec909f253b9ef9585.zip |
Initial import of ebuild written by Ingo Bowe <ingo@wg-zuhause.de>.
(Portage version: 2.1.8.3/svn/Linux x86_64)
svn path=/testing/; revision=724
-rw-r--r-- | media-plugins/vdr-imonlcd/ChangeLog | 12 | ||||
-rw-r--r-- | media-plugins/vdr-imonlcd/Manifest | 8 | ||||
-rwxr-xr-x | media-plugins/vdr-imonlcd/files/30-imon.rules | 1 | ||||
-rw-r--r-- | media-plugins/vdr-imonlcd/files/confd | 10 | ||||
-rw-r--r-- | media-plugins/vdr-imonlcd/files/rc-addon.sh | 11 | ||||
-rw-r--r-- | media-plugins/vdr-imonlcd/metadata.xml | 10 | ||||
-rw-r--r-- | media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.2.ebuild | 33 | ||||
-rw-r--r-- | media-plugins/vdr-imonlcd/vdr-imonlcd-9999.ebuild | 42 |
8 files changed, 127 insertions, 0 deletions
diff --git a/media-plugins/vdr-imonlcd/ChangeLog b/media-plugins/vdr-imonlcd/ChangeLog new file mode 100644 index 0000000..9b2102e --- /dev/null +++ b/media-plugins/vdr-imonlcd/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for media-plugins/vdr-imonlcd +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header$ + +*vdr-imonlcd-9999 (13 Apr 2010) +*vdr-imonlcd-0.0.2 (13 Apr 2010) + + 13 Apr 2010; Matthias Schwarzott <zzam@gentoo.org> +files/30-imon.rules, + +vdr-imonlcd-0.0.2.ebuild, +vdr-imonlcd-9999.ebuild, +files/confd, + +files/rc-addon.sh, +metadata.xml: + Initial import of ebuild written by Ingo Bowe <ingo@wg-zuhause.de>. + diff --git a/media-plugins/vdr-imonlcd/Manifest b/media-plugins/vdr-imonlcd/Manifest new file mode 100644 index 0000000..19de012 --- /dev/null +++ b/media-plugins/vdr-imonlcd/Manifest @@ -0,0 +1,8 @@ +AUX 30-imon.rules 125 RMD160 ebc4eefdeaa7b46763f2f46620a81519fa78e835 SHA1 03012e926c2c9381ea69a3dffbd8efee56052850 SHA256 32bd24e06e24019fa3761184118ade5cb08752fd37e43e257602271d8f84fb6d +AUX confd 272 RMD160 006b5d58146e6821220645a65ee9c2e375a277e2 SHA1 f3bd56bd6959220a487a6d1bd20ea26c9e11617a SHA256 f109e2b09ec48552dbfdf4f6de99ccec4c5cc0f2a864d78e8e473297d45faf49 +AUX rc-addon.sh 199 RMD160 2d766378867a84a70f089269c806ea5075b4c1d1 SHA1 ed7849a64b51e652567b98d24808555f5a56d0d6 SHA256 1a5ec2f9fb25dd555d071945f684071c474d2cc8e7b2b4251dbcb61ed0559f21 +DIST vdr-imonlcd-0.0.2.tgz 39327 RMD160 37a2f6dd6d406d635adb046bb3eadbf4f75ad4ab SHA1 5d2a4dfc5b0953010c0e140f5f176bf3752247e6 SHA256 95772a90d3e7ac4c64ef18980d8443562ff67ea40031f5f138787d631539b392 +EBUILD vdr-imonlcd-0.0.2.ebuild 859 RMD160 3064e3dfb4c38101647f08d6ec94d9b6e9a6c6ef SHA1 feebb7ff9627c37996b27f0cf4ca9f85e00f4eff SHA256 66c7d798fe7c468c137a3702493fb8315fa864866b0a16484438a5b1aa43b48d +EBUILD vdr-imonlcd-9999.ebuild 974 RMD160 6bed95f50c98b2bbeedc2830115438393c263405 SHA1 1d288f1f9869c77e5adebf8e8d54ab6e8eb11a9d SHA256 2640108f90010b2498653cf48fcf420c357c1a18bd8b90b72fd36f77e3682fe8 +MISC ChangeLog 442 RMD160 bc7474e8a9c0a11dd703ea1d1ae871745bc54a70 SHA1 69c65bac336c713cb1c6bebec41417901c2d4d64 SHA256 3369a5506d83097ac169ca4425200fd319968f3f130707b2354f07f110c088e5 +MISC metadata.xml 251 RMD160 b4bdfc1a9e947ad1d1f76c1942f02057d5cbc993 SHA1 6e174f6e4395999a9dafd53f523e079766c0b094 SHA256 b426b6e6d679a63de74d2c1a21e4da2381fb1b580b0180b041307471d67ab54f diff --git a/media-plugins/vdr-imonlcd/files/30-imon.rules b/media-plugins/vdr-imonlcd/files/30-imon.rules new file mode 100755 index 0000000..e65bab7 --- /dev/null +++ b/media-plugins/vdr-imonlcd/files/30-imon.rules @@ -0,0 +1 @@ +ACTION=="add", KERNEL=="lcd*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="15c2", ATTRS{idProduct}=="*", MODE="0660", GROUP="video" diff --git a/media-plugins/vdr-imonlcd/files/confd b/media-plugins/vdr-imonlcd/files/confd new file mode 100644 index 0000000..5f094a9 --- /dev/null +++ b/media-plugins/vdr-imonlcd/files/confd @@ -0,0 +1,10 @@ +#Sets the lcd-device to other device than /dev/lcd0 + +IMONLCD_DEV="/dev/lcd0" + +# Sets the protocol of lcd-device +# 0038 - For LCD with ID 15c2:0038 SoundGraph Inc (default) +# ffdc - For LCD with ID 15c2:ffdc SoundGraph Inc +# Check lsusb for more info. + +IMONLCD_MODE="ffdc" diff --git a/media-plugins/vdr-imonlcd/files/rc-addon.sh b/media-plugins/vdr-imonlcd/files/rc-addon.sh new file mode 100644 index 0000000..7bc17d5 --- /dev/null +++ b/media-plugins/vdr-imonlcd/files/rc-addon.sh @@ -0,0 +1,11 @@ +# +# rc-addon-script for plugin imonlcd +# + +: ${IMONLCD_DEV:=/dev/lcd0} +: ${IMONLCD_MODE:=ffdc} + +plugin_pre_vdr_start() { + add_plugin_param "-d ${IMONLCD_DEV}" + add_plugin_param "-p ${IMONLCD_MODE}" +} diff --git a/media-plugins/vdr-imonlcd/metadata.xml b/media-plugins/vdr-imonlcd/metadata.xml new file mode 100644 index 0000000..5f9f146 --- /dev/null +++ b/media-plugins/vdr-imonlcd/metadata.xml @@ -0,0 +1,10 @@ +<?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> +</pkgmetadata> + diff --git a/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.2.ebuild b/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.2.ebuild new file mode 100644 index 0000000..cc0a34a --- /dev/null +++ b/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.2.ebuild, v1.0, 2010/03/26 16:31:23 Nelvin Exp $ + +EAPI="2" +inherit vdr-plugin +DESCRIPTION="VDR Plugin: show state info on iMON LCD" +HOMEPAGE="http://projects.vdr-developer.org/wiki/plg-imonlcd" +SRC_URI="http://projects.vdr-developer.org/attachments/download/117/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-misc/lirc + >=media-video/vdr-1.5.7" +RDEPEND="${DEPEND}" + +src_install() { + vdr-plugin_src_install + einfo "Installing udev-rule for the right permission." + insinto /etc/udev/rules.d + doins "${FILESDIR}/30-imon.rules" +} + +pkg_postinst() { + vdr-plugin_pkg_postinst + + elog + elog "New udev rule installed, please REBOOT!" + elog +} diff --git a/media-plugins/vdr-imonlcd/vdr-imonlcd-9999.ebuild b/media-plugins/vdr-imonlcd/vdr-imonlcd-9999.ebuild new file mode 100644 index 0000000..a3c5147 --- /dev/null +++ b/media-plugins/vdr-imonlcd/vdr-imonlcd-9999.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-imonlcd/vdr-imonlcd-9999.ebuild, v1.0, 2010/03/26 16:59:12 Nelvin Exp $ + +EAPI="2" +inherit vdr-plugin git + +: ${EGIT_REPO_URI:=git://projects.vdr-developer.org/vdr-plugin-imonlcd.git} + +DESCRIPTION="VDR Plugin: show state info on iMON LCD" +HOMEPAGE="http://projects.vdr-developer.org/wiki/plg-imonlcd" +SRC_URI="" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="app-misc/lirc + >=media-video/vdr-1.5.7" +RDEPEND="${DEPEND}" + +src_unpack() { + git_src_unpack + vdr-plugin_src_unpack all_but_unpack +} + +src_install() { + vdr-plugin_src_install + einfo "Installing udev-rule for the right permission." + einfo "It is important to reboot your system!" + insinto /etc/udev/rules.d + doins "${FILESDIR}/30-imon.rules" +} + +pkg_postinst() { + vdr-plugin_pkg_postinst + + elog + elog "New udev rule installed, please REBOOT!" + elog +} |