From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-plugins/vdr-joystick/Manifest | 8 +++++ media-plugins/vdr-joystick/files/confd | 6 ++++ media-plugins/vdr-joystick/files/mapping.conf | 25 ++++++++++++++++ media-plugins/vdr-joystick/files/rc-addon.sh | 10 +++++++ media-plugins/vdr-joystick/metadata.xml | 8 +++++ .../vdr-joystick/vdr-joystick-0.0.3.ebuild | 35 ++++++++++++++++++++++ 6 files changed, 92 insertions(+) create mode 100644 media-plugins/vdr-joystick/Manifest create mode 100644 media-plugins/vdr-joystick/files/confd create mode 100644 media-plugins/vdr-joystick/files/mapping.conf create mode 100644 media-plugins/vdr-joystick/files/rc-addon.sh create mode 100644 media-plugins/vdr-joystick/metadata.xml create mode 100644 media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild (limited to 'media-plugins/vdr-joystick') diff --git a/media-plugins/vdr-joystick/Manifest b/media-plugins/vdr-joystick/Manifest new file mode 100644 index 000000000000..0a688cee693f --- /dev/null +++ b/media-plugins/vdr-joystick/Manifest @@ -0,0 +1,8 @@ +AUX confd 103 SHA256 fd428b383687872f3810fca1a1bbb5e0461541a54390643d633a917e6da68a34 SHA512 fc9922f7e172317bb7bfb417ba2f419fb2bb822cfad7d9e7bb9744bbefc8d4e8d0251fa3cff9b4ee77a00ec20948b142a1b4ce4aaa8a5dc8c08a66253b12d092 WHIRLPOOL 7a948e74d798f7802603325d3b2604ea0d78222959549d9ecc65b9c30407b7db36145035cb6f22a0c09721c99182e27ed4feb8fe9ce9d2f1925bbadb33898eec +AUX mapping.conf 775 SHA256 e1df743cd2c43481b6657a8cbff14d4195c3d6d4ee3998e132a0bd4cd21e3d1e SHA512 c8018f036a75d7feb0bd83f106625341785d53e20a50292a591cd4dc40a741834e79f2b740cde8ccb8f517ff67a8e397e577924c3a3cfed674c99a7000088768 WHIRLPOOL 6190a69b3472017c7f8d0832da4afd68c18d2b0128a3ba690c095e4106f860e85974c04268afbc59f759447d72121952499f2cc920aacd9ffecf823772682a70 +AUX rc-addon.sh 171 SHA256 5ab30b861f741f510ae271df001364435ae229f11c48e226f18d07c74bce8ce9 SHA512 1776ffaa11c3d9c34ae9e20609b849bf2995d1bc85064dccb517179339bd1a0396ff75b474af0ad85a6c80a39578884577d410639a34bce065ecccac74118e76 WHIRLPOOL 5351f6af26e7b3d55e63c00ed8726ac01d61937f2e7f35ca0becd4de630edf92c9fb4c3b12d56eb36866d0dac27203c4983066c9c317baaf1742f03fbe05a9c4 +DIST vdr-joystick-0.0.3.tgz 12246 SHA256 3765008ee99590239263a16d44f9577dba5902c944b67793af13d436ad20e12b SHA512 d51b56bee64e0b871898d10ad55c0fb48fb29a5f26f342d835575fa226f6be0d8670251363f9a49988d5e0adc118afeb0f69a283dfde818044d23501c2a45ca0 WHIRLPOOL 3dd7d47b4d08afdbfb924bcc26ec6c0818120fcf49ae936ac0f0846c75a6868758e4a3d5d8aeda8bd77213d68611254f5d9bb6d94f87e7099cfc4f7039eb1f47 +EBUILD vdr-joystick-0.0.3.ebuild 822 SHA256 ab65a9e820ff3be223bfaa7ac9c89dd5caaa478e62709a6b3679ffa022973532 SHA512 a7b42a74cfbcfafc3a719b399d7f6473deff2574fdfcc168278541ebf4c2c3caeeb819d2d7a52810542410197ac5b78cf8ee1974f5824cd3f266a3a74b4eb527 WHIRLPOOL 673473ed90c147c14390e79756d241e262ace4d0f84d6167d6cece785a55b5b46b07848caf72dc9ecf640fa2c70c8cb078dfae7541b2522b1b31e36fbfb08fbe +MISC ChangeLog 2897 SHA256 7b2c9ff21ff264c966ed3eb2ffe0608723093ba34f9aeec2e981fc193afbca8d SHA512 c4985b921c99895c06043ef7ef3c541fef69bdcf238df2ec07a306465305f441b23ee7675ba2420473b1c4cea6506a73aca0dd56c7752af3c3b669649fda1c88 WHIRLPOOL 1ecce8f952dda1e19619920882d8aef9f514aa492433c3c4b59804c6fb723f23cc5a9ab480e037e948ffb830af10f321952b7497e45f05684fe63dce1756142c +MISC ChangeLog-2015 811 SHA256 003024e9513bbaa95765fcd2af73e47d0723ba805b5885751fc27c20dfe27cd7 SHA512 213dd0da7ec263b512df6680ae4cf139343dff9ad6df2c2b295499d002c1bce1486b51242bcb3487dd9504e8a2323e01b73864d1e64a8525cd4a836bb5d343de WHIRLPOOL 178605280c4efa927426fdccae5ae58c3921b5f28d768378328abaf921e365f8322fa132fa1399579072a178b68773b4ea3ef2499fab151d8f3886fa3df888f7 +MISC metadata.xml 243 SHA256 161359b6e9eddec137a431eea66785e070bbc25fab3ae1b57f900e411fc37fe7 SHA512 f7d6e467a5a96c0afdd42df3c0f3866240defc5bbea5ccddf4c0b1a3c004225af5d46dab67d45a5ac34535391584f3b3727fe79ef6cef1a11413636bbc35cf06 WHIRLPOOL ebf59815181c251040396bb44206b875f6d996abcff030fdbf8355b47d6ea8c4f2669847ea1af194112de469258d7ca09ed77b682924ca495958a65f957dbf39 diff --git a/media-plugins/vdr-joystick/files/confd b/media-plugins/vdr-joystick/files/confd new file mode 100644 index 000000000000..31f6ae29591d --- /dev/null +++ b/media-plugins/vdr-joystick/files/confd @@ -0,0 +1,6 @@ +# /etc/conf.d/vdr.joystick + +### Joystick device +# default: /dev/js0 +#VDR_JOYSTICK_DEVICE="/dev/js0" + 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: +# :::::: ... +# +# 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: +# :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..ddaec354fd8d --- /dev/null +++ b/media-plugins/vdr-joystick/files/rc-addon.sh @@ -0,0 +1,10 @@ +# +# rc-addon plugin-startup-skript for vdr-joystick +# +# zulio + +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..27f419c289c3 --- /dev/null +++ b/media-plugins/vdr-joystick/metadata.xml @@ -0,0 +1,8 @@ + + + + +vdr@gentoo.org +Gentoo VDR Project + + 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..7a2324052eab --- /dev/null +++ b/media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit vdr-plugin-2 + +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" +RDEPEND="${DEPEND}" + +src_install() { + vdr-plugin-2_src_install + + insinto /etc/vdr/plugins/joystick + doins "${FILESDIR}"/mapping.conf +} + +pkg_postinst() { + vdr-plugin-2_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 +} -- cgit v1.2.3