diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2011-01-28 23:11:47 +0000 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2011-01-28 23:11:47 +0000 |
commit | 5e34933e66fe642e726339238dd0b9d105002035 (patch) | |
tree | 169dd119e1d1c38c3b73ef3874673d6633f48249 /media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild | |
parent | Initial commit for vdr-imonlcd-0.0.5. (diff) | |
download | gentoo-2-5e34933e66fe642e726339238dd0b9d105002035.tar.gz gentoo-2-5e34933e66fe642e726339238dd0b9d105002035.tar.bz2 gentoo-2-5e34933e66fe642e726339238dd0b9d105002035.zip |
Fix mode/protocol switch.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild')
-rw-r--r-- | media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild b/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild new file mode 100644 index 000000000000..e23db24b75f8 --- /dev/null +++ b/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-imonlcd/vdr-imonlcd-0.0.5-r1.ebuild,v 1.1 2011/01/28 23:11:46 idl0r Exp $ + +EAPI=3 + +inherit linux-info vdr-plugin + +DESCRIPTION="Video Disc Recorder plugin that shows information about the current state +of VDR on iMON LCD" +HOMEPAGE="http://projects.vdr-developer.org/wiki/plg-imonlcd" +SRC_URI="http://projects.vdr-developer.org/attachments/download/408/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND="media-libs/freetype" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +CONFIG_CHECK="~IR_IMON" + +pkg_setup() { + linux-info_pkg_setup + vdr-plugin_pkg_setup +} + +src_prepare() { + vdr-plugin_src_prepare + + if ! use nls; then + sed -i -e 's/\(all: libvdr-$(PLUGIN).so\) i18n/\1/' Makefile || die + fi +} + +src_install() { + rm -f README.git + vdr-plugin_src_install + + insinto /etc/udev/rules.d + doins "${FILESDIR}/99-imonlcd.rules" || die +} |