summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-imonlcd
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-imonlcd')
-rw-r--r--media-plugins/vdr-imonlcd/Manifest10
-rw-r--r--media-plugins/vdr-imonlcd/files/99-imonlcd.rules1
-rw-r--r--media-plugins/vdr-imonlcd/files/confd6
-rw-r--r--media-plugins/vdr-imonlcd/files/rc-addon.sh4
-rw-r--r--media-plugins/vdr-imonlcd/metadata.xml5
-rw-r--r--media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild42
-rw-r--r--media-plugins/vdr-imonlcd/vdr-imonlcd-1.0.1.ebuild36
7 files changed, 104 insertions, 0 deletions
diff --git a/media-plugins/vdr-imonlcd/Manifest b/media-plugins/vdr-imonlcd/Manifest
new file mode 100644
index 000000000000..ab981f0281f7
--- /dev/null
+++ b/media-plugins/vdr-imonlcd/Manifest
@@ -0,0 +1,10 @@
+AUX 99-imonlcd.rules 125 SHA256 32bd24e06e24019fa3761184118ade5cb08752fd37e43e257602271d8f84fb6d SHA512 429c3c1cc6eb2ec59b293f51fadab25724756d22ddef4764684eff5cf239102904d45ccf07e05b7d5ae0ddea8b965800c0655290332e53b01bb82befa4d5c48c WHIRLPOOL ac21dcd82e543d3cecc9c1881044c55bdc1bfab2587c39251f21113b666c725214e8a686da08f43dd992f4c23838ed0d7585aa9e4f0518e129a165a9d37806e7
+AUX confd 197 SHA256 cfc05460642b45a668020caa306d00c011e0a31f79aad73635aff83dcda8dcc9 SHA512 4a118a89160ad63208cdfb1fee80063bcc1487e8fd98205a442babc892411018293313fe8db9741180d483a6787cd8cc7a04cea644d3967c46a680e74afa94c1 WHIRLPOOL 2c0fddc31249bff26df239110e6a937f9611de6977367c600aa220f165b43459146b4d9422da39bc0b674752dd95681f4f62d4a45f8fc4161eafc086fcb479d9
+AUX rc-addon.sh 165 SHA256 2b1e0ee54bcf5ea38567b7301eec2557d8409e688ca756c7d953ef82e832ab1c SHA512 6d805256adeed3719ff7d7edb7ed5b434654e23a0a709e1761be48877f7572f35a6c66ca732219de73c6be49338593aa5d98af507558a1ec76be6acb1ad95f16 WHIRLPOOL 409c8108d9b0e4e70d32648d9d426cc399c01d5763a87f1d1ec20125b236658e6db84f42eedfd6e12b4b7ebecdc52b58675ad4be8e18262d444abd33394fa735
+DIST vdr-imonlcd-0.0.5.tgz 43380 SHA256 1c786f5c0e8cd8039477d4a54e053905414ddc6424ecc573446b2420bdbbdaed SHA512 89082591c953d8f5883efc1d6e65d8c5fa54087b8baaff70b2de264323086cc76b33d9aa16e0bbe39c4f23ce94f5f1c31649c286b2034ea0d91fe8d8aa26edd6 WHIRLPOOL d440cb3a1da8e32b29e174402b01a42dd5b04896e60b6a0bb112417998160579c525b87c37fedcba88a5b338ad895293ad3bb9d84861a3a92091d7ed6f74d1da
+DIST vdr-imonlcd-1.0.1.tgz 44423 SHA256 b05f10eae78099eafab1a5f0eac6d1474b55d294ae898f76a09e2e45e919c8d6 SHA512 5912a51d01eab45c7a71cf9939e3947bde69ebbe413aefd5601734b60fb853bff6b2ae7a4c3e68aba7f5bd75b33921fec664d66128942ce0f223d4a2bbe53512 WHIRLPOOL 80014b749dae8e5c9f0bd4c9286d665cbd114adf1a4b32f0a74d895cf0b354eee745374e7747d31e48ce8a1a4c8ff34b919b2eb81f55e9ae1a23c17596bb825f
+EBUILD vdr-imonlcd-0.0.5-r1.ebuild 860 SHA256 d904bbed5b813e6c208e02edcaa007f8c3c4dd89780deaaa987513440f00ce49 SHA512 1eebbd6b58f29f5b7baf044b1ec493eb666b31f6857445df6596b98875a7a77c871a76c20302175f7279ac1f406e97633f84ade6f976ac467121f2ebd3c09cff WHIRLPOOL 28b969da191afd546af1211c2aec1fad6480d2b117aa27a04f95e0c9db3eb903738347b2a7638222ac5e85cb852d96683baa89df548771dc94259640d6fdf011
+EBUILD vdr-imonlcd-1.0.1.ebuild 756 SHA256 7be2836bc5fbbc18bf1057f92ee51d3847763e2a82ded93eb7c2680301223f72 SHA512 01e27f9a3e5656a3a6b55600aaf52d4190862e3b5ae38ca697ce91b0a7cf32a20d6caa32269c5b64fd661e5f90d1a2972372ab60ba764353b43e7a397bde3275 WHIRLPOOL c2580f7aef27290363f16df2be74564b7e58988105757d18bd0a637607d333cccc4ef5d3f4f7dacaa6d2228a9262777c81fa004beb8b96d6b68adf1b8a024664
+MISC ChangeLog 2600 SHA256 b9bd31f5079374d22a54d6e459d3f564ee9da979baaa6c881d666b57710ed164 SHA512 5ba523b023fbca3f559c7b3cd9b487016010be99a5edc603077a2bfeba1e633655c169110b68b428e9e5afa9e0778ffe00cc93a21eaf9bf6ea4da962e04496c0 WHIRLPOOL 022240bcffec0a4d61268206594a5031a383500762a50d58b2af8dd3e14dcc41be6ea791e2ef362bd09181ba57bce69c57a3ebd5fa4873adacc978ca9fac3df8
+MISC ChangeLog-2015 1313 SHA256 09fb6aef1d43fc5fd1b6e2e3fd83b2bfadc77e137b57c36daf53487111132f50 SHA512 964b91fd7c882f4148552ae2255b0906957b504a63b6591a46fca8a75bf914af146490dacdfb452832317590624fad980072d31ec95759cde360c677b86a63d7 WHIRLPOOL 6d920c9df7caf06385f9e1e41526d948094c07eafcdc79f75976cfd8c298d0a821f702437c3fd08a8e9505cfae25dd6636f6b031d9d9b96ea62e8c0023020a1a
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/media-plugins/vdr-imonlcd/files/99-imonlcd.rules b/media-plugins/vdr-imonlcd/files/99-imonlcd.rules
new file mode 100644
index 000000000000..e65bab742773
--- /dev/null
+++ b/media-plugins/vdr-imonlcd/files/99-imonlcd.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 000000000000..188a0affffe1
--- /dev/null
+++ b/media-plugins/vdr-imonlcd/files/confd
@@ -0,0 +1,6 @@
+#IMONLCD_DEVICE=/dev/lcd0
+
+# Protocol of lcd-device (see lsusb)
+# 0038 - For LCD with ID 15c2:0038 SoundGraph Inc (default)
+# ffdc - For LCD with ID 15c2:ffdc SoundGraph Inc
+#IMONLCD_PROTOCOL=0038
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 000000000000..cd524f52ee72
--- /dev/null
+++ b/media-plugins/vdr-imonlcd/files/rc-addon.sh
@@ -0,0 +1,4 @@
+plugin_pre_vdr_start() {
+ add_plugin_param "${IMONLCD_DEVICE:+--device ${IMONLCD_DEVICE}}"
+ add_plugin_param "${IMONLCD_PROTOCOL:+--protocol ${IMONLCD_PROTOCOL}}"
+}
diff --git a/media-plugins/vdr-imonlcd/metadata.xml b/media-plugins/vdr-imonlcd/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/media-plugins/vdr-imonlcd/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild b/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild
new file mode 100644
index 000000000000..25d334690af6
--- /dev/null
+++ b/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit linux-info vdr-plugin-2 udev
+
+DESCRIPTION="VDR Plugin: shows information about the current state of VDR on iMON LCD"
+HOMEPAGE="http://projects.vdr-developer.org/wiki/plg-imonlcd"
+SRC_URI="mirror://vdr-developerorg/408/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="media-libs/freetype"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+CONFIG_CHECK="~IR_IMON"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ vdr-plugin-2_pkg_setup
+}
+
+src_prepare() {
+ vdr-plugin-2_src_prepare
+
+ if ! use nls; then
+ sed -i -e 's/\(all: libvdr-$(PLUGIN).so\) i18n/\1/' Makefile || die
+ fi
+}
+
+src_install() {
+ rm -f README.git
+ vdr-plugin-2_src_install
+
+ insinto $(get_udevdir)/rules.d
+ doins "${FILESDIR}"/99-imonlcd.rules || die
+}
diff --git a/media-plugins/vdr-imonlcd/vdr-imonlcd-1.0.1.ebuild b/media-plugins/vdr-imonlcd/vdr-imonlcd-1.0.1.ebuild
new file mode 100644
index 000000000000..e3b27c21408c
--- /dev/null
+++ b/media-plugins/vdr-imonlcd/vdr-imonlcd-1.0.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit vdr-plugin-2 linux-info udev
+
+VERSION="1327" # every bump, new version
+
+DESCRIPTION="VDR Plugin: shows information about the current state of VDR on iMON LCD"
+HOMEPAGE="http://projects.vdr-developer.org/wiki/plg-imonlcd"
+SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/freetype"
+DEPEND="${RDEPEND}
+ media-video/vdr"
+
+CONFIG_CHECK="~IR_IMON"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ vdr-plugin-2_pkg_setup
+}
+
+src_install() {
+ rm -f README.git
+ vdr-plugin-2_src_install
+
+ insinto $(get_udevdir)/rules.d
+ doins "${FILESDIR}"/99-imonlcd.rules || die
+}