summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/vdr-osdteletext
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-plugins/vdr-osdteletext')
-rw-r--r--media-plugins/vdr-osdteletext/Manifest2
-rw-r--r--media-plugins/vdr-osdteletext/files/confd-v238
-rw-r--r--media-plugins/vdr-osdteletext/files/rc-addon-v3.sh49
-rw-r--r--media-plugins/vdr-osdteletext/files/vdr-osdteletext.sudo1
-rw-r--r--media-plugins/vdr-osdteletext/metadata.xml13
-rw-r--r--media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.4-r1.ebuild32
-rw-r--r--media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.5.ebuild32
7 files changed, 167 insertions, 0 deletions
diff --git a/media-plugins/vdr-osdteletext/Manifest b/media-plugins/vdr-osdteletext/Manifest
new file mode 100644
index 000000000000..80efd904a79f
--- /dev/null
+++ b/media-plugins/vdr-osdteletext/Manifest
@@ -0,0 +1,2 @@
+DIST vdr-osdteletext-0.9.4.tgz 62971 SHA256 625a16cd8da78075d0ea2ae687455dad886f4e4ebcec9e16372d32a9f497c77b SHA512 fe688f7dfddf5d5f270dcf7c2b4d3ab70cee68d0f75e0d283479d5c84217a17f4f1d638e764adaa6e3bbffd4e4a7f8bd1b55c6ab2847592b0a3ad27ffad50dbe WHIRLPOOL fc8e37637954ce72180dae0e6285accd296036c2ea28f957a343e1f74650e1d8baed9b6297196a303fc8211a4ede144fb735e023710454e509915316a3e0bae3
+DIST vdr-osdteletext-0.9.5.tgz 62692 SHA256 fd607076d58e3742e7264ce8d548abc06b6717f83e7153d60bd4542655c0b306 SHA512 cb75189c1065fb53b99fd684e7fcc3d373a799fd77965780fdb36dc0c2458e5c94896bf6516451f1a038d3bf7bf7cc962f3a3d53be4f0c43c41acda6267bbcaf WHIRLPOOL 881126226b2f12dab058b9a98ab8ef01e2f0cfc217b05c17bcacd6d096bc4c8defbbace9a68d91a8a28cb540cb34fe5161d8cc095590ccd5b919929cd268749f
diff --git a/media-plugins/vdr-osdteletext/files/confd-v2 b/media-plugins/vdr-osdteletext/files/confd-v2
new file mode 100644
index 000000000000..297430069433
--- /dev/null
+++ b/media-plugins/vdr-osdteletext/files/confd-v2
@@ -0,0 +1,38 @@
+# /etc/conf.d/vdr.osdteletext
+# $Id$
+
+# ################################################
+#
+# for minimal activity on your Harddisc
+# store the vtx files in a temp filesystem
+# allowed values: yes no
+# default: yes
+#OSDTELETEXT_TMPFS=yes
+
+
+# ######### Expert Functions ###################
+#
+# set the size of the videotext store
+# (when using TMPFS this is taken from RAM)
+# allowed values: size in megabyte
+# default: 20 # used 20 Mb for videotext
+#OSDTELETEXT_SIZE=20
+
+# set the dir of the tmpfs
+# allowed values: directory names
+# default: /var/cache/vdr/osdteletext
+#OSDTELETEXT_DIR=/var/cache/vdr/osdteletext
+
+# store top text pages at cache. (unviewable pages)
+# allowed values: yes no
+# default: no
+#OSDTELETEXT_STORETOPTEXT=no
+
+# ######## NOTE! ################################
+#
+# User with an old install have an entry like
+#
+# tmpfs /vtx tmpfs size=20M 0 0
+#
+# in the /etc/fstab
+# you can remove the entry, not needed anymore.
diff --git a/media-plugins/vdr-osdteletext/files/rc-addon-v3.sh b/media-plugins/vdr-osdteletext/files/rc-addon-v3.sh
new file mode 100644
index 000000000000..2cae50ba3702
--- /dev/null
+++ b/media-plugins/vdr-osdteletext/files/rc-addon-v3.sh
@@ -0,0 +1,49 @@
+# $Id$
+#
+# rc-addon-script for plugin osdteletext
+#
+# Joerg Bornkessel <hd_brummy@gentoo.org>
+# Matthias Schwarzott <zzam@gentoo.org>
+
+: ${OSDTELETEXT_TMPFS:=yes}
+: ${OSDTELETEXT_SIZE:=20}
+: ${OSDTELETEXT_DIR:=/var/cache/vdr/osdteletext}
+: ${OSDTELETEXT_STORETOPTEXT:=no}
+
+# depends on QA, create paths in /var/cache on the fly at runtime as needed
+init_cache_dir() {
+ if [ ! -d "${OSDTELETEXT_DIR}" ]; then
+ mkdir -p ${OSDTELETEXT_DIR}
+ chown vdr:vdr ${OSDTELETEXT_DIR}
+ fi
+}
+
+plugin_pre_vdr_start() {
+ init_cache_dir
+
+ add_plugin_param "-d ${OSDTELETEXT_DIR}"
+ add_plugin_param "-n ${OSDTELETEXT_SIZE}"
+
+ if [ "${OSDTELETEXT_STORETOPTEXT}" = "yes" ]; then
+ add_plugin_param "-t"
+ fi
+
+ if [ "${OSDTELETEXT_TMPFS}" = "yes" ]; then
+ ## test on mountet TMPFS
+ if /bin/mount | /bin/grep -q ${OSDTELETEXT_DIR} ; then
+ :
+ else
+ einfo_level2 mounting videotext dir ${OSDTELETEXT_DIR}
+ sudo /bin/mount -t tmpfs -o size=${OSDTELETEXT_SIZE}m,uid=vdr,gid=vdr tmpfs ${OSDTELETEXT_DIR}
+ fi
+ fi
+}
+
+plugin_post_vdr_stop() {
+ if [ "${OSDTELETEXT_TMPFS}" = "yes" ]; then
+ if /bin/mount | /bin/grep -q ${OSDTELETEXT_DIR} ; then
+ einfo_level2 unmounting videotext dir ${OSDTELETEXT_DIR}
+ sudo /bin/umount ${OSDTELETEXT_DIR}
+ fi
+ fi
+}
diff --git a/media-plugins/vdr-osdteletext/files/vdr-osdteletext.sudo b/media-plugins/vdr-osdteletext/files/vdr-osdteletext.sudo
new file mode 100644
index 000000000000..87a80946cb43
--- /dev/null
+++ b/media-plugins/vdr-osdteletext/files/vdr-osdteletext.sudo
@@ -0,0 +1 @@
+vdr ALL=NOPASSWD:/bin/mount, /bin/umount
diff --git a/media-plugins/vdr-osdteletext/metadata.xml b/media-plugins/vdr-osdteletext/metadata.xml
new file mode 100644
index 000000000000..fd3c9ce9ec5a
--- /dev/null
+++ b/media-plugins/vdr-osdteletext/metadata.xml
@@ -0,0 +1,13 @@
+<?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>
+ <description>Please contacts maintainer before you change something.</description>
+ </maintainer>
+ <longdescription>
+ VDR Plugin to show videotext on OSD
+ </longdescription>
+</pkgmetadata>
diff --git a/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.4-r1.ebuild b/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.4-r1.ebuild
new file mode 100644
index 000000000000..7c83df6a0611
--- /dev/null
+++ b/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.4-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit vdr-plugin-2
+
+VERSION="1282" # every bump, new version
+
+DESCRIPTION="VDR Plugin: Osd-Teletext displays the teletext on the OSD"
+HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-osdteletext"
+SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.7.39"
+RDEPEND="${DEPEND}"
+
+VDR_RCADDON_FILE="${FILESDIR}/rc-addon-v3.sh"
+VDR_CONFD_FILE="${FILESDIR}/confd-v2"
+
+src_install() {
+ vdr-plugin-2_src_install
+
+ insinto /etc/sudoers.d
+ insopts -m440
+ newins "${FILESDIR}/vdr-osdteletext.sudo" vdr-osdteletext
+}
diff --git a/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.5.ebuild b/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.5.ebuild
new file mode 100644
index 000000000000..c6110202167c
--- /dev/null
+++ b/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.5.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit vdr-plugin-2
+
+VERSION="1881" # every bump, new version
+
+DESCRIPTION="VDR Plugin: Osd-Teletext displays the teletext on the OSD"
+HOMEPAGE="http://projects.vdr-developer.org/projects/show/plg-osdteletext"
+SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.7.39"
+RDEPEND="${DEPEND}"
+
+VDR_RCADDON_FILE="${FILESDIR}/rc-addon-v3.sh"
+VDR_CONFD_FILE="${FILESDIR}/confd-v2"
+
+src_install() {
+ vdr-plugin-2_src_install
+
+ insinto /etc/sudoers.d
+ insopts -m440
+ newins "${FILESDIR}/vdr-osdteletext.sudo" vdr-osdteletext
+}