diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2006-01-08 15:36:55 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2006-01-08 15:36:55 +0000 |
commit | 517eb61d007589565234035228e5967f77434d5c (patch) | |
tree | 04543d13c3633f9cfcd3108c651a3e25b2823bed /media-plugins | |
parent | Marked stable on x86 for bug #116310. (diff) | |
download | gentoo-2-517eb61d007589565234035228e5967f77434d5c.tar.gz gentoo-2-517eb61d007589565234035228e5967f77434d5c.tar.bz2 gentoo-2-517eb61d007589565234035228e5967f77434d5c.zip |
initial import; find older versions on gentoo.de CVS
(Portage version: 2.0.53)
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/vdr-graphlcd/ChangeLog | 10 | ||||
-rw-r--r-- | media-plugins/vdr-graphlcd/Manifest | 6 | ||||
-rw-r--r-- | media-plugins/vdr-graphlcd/files/confd | 22 | ||||
-rw-r--r-- | media-plugins/vdr-graphlcd/files/digest-vdr-graphlcd-0.1.2_pre6-r1 | 1 | ||||
-rw-r--r-- | media-plugins/vdr-graphlcd/files/rc-addon.sh | 17 | ||||
-rw-r--r-- | media-plugins/vdr-graphlcd/metadata.xml | 12 | ||||
-rw-r--r-- | media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.2_pre6-r1.ebuild | 90 |
7 files changed, 158 insertions, 0 deletions
diff --git a/media-plugins/vdr-graphlcd/ChangeLog b/media-plugins/vdr-graphlcd/ChangeLog new file mode 100644 index 000000000000..26bac261ee13 --- /dev/null +++ b/media-plugins/vdr-graphlcd/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-plugins/vdr-graphlcd +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphlcd/ChangeLog,v 1.1 2006/01/08 15:36:55 hd_brummy Exp $ + +*vdr-graphlcd-0.1.2_pre6-r1 (08 Jan 2006) + + 08 Jan 2006; Joerg Bornkessel <hd_brummy@gentoo.org> +files/confd, + +files/rc-addon.sh, +metadata.xml, +vdr-graphlcd-0.1.2_pre6-r1.ebuild: + initial import; find older versions on gentoo.de CVS + diff --git a/media-plugins/vdr-graphlcd/Manifest b/media-plugins/vdr-graphlcd/Manifest new file mode 100644 index 000000000000..5c8d4a8b2e8f --- /dev/null +++ b/media-plugins/vdr-graphlcd/Manifest @@ -0,0 +1,6 @@ +MD5 beea80ee4fef63fc25ce7a20c429b0b2 ChangeLog 368 +MD5 7c2d32097082d344113f8631f6aee9e5 files/confd 681 +MD5 c06ef00216c435d94502bd44c0cf7e51 files/digest-vdr-graphlcd-0.1.2_pre6-r1 72 +MD5 f4287cd04cc6db1ec6223e0daf500018 files/rc-addon.sh 448 +MD5 363fe851c7edc1284983ea5393b8c2a9 metadata.xml 403 +MD5 02c1cc5d9781170e1cf0deffd3de7aa1 vdr-graphlcd-0.1.2_pre6-r1.ebuild 2219 diff --git a/media-plugins/vdr-graphlcd/files/confd b/media-plugins/vdr-graphlcd/files/confd new file mode 100644 index 000000000000..520404a6fcde --- /dev/null +++ b/media-plugins/vdr-graphlcd/files/confd @@ -0,0 +1,22 @@ +# /etc/conf.d/vdr.graphlcd +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphlcd/files/confd,v 1.1 2006/01/08 15:36:55 hd_brummy Exp $ + +####### Global config for Graphlcd #################### +# +# set fine tuning for your Display +# in selected ${GRAPHLCD_DIR} +# + +# +# set the DIR of the graphlcd config file +# allowed values: directory names +# default: /etc/vdr/plugins/graphlcd/graphlcd.conf +#GRAPHLCD_DIR=/etc/vdr/plugins/graphlcd/graphlcd.conf + +# +# select driver for graphlcd display +# allowed values: framebuffer, gu140x32f, gu256x64-372, +# gu256x64C-3xx0, hd61830, image, ks0108, +# sed1520, sed1330, simlcd, t6963c +# default: t6963c +#GRAPHLCD_DISPLAY=t6963c diff --git a/media-plugins/vdr-graphlcd/files/digest-vdr-graphlcd-0.1.2_pre6-r1 b/media-plugins/vdr-graphlcd/files/digest-vdr-graphlcd-0.1.2_pre6-r1 new file mode 100644 index 000000000000..6f5a86db7c88 --- /dev/null +++ b/media-plugins/vdr-graphlcd/files/digest-vdr-graphlcd-0.1.2_pre6-r1 @@ -0,0 +1 @@ +MD5 358e8483887a3ee86f3282aaf0e56522 vdr-graphlcd-0.1.2-pre6.tgz 232345 diff --git a/media-plugins/vdr-graphlcd/files/rc-addon.sh b/media-plugins/vdr-graphlcd/files/rc-addon.sh new file mode 100644 index 000000000000..089283f9bc60 --- /dev/null +++ b/media-plugins/vdr-graphlcd/files/rc-addon.sh @@ -0,0 +1,17 @@ +# +# rc-addon-script for plugin osdteletext +# +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphlcd/files/rc-addon.sh,v 1.1 2006/01/08 15:36:55 hd_brummy Exp $ + +plugin_pre_vdr_start() { + : ${GRAPHLCD_DIR:=/etc/vdr/plugins/graphlcd/graphlcd.conf} + : ${GRAPHLCD_DISPLAY:=t6963c} + + add_plugin_param "-c ${GRAPHLCD_DIR}" + add_plugin_param "-d ${GRAPHLCD_DISPLAY}" +} + +# for compatibility +if [[ ${SCRIPT_API:-1} -lt 2 ]]; then + plugin_pre_vdr_start +fi diff --git a/media-plugins/vdr-graphlcd/metadata.xml b/media-plugins/vdr-graphlcd/metadata.xml new file mode 100644 index 000000000000..af346eb358c3 --- /dev/null +++ b/media-plugins/vdr-graphlcd/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>hd_brummy@gentoo.org</email> + <name>Joerg Bornkessel</name> + </maintainer> + <longdescription lang="en"> + This package provides vdrplugin to use a Graphical LCD. + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.2_pre6-r1.ebuild b/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.2_pre6-r1.ebuild new file mode 100644 index 000000000000..c521d46cf779 --- /dev/null +++ b/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.2_pre6-r1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.2_pre6-r1.ebuild,v 1.1 2006/01/08 15:36:55 hd_brummy Exp $ + +inherit eutils vdr-plugin + +MY_PV="${PV/_/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="VDR Graphical LCD PlugIn" +HOMEPAGE="http://www.powarman.de" +SRC_URI="http://home.arcor.de/andreas.regel/files/graphlcd/${MY_P}.tgz" + +KEYWORDS="~x86 ~amd64" +SLOT="0" +LICENSE="GPL-2" +IUSE="truetype" + +S=${WORKDIR}/${VDRPLUGIN}-${MY_PV} + +DEPEND=">=media-video/vdr-1.2.6 + >=graphlcd-base-${PV}" + + +src_unpack() { + + vdr-plugin_src_unpack + + cd ${S} + + sed -i "s:/usr/local:/usr:" Makefile +} + +src_install() { + + vdr-plugin_src_install + + insopts -m0644 -ovdr -gvideo + + insinto /usr/share/vdr/${VDRPLUGIN}/logos + doins -r ${VDRPLUGIN}/logos/* + + insinto /usr/share/vdr/${VDRPLUGIN}/fonts + doins ${VDRPLUGIN}/fonts/*.fnt + + if use truetype; then + for font in /usr/share/fonts/corefonts/*.ttf; do + einfo ${font} + dosym ${font} /usr/share/vdr/graphlcd/fonts + done + fi + + insinto /etc/vdr/plugins/${VDRPLUGIN} + doins ${VDRPLUGIN}/logonames.alias.* + doins ${VDRPLUGIN}/fonts.conf.* + + dosym /usr/share/vdr/${VDRPLUGIN}/fonts /etc/vdr/plugins/${VDRPLUGIN}/fonts + dosym /usr/share/vdr/${VDRPLUGIN}/logos /etc/vdr/plugins/${VDRPLUGIN}/logos + dosym /etc/graphlcd.conf /etc/vdr/plugins/${VDRPLUGIN}/graphlcd.conf + + if has_version ">=media-video/vdr-1.3.2" ; then + dosym /etc/vdr/plugins/${VDRPLUGIN}/logonames.alias.1.3 /etc/vdr/plugins/${VDRPLUGIN}/logonames.alias + else + dosym /etc/vdr/plugins/${VDRPLUGIN}/logonames.alias.1.2 /etc/vdr/plugins/${VDRPLUGIN}/logonames.alias + fi +} + +pkg_preinstall() { + + if [[ -e /etc/vdr/plugins/graphlcd/fonts ]] && [[ ! -L /etc/vdr/plugins/graphlcd/fonts ]] || + [[ -e /etc/vdr/plugins/graphlcd/logos ]] && [[ ! -L /etc/vdr/plugins/graphlcd/logos ]] ;then + + einfo "Remove wrong DIR in /etc/vdr/plugins/graphlcd from prior install" + einfo "Press CTRL+C to abbort" + epause + rmdir -R /etc/vdrplugins/graphlcd/{fonts,logos} + fi +} + +pkg_postinst() { + + vdr-plugin_pkg_postinst + + einfo "Add additional options in /etc/conf.d/vdr.graphlcd" + einfo + einfo "Please copy or link one of the supplied fonts.conf.*" + einfo "files in /etc/vdr/plugins/graphlcd/ to" + einfo "/etc/vdr/plugins/graphlcd/fonts.conf" +} + |