summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2010-12-03 14:37:51 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2010-12-03 14:37:51 +0000
commit50ec0e3979fc4df2f6509310c076a5e7c467d79e (patch)
tree87daddf42522037abae6db88c6b1d22493f25a92 /media-plugins/vdr-graphlcd
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-50ec0e3979fc4df2f6509310c076a5e7c467d79e.tar.gz
gentoo-2-50ec0e3979fc4df2f6509310c076a5e7c467d79e.tar.bz2
gentoo-2-50ec0e3979fc4df2f6509310c076a5e7c467d79e.zip
version bump; thx to M.Lange on bug #307689
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'media-plugins/vdr-graphlcd')
-rw-r--r--media-plugins/vdr-graphlcd/ChangeLog10
-rw-r--r--media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.8.ebuild94
2 files changed, 102 insertions, 2 deletions
diff --git a/media-plugins/vdr-graphlcd/ChangeLog b/media-plugins/vdr-graphlcd/ChangeLog
index 76f7e2456f7f..874a3a417f09 100644
--- a/media-plugins/vdr-graphlcd/ChangeLog
+++ b/media-plugins/vdr-graphlcd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/vdr-graphlcd
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphlcd/ChangeLog,v 1.19 2008/01/01 12:04:41 hd_brummy Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphlcd/ChangeLog,v 1.20 2010/12/03 14:37:51 hd_brummy Exp $
+
+*vdr-graphlcd-0.1.8 (03 Dec 2010)
+
+ 03 Dec 2010; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +vdr-graphlcd-0.1.8.ebuild:
+ version bump; thx to M.Lange on bug #307689
*vdr-graphlcd-0.1.5-r1 (01 Jan 2008)
diff --git a/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.8.ebuild b/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.8.ebuild
new file mode 100644
index 000000000000..5767d2ef6014
--- /dev/null
+++ b/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.8.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2010 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.8.ebuild,v 1.1 2010/12/03 14:37:51 hd_brummy Exp $
+
+EAPI="2"
+
+inherit eutils vdr-plugin
+
+DESCRIPTION="VDR Graphical LCD Plugin"
+HOMEPAGE="http://projects.vdr-developer.org/projects/graphlcd"
+SRC_URI="http://projects.vdr-developer.org/attachments/download/429/${P}.tgz"
+
+KEYWORDS="~x86 ~amd64"
+
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.6
+ >=app-misc/graphlcd-base-0.1.7"
+
+pkg_setup() {
+ vdr-plugin_pkg_setup
+
+ if ! getent group lp | grep -q vdr; then
+ echo
+ einfo "Add user 'vdr' to group 'lp' for full user access to parport device"
+ echo
+ elog "User vdr added to group lp"
+ gpasswd -a vdr lp
+ fi
+ if ! getent group usb | grep -q vdr; then
+ echo
+ einfo "Add user 'vdr' to group 'usb' for full user access to usb device"
+ echo
+ elog "User vdr added to group usb"
+ gpasswd -a vdr usb
+ fi
+}
+
+src_prepare() {
+ vdr-plugin_src_prepare
+
+ sed -i "s:/usr/local:/usr:" Makefile
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ insopts -m0644 -ovdr -gvdr
+
+ insinto /usr/share/vdr/${VDRPLUGIN}/logos
+ doins -r ${VDRPLUGIN}/logos/*
+
+ insinto /usr/share/vdr/${VDRPLUGIN}/fonts
+ doins ${VDRPLUGIN}/fonts/*.fnt
+
+ for font in /usr/share/fonts/corefonts/*.ttf; do
+ elog ${font}
+ dosym ${font} /usr/share/vdr/graphlcd/fonts
+ done
+
+ 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
+
+ dosym /etc/vdr/plugins/${VDRPLUGIN}/logonames.alias.1.3 /etc/vdr/plugins/${VDRPLUGIN}/logonames.alias
+}
+
+pkg_preinst() {
+
+ 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
+
+ elog "Remove wrong DIR in /etc/vdr/plugins/graphlcd from prior install"
+ elog "Press CTRL+C to abbort"
+ epause
+ rmdir -R /etc/vdrplugins/graphlcd/{fonts,logos}
+ fi
+}
+
+pkg_postinst() {
+ vdr-plugin_pkg_postinst
+
+ elog "Add additional options in /etc/conf.d/vdr.graphlcd"
+ elog
+ elog "Please copy or link one of the supplied fonts.conf.*"
+ elog "files in /etc/vdr/plugins/graphlcd/ to"
+ elog "/etc/vdr/plugins/graphlcd/fonts.conf"
+}