diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-plugins/vdr-osdteletext |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/vdr-osdteletext')
-rw-r--r-- | media-plugins/vdr-osdteletext/Manifest | 10 | ||||
-rw-r--r-- | media-plugins/vdr-osdteletext/files/confd-v2 | 37 | ||||
-rw-r--r-- | media-plugins/vdr-osdteletext/files/rc-addon-v3.sh | 48 | ||||
-rw-r--r-- | media-plugins/vdr-osdteletext/files/vdr-osdteletext.sudo | 1 | ||||
-rw-r--r-- | media-plugins/vdr-osdteletext/metadata.xml | 12 | ||||
-rw-r--r-- | media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.4-r1.ebuild | 31 | ||||
-rw-r--r-- | media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.5.ebuild | 31 |
7 files changed, 170 insertions, 0 deletions
diff --git a/media-plugins/vdr-osdteletext/Manifest b/media-plugins/vdr-osdteletext/Manifest new file mode 100644 index 000000000000..6db3e7f7d3d6 --- /dev/null +++ b/media-plugins/vdr-osdteletext/Manifest @@ -0,0 +1,10 @@ +AUX confd-v2 963 SHA256 27dc177dec616a874fd192c7380ab29c49c8cae0168d01f0376b5eb420e1d3c6 SHA512 9690245ea6e822c4bec6bf6b9223cf162b3ac1b3fb742de1488c74bfd287698a6d67622951d69ee0ede515e17a727a077ecf6f0eba9c3e46e9393309925484c6 WHIRLPOOL 47df743b2051d63deec4adfd3c2da0502e50b216577829840fbd99704d1cc17240529866b8f5e40a3182e059b8bc14992522fa9278e2f365ad01b5775d673208 +AUX rc-addon-v3.sh 1228 SHA256 9172c6630cadf526cdafe91a69e80cd465510d3bea75908825bb2f55497c5879 SHA512 ec139bda35653a186071a6199bf70ed5c667a6c6d76bf2e16ce142dc577eb3b8b3da8f716f06d2334af0bfed56fb27087d5b44752b19c4e2bc698cbab26c54f7 WHIRLPOOL 1951f5a8df2e731f15df4ce4be60b6a77b1909888f7e255dcc80d4a00022c28f1b8af40b00dca5cbe6f76e47a72105121c526b060cd942d602d8bf89346db683 +AUX vdr-osdteletext.sudo 41 SHA256 baa4760fb67919131303ced12cb0b8cc75672615cd2d42e571b1e82656307439 SHA512 bf67c332d86cc4d85c6e67a7d9d4fe8271dec1ca3a319bcb22c234278545120de99a97409c19c7f5e37d1f87e97a09306688ce868f385b502305c730bfa0263f WHIRLPOOL 3d5d3113edb6a02f0b92de9de6e250ba3464846afc81a174f78e68dcbed833fab5e36b3b133d3a1c3789db221bdc6e8ae47a8db0f26499ce4c6e4379e968494a +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 +EBUILD vdr-osdteletext-0.9.4-r1.ebuild 722 SHA256 3a634a6b175d958ef23a52f0522a8c35ad893cf8eac89960b7136ddc92aa8276 SHA512 e0a6afb65f6107d964d455d41f130f35164cad527414206bde60055674b943bb9ab2ae737829636cc5d3a1e143efa95c7c46cdba5ed8f2d37a28160dd02e952f WHIRLPOOL f329f0bc02406b352ad32136cf34579d23279c7267d84f5451078459f940ca59e57311eda2d279832fa1f7ec100d5a58eb568418e4dacf48a6165c729dc6e20a +EBUILD vdr-osdteletext-0.9.5.ebuild 724 SHA256 50b1edb7382177a3265532dd424b6dd9634a280948ce32e7a80ecd28b760f392 SHA512 c1837c221f3ddb142fc58b69d5a5b0de6e7b74e2cf7f157cb69b4332d8d925148878e107655d734a9d14e8666a1a7d31e3d9dd586f24784ca6059c6bb7feac28 WHIRLPOOL bccb823483d0550f752db387967282a6a6b0f716cb6b4edb25f0492daf0eaca0009b3d7e1093d48160b9080a6e60d3f48dc7c5d6a3582e493e3196c9a9a62c89 +MISC ChangeLog 2601 SHA256 b04354b7c1ec3d82e4f3500aac63032bc2d8e522754b9362c2fdabba2ae48926 SHA512 9dfa69864d7f510e4d1f417a178cb2b929c391db0c8407ad318bbdf19a97a0c993e376b99e844005c1d012f3d26682ff90b25d307fe9361ba57c3f5b1f12acbe WHIRLPOOL e75e6c12810d6eea4f657e2fee11797042ba2af277202a44e70daa557ecfe2f000d2c94c2f972476fa8e4ff45ceb3602630b2ebbf298bd260797f92b74ce3737 +MISC ChangeLog-2015 5523 SHA256 876653a8cace3d6763a8b5ae0065d91bab7d5990ccc4c60321f06cf3038c3f12 SHA512 74d764342016aa436222562c89dc4b481328bdd3d2f8d1ef463f8e5199f1906f2b880fb912ddb1114777941e1a926a7edc5f88a76370e6c26d9ab6d05b8357c1 WHIRLPOOL f5f7d11d82923b89d3ec58621aef1406cf97d243f5b66bdb886d675c8064c1156a4d421cc201b8029be9a733e6f62d44e61b927d4f41c401dcf76b7e29c6859c +MISC metadata.xml 420 SHA256 8e5a32195d757a00461a592fe15d20c10f96380deff1e44f85863012ae3848fc SHA512 0bbd9694bbd53681277bc2c43f15a48b83b5c6a8746e80a9d5dd2d034a3f07e989893e0861344b09e7c6ddf62359b46497241e56cb8e5cd94f0e8507ed69878f WHIRLPOOL e50fd92f4f9d4cba0438fe06a5ffba864263d47672848cc50cd778ca14617dcea883b507506f0197eeacbfd97774f0fdc0e2761fb01949f899960313d382daad diff --git a/media-plugins/vdr-osdteletext/files/confd-v2 b/media-plugins/vdr-osdteletext/files/confd-v2 new file mode 100644 index 000000000000..1cfe42c11bc0 --- /dev/null +++ b/media-plugins/vdr-osdteletext/files/confd-v2 @@ -0,0 +1,37 @@ +# /etc/conf.d/vdr.osdteletext + +# ################################################ +# +# 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..3dde26bec61c --- /dev/null +++ b/media-plugins/vdr-osdteletext/files/rc-addon-v3.sh @@ -0,0 +1,48 @@ +# +# 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..bf53265d5436 --- /dev/null +++ b/media-plugins/vdr-osdteletext/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <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..42afc668ae97 --- /dev/null +++ b/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.4-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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..074d772dbc75 --- /dev/null +++ b/media-plugins/vdr-osdteletext/vdr-osdteletext-0.9.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |