diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2007-12-03 20:47:02 +0000 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2007-12-03 20:47:02 +0000 |
commit | 170c774915fafa274e07ee402cf801ea5554c6af (patch) | |
tree | 3752e8e6291450f8a46b5a5f73a0813917661480 /media-plugins | |
parent | whitespace (diff) | |
download | historical-170c774915fafa274e07ee402cf801ea5554c6af.tar.gz historical-170c774915fafa274e07ee402cf801ea5554c6af.tar.bz2 historical-170c774915fafa274e07ee402cf801ea5554c6af.zip |
initial ebuild; thanks to Guido Zuliani on bug 201072
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/vdr-joystick/ChangeLog | 11 | ||||
-rw-r--r-- | media-plugins/vdr-joystick/Manifest | 39 | ||||
-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, 141 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..a06df07adb20 --- /dev/null +++ b/media-plugins/vdr-joystick/Manifest @@ -0,0 +1,39 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX confd 219 RMD160 bc16e0f8944dd8fedf0bfd5fac2c0748c5dc9088 SHA1 b51ce2cf82b3723e6710377fbf45d84bb0efa680 SHA256 513e8f87a3d836a721057e70c55a14a256c951adf950d1bef16071b3b7ff7ae6 +MD5 609b92b164a0265d8d04516cce13d7ca files/confd 219 +RMD160 bc16e0f8944dd8fedf0bfd5fac2c0748c5dc9088 files/confd 219 +SHA256 513e8f87a3d836a721057e70c55a14a256c951adf950d1bef16071b3b7ff7ae6 files/confd 219 +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 293 RMD160 c263ee75a106e09c567bbe946eaee3b20b581bb4 SHA1 e4bf0b09878be765151328a975a098dadce1177e SHA256 09703f5d7dbc17a14c645feb4d26ba27ddd6f70f91268d569bf902b130d7a169 +MD5 033311ffcd1e56da539d2492057b90d1 files/rc-addon.sh 293 +RMD160 c263ee75a106e09c567bbe946eaee3b20b581bb4 files/rc-addon.sh 293 +SHA256 09703f5d7dbc17a14c645feb4d26ba27ddd6f70f91268d569bf902b130d7a169 files/rc-addon.sh 293 +DIST vdr-joystick-0.0.3.tgz 12246 RMD160 c7f8d0f892ab61e11aadcc53dcab2d17d90c67b1 SHA1 5ffdecdc41836abf7d07788263e9b05053e3c77a SHA256 3765008ee99590239263a16d44f9577dba5902c944b67793af13d436ad20e12b +EBUILD vdr-joystick-0.0.3.ebuild 919 RMD160 7fc37e7829b89be3c917de96177a25d65094ad1a SHA1 5e3dc0d76d3a82fa1a8e8c878f81890192b9f718 SHA256 4c9057705133c6762ae8ea9712722e05ec4150e3e25114e5e44e2e61af71a897 +MD5 1068d8d095dc82062d730bef7609b324 vdr-joystick-0.0.3.ebuild 919 +RMD160 7fc37e7829b89be3c917de96177a25d65094ad1a vdr-joystick-0.0.3.ebuild 919 +SHA256 4c9057705133c6762ae8ea9712722e05ec4150e3e25114e5e44e2e61af71a897 vdr-joystick-0.0.3.ebuild 919 +MISC ChangeLog 477 RMD160 c0eb2aa97d39bfd2e22a594cf0f0fa649a0667a3 SHA1 f23cc81b52c112076dd359c36108b4bd061e47f6 SHA256 95f234a96f7e30095727ef86b5a2a85952960a26886238a16e6937c6e7c47946 +MD5 1f7af8a74432d5b600103940ddb0e127 ChangeLog 477 +RMD160 c0eb2aa97d39bfd2e22a594cf0f0fa649a0667a3 ChangeLog 477 +SHA256 95f234a96f7e30095727ef86b5a2a85952960a26886238a16e6937c6e7c47946 ChangeLog 477 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) +Comment: added by hd_brummy@gentoo.org + +iD8DBQFHVGtJdn07HTTCgIoRAgWGAJ4oKKrT8ohqLKJpZYlhA2LzqAWhQACeKHz/ +lQQDY5tiz1K39HTh/dd67lc= +=1jv4 +-----END PGP SIGNATURE----- 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 +} |