diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-07-02 08:41:06 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-07-02 08:41:06 +0000 |
commit | 04bc2ab828b0853f4fde7f920345f847743b3555 (patch) | |
tree | cf808b0388cc77bc4f8729b808cc2816c832f608 /media-plugins/vdr-yaepg/vdr-yaepg-0.0.2.1-r1.ebuild | |
parent | Remove emacs herd from metadata. (diff) | |
download | historical-04bc2ab828b0853f4fde7f920345f847743b3555.tar.gz historical-04bc2ab828b0853f4fde7f920345f847743b3555.tar.bz2 historical-04bc2ab828b0853f4fde7f920345f847743b3555.zip |
Changed check for yaepg patched vdr. Added uint64 and vdr-1.5.3 patch.
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'media-plugins/vdr-yaepg/vdr-yaepg-0.0.2.1-r1.ebuild')
-rw-r--r-- | media-plugins/vdr-yaepg/vdr-yaepg-0.0.2.1-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/media-plugins/vdr-yaepg/vdr-yaepg-0.0.2.1-r1.ebuild b/media-plugins/vdr-yaepg/vdr-yaepg-0.0.2.1-r1.ebuild new file mode 100644 index 000000000000..53bfe30a147e --- /dev/null +++ b/media-plugins/vdr-yaepg/vdr-yaepg-0.0.2.1-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-yaepg/vdr-yaepg-0.0.2.1-r1.ebuild,v 1.1 2007/07/02 08:41:06 zzam Exp $ + +inherit vdr-plugin eutils + + +MY_P=${VDRPLUGIN}-${PV}-rev2 + +DESCRIPTION="Video Disk Recorder ${VDRPLUGIN} Plugin" +HOMEPAGE="http://www.hoochvdr.info/" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2 + mirror://gentoo/${MY_P}.patch" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.2.6" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + vdr-plugin_pkg_setup + + einfo "Checking driver" + grep -q OSD_OpenRaw /usr/include/linux/dvb/*.h + eend $? "You need to update your DVB-Driver!" || die "Too old DVB-Driver installed!" + + einfo "Checking for patched vdr" + grep -q "tArea vidWin" /usr/include/vdr/osd.h + eend $? "You need to emerge vdr with use-flag yaepg set!" || die "Unpatched vdr detected!" +} + +src_unpack() { + vdr-plugin_src_unpack + epatch "${DISTDIR}/${VDRPLUGIN}-${PV}-rev2.patch" + epatch "${FILESDIR}/${P}-uint64.diff" + + if has_version ">=media-video/vdr-1.5.3"; then + epatch "${FILESDIR}/${P}-vdr-1.5.3.diff" + fi +} + |