diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2007-12-03 20:47:02 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2007-12-03 20:47:02 +0000 |
commit | f28e0998183286e26fbf4c7413d9cc93f4da0057 (patch) | |
tree | 22af05e100332f6172fbd9eed97565da666f77cd /media-plugins/vdr-joystick | |
parent | whitespace (diff) | |
download | gentoo-2-f28e0998183286e26fbf4c7413d9cc93f4da0057.tar.gz gentoo-2-f28e0998183286e26fbf4c7413d9cc93f4da0057.tar.bz2 gentoo-2-f28e0998183286e26fbf4c7413d9cc93f4da0057.zip |
initial ebuild; thanks to Guido Zuliani on bug 201072
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-plugins/vdr-joystick')
-rw-r--r-- | media-plugins/vdr-joystick/ChangeLog | 11 | ||||
-rw-r--r-- | media-plugins/vdr-joystick/Manifest | 28 | ||||
-rw-r--r-- | media-plugins/vdr-joystick/files/confd | 7 | ||||
-rw-r--r-- | media-plugins/vdr-joystick/files/digest-vdr-joystick-0.0.3 | 3 | ||||
-rw-r--r-- | media-plugins/vdr-joystick/files/mapping.conf | 25 | ||||
-rw-r--r-- | media-plugins/vdr-joystick/files/rc-addon.sh | 11 | ||||
-rw-r--r-- | media-plugins/vdr-joystick/metadata.xml | 12 | ||||
-rw-r--r-- | media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild | 33 |
8 files changed, 130 insertions, 0 deletions
diff --git a/media-plugins/vdr-joystick/ChangeLog b/media-plugins/vdr-joystick/ChangeLog new file mode 100644 index 000000000000..2663da6465d8 --- /dev/null +++ b/media-plugins/vdr-joystick/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-plugins/vdr-joystick +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-joystick/ChangeLog,v 1.1 2007/12/03 20:47:01 hd_brummy Exp $ + +*vdr-joystick-0.0.3 (03 Dec 2007) + + 03 Dec 2007; Joerg Bornkessel <hd_brummy@gentoo.org> +files/confd, + +files/mapping.conf, +files/rc-addon.sh, +metadata.xml, + +vdr-joystick-0.0.3.ebuild: + initial ebuild; thanks to Guido Zuliani on bug 201072 + diff --git a/media-plugins/vdr-joystick/Manifest b/media-plugins/vdr-joystick/Manifest new file mode 100644 index 000000000000..06c86965a141 --- /dev/null +++ b/media-plugins/vdr-joystick/Manifest @@ -0,0 +1,28 @@ +AUX confd 116 RMD160 f0461bdb9d099a51ef03431d84c876fee7a416c4 SHA1 01b100f627ea7bd5226d9c6116f88ced4d7edc45 SHA256 9fa90c781cf52366155ea092fcd32752c052c4d44aa67198fb60598be3c3abd6 +MD5 b4b5abe157f3e8e956279ad9e9f088d3 files/confd 116 +RMD160 f0461bdb9d099a51ef03431d84c876fee7a416c4 files/confd 116 +SHA256 9fa90c781cf52366155ea092fcd32752c052c4d44aa67198fb60598be3c3abd6 files/confd 116 +AUX mapping.conf 775 RMD160 ee4b5edd2705127cf7a63a15b85f222f30ee5bcf SHA1 3667f63aead922a6c62dafe5ba9c05261ef9e1f5 SHA256 e1df743cd2c43481b6657a8cbff14d4195c3d6d4ee3998e132a0bd4cd21e3d1e +MD5 6b9a80fcc0a16b0d5a2c9baf8a280a08 files/mapping.conf 775 +RMD160 ee4b5edd2705127cf7a63a15b85f222f30ee5bcf files/mapping.conf 775 +SHA256 e1df743cd2c43481b6657a8cbff14d4195c3d6d4ee3998e132a0bd4cd21e3d1e files/mapping.conf 775 +AUX rc-addon.sh 184 RMD160 9b5da8e6372c72880fdf9032db91d85f221f2529 SHA1 0688a644e2aba043681dee930a1bb1f4cfdbf179 SHA256 baddd9baa1d9733a8c606bd8edd2f8a0feed408850188e3800f910a8a9549b94 +MD5 fa6ee51ad717ecc8e18a278dffe294ed files/rc-addon.sh 184 +RMD160 9b5da8e6372c72880fdf9032db91d85f221f2529 files/rc-addon.sh 184 +SHA256 baddd9baa1d9733a8c606bd8edd2f8a0feed408850188e3800f910a8a9549b94 files/rc-addon.sh 184 +DIST vdr-joystick-0.0.3.tgz 12246 RMD160 c7f8d0f892ab61e11aadcc53dcab2d17d90c67b1 SHA1 5ffdecdc41836abf7d07788263e9b05053e3c77a SHA256 3765008ee99590239263a16d44f9577dba5902c944b67793af13d436ad20e12b +EBUILD vdr-joystick-0.0.3.ebuild 802 RMD160 d8b0821339f7531738d0cafd29c58299c1c94691 SHA1 5ac8e97c740896ecbbecee8efa61b76c97147c75 SHA256 08599df5700c74199e41353e6be04397ea80f75bfe609ee218873e8f5297e1a4 +MD5 e5d76a017f5da325fe7b27e65980763b vdr-joystick-0.0.3.ebuild 802 +RMD160 d8b0821339f7531738d0cafd29c58299c1c94691 vdr-joystick-0.0.3.ebuild 802 +SHA256 08599df5700c74199e41353e6be04397ea80f75bfe609ee218873e8f5297e1a4 vdr-joystick-0.0.3.ebuild 802 +MISC ChangeLog 376 RMD160 3e02ca881c66712410e932e9421e322a767257b3 SHA1 670e0c4411856ab28d9bcde063e4678590f27494 SHA256 5932ddee81bb7fae1aa9957788234222e66a966dfdce1f5392a7984135e87bb2 +MD5 12d1685f6668455d8eafb33897d349d1 ChangeLog 376 +RMD160 3e02ca881c66712410e932e9421e322a767257b3 ChangeLog 376 +SHA256 5932ddee81bb7fae1aa9957788234222e66a966dfdce1f5392a7984135e87bb2 ChangeLog 376 +MISC metadata.xml 298 RMD160 7e0a2f2a14c259d83aeca27b96f53bde893cc3cf SHA1 909d564739e5ee061ef40e6b09c6a48c6578269f SHA256 50a4a1a273a8415774ef522ac281cd664bd217c04bcbfa16e13b53649b9a9581 +MD5 e0c01eee6ee7e11d5d597aee9f9a2852 metadata.xml 298 +RMD160 7e0a2f2a14c259d83aeca27b96f53bde893cc3cf metadata.xml 298 +SHA256 50a4a1a273a8415774ef522ac281cd664bd217c04bcbfa16e13b53649b9a9581 metadata.xml 298 +MD5 c0eabd64b0680eb592173ee95ee10230 files/digest-vdr-joystick-0.0.3 244 +RMD160 cf39c2adf616130594de807097d903433c4f0b87 files/digest-vdr-joystick-0.0.3 244 +SHA256 aa859078d62daf1da468c77d259c17ff6aa06ca91d6529b360312baada51d722 files/digest-vdr-joystick-0.0.3 244 diff --git a/media-plugins/vdr-joystick/files/confd b/media-plugins/vdr-joystick/files/confd new file mode 100644 index 000000000000..8550aad8ff19 --- /dev/null +++ b/media-plugins/vdr-joystick/files/confd @@ -0,0 +1,7 @@ +# /etc/conf.d/vdr.joystick +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-joystick/files/confd,v 1.1 2007/12/03 20:47:02 hd_brummy Exp $ + +### Joystick device +# default: /dev/js0 +#VDR_JOYSTICK_DEVICE="/dev/js0" + diff --git a/media-plugins/vdr-joystick/files/digest-vdr-joystick-0.0.3 b/media-plugins/vdr-joystick/files/digest-vdr-joystick-0.0.3 new file mode 100644 index 000000000000..ac024de29a47 --- /dev/null +++ b/media-plugins/vdr-joystick/files/digest-vdr-joystick-0.0.3 @@ -0,0 +1,3 @@ +MD5 794ddd320118be8fc166b38972252b69 vdr-joystick-0.0.3.tgz 12246 +RMD160 c7f8d0f892ab61e11aadcc53dcab2d17d90c67b1 vdr-joystick-0.0.3.tgz 12246 +SHA256 3765008ee99590239263a16d44f9577dba5902c944b67793af13d436ad20e12b vdr-joystick-0.0.3.tgz 12246 diff --git a/media-plugins/vdr-joystick/files/mapping.conf b/media-plugins/vdr-joystick/files/mapping.conf new file mode 100644 index 000000000000..6f7f593d0950 --- /dev/null +++ b/media-plugins/vdr-joystick/files/mapping.conf @@ -0,0 +1,25 @@ +############################## +# vdr-joystick: mapping.conf +############################## + +# With version 0.0.3 axis mappings became possible. +# Each entry represents one axis in the following format: +# <axis number>:<off value>:<threshold>:<value1>:<value2>:<value3>: ... +# +# This is an example which works for the hat of my Wingman Extreme: +# 2:7800:1000:0:-12000:-32700 +# and leads to the following results: +# value button +# 6800 - 8800 none +# -1000 - 1000 0 +# -13000 - -11000 1 +# -33700 - -31700 2 +# +# If an axis is not mapped in mappings.conf a standard entry will be generated +# which has the same effect like the axis handling of version 0.0.2: +# <num>:0:20000:-25000:25000 +# + +# Wingman Extreme +# 2:7800:1000:0:-12000:-32700 + diff --git a/media-plugins/vdr-joystick/files/rc-addon.sh b/media-plugins/vdr-joystick/files/rc-addon.sh new file mode 100644 index 000000000000..b4f1d5f91ffd --- /dev/null +++ b/media-plugins/vdr-joystick/files/rc-addon.sh @@ -0,0 +1,11 @@ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-joystick/files/rc-addon.sh,v 1.1 2007/12/03 20:47:02 hd_brummy Exp $ +# +# rc-addon plugin-startup-skript for vdr-joystick +# +# zulio <zulio(at)zulinux.net> + +plugin_pre_vdr_start() { + + add_plugin_param "-d ${VDR_JOYSTICK_DEVICE:=/dev/js0}" +} + diff --git a/media-plugins/vdr-joystick/metadata.xml b/media-plugins/vdr-joystick/metadata.xml new file mode 100644 index 000000000000..d1b88e6872a7 --- /dev/null +++ b/media-plugins/vdr-joystick/metadata.xml @@ -0,0 +1,12 @@ +<?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> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild b/media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild new file mode 100644 index 000000000000..0b10fdbf4464 --- /dev/null +++ b/media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild,v 1.1 2007/12/03 20:47:01 hd_brummy Exp $ + +inherit vdr-plugin + +DESCRIPTION="VDR plugin: allows using a joystick as a remote control for VDR." +HOMEPAGE="http://www.powarman.de/vdr_plugins.htm" +SRC_URI="http://home.arcor.de/andreas.regel/files/joystick/${P}.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=media-video/vdr-1.4.6" + +src_install() { + vdr-plugin_src_install + + insinto /etc/vdr/plugins/joystick + doins "${FILESDIR}"/mapping.conf +} + +pkg_postinst() { + vdr-plugin_pkg_postinst + + echo + elog "To use the plugin your joystick has to be connected to your game port and its kernel module has to be loaded." + elog "Check configuration file:" + elog "/etc/vdr/plugins/joystick/mapping.conf" + echo +} |