diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2014-02-23 19:57:46 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2014-02-23 19:57:46 +0000 |
commit | e41d9cf94266e1d096c9f747e9079598566e6e47 (patch) | |
tree | 3c7c5875d82c90ca3f927c61b16ed4092639f078 /media-plugins/vdr-graphlcd | |
parent | converted to vdr-plugin-2.eclass (diff) | |
download | gentoo-2-e41d9cf94266e1d096c9f747e9079598566e6e47.tar.gz gentoo-2-e41d9cf94266e1d096c9f747e9079598566e6e47.tar.bz2 gentoo-2-e41d9cf94266e1d096c9f747e9079598566e6e47.zip |
cleanup old, depended on vdr-plugin.eclass
(Portage version: 2.2.1/cvs/Linux i686, signed Manifest commit with key 34C2808A)
Diffstat (limited to 'media-plugins/vdr-graphlcd')
-rw-r--r-- | media-plugins/vdr-graphlcd/ChangeLog | 8 | ||||
-rw-r--r-- | media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.5.ebuild | 98 |
2 files changed, 6 insertions, 100 deletions
diff --git a/media-plugins/vdr-graphlcd/ChangeLog b/media-plugins/vdr-graphlcd/ChangeLog index 5a594d6f4146..3983a8c73465 100644 --- a/media-plugins/vdr-graphlcd/ChangeLog +++ b/media-plugins/vdr-graphlcd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/vdr-graphlcd -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphlcd/ChangeLog,v 1.25 2012/04/24 10:15:06 mgorny Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphlcd/ChangeLog,v 1.26 2014/02/23 19:57:45 hd_brummy Exp $ + + 23 Feb 2014; Joerg Bornkessel <hd_brummy@gentoo.org> + -vdr-graphlcd-0.1.5.ebuild: + cleanup old, depended on vdr-plugin.eclass 24 Apr 2012; Michał Górny <mgorny@gentoo.org> vdr-graphlcd-0.1.5.ebuild, vdr-graphlcd-0.1.9.ebuild: diff --git a/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.5.ebuild b/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.5.ebuild deleted file mode 100644 index 7dd3e39b9448..000000000000 --- a/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.5.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2012 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.5.ebuild,v 1.7 2012/04/24 10:15:06 mgorny Exp $ - -inherit eutils vdr-plugin - -VERSION="229" #every bump, new version! - -DESCRIPTION="VDR Graphical LCD Plugin" -HOMEPAGE="http://projects.vdr-developer.org/projects/graphlcd" -SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" - -KEYWORDS="x86 ~amd64" - -SLOT="0" -LICENSE="GPL-2" -IUSE="truetype" - -DEPEND=">=media-video/vdr-1.2.6 - >=app-misc/graphlcd-base-${PV}" - -PATCHES=("${FILESDIR}/${PV}/graphlcd-${PV}-span.diff" - "${FILESDIR}/${PV}/graphlcd-${PV}-radiotext-lcr-service.diff" - "${FILESDIR}/${PV}/${P}-missing-include.patch" - "${FILESDIR}/${PV}/graphlcd-${PV}_vdr-1.5.3.diff") - -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 -} - -src_unpack() { - vdr-plugin_src_unpack - - 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 - - if use truetype; then - for font in /usr/share/fonts/corefonts/*.ttf; do - elog ${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_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" -} |