summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-pvr350/vdr-pvr350-0.0.4_pre1.ebuild')
-rw-r--r--media-plugins/vdr-pvr350/vdr-pvr350-0.0.4_pre1.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/media-plugins/vdr-pvr350/vdr-pvr350-0.0.4_pre1.ebuild b/media-plugins/vdr-pvr350/vdr-pvr350-0.0.4_pre1.ebuild
new file mode 100644
index 000000000000..d35189643628
--- /dev/null
+++ b/media-plugins/vdr-pvr350/vdr-pvr350-0.0.4_pre1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-pvr350/vdr-pvr350-0.0.4_pre1.ebuild,v 1.1 2006/03/21 13:54:41 zzam Exp $
+inherit vdr-plugin
+
+IUSE="yaepg"
+
+MY_P=${PN}-${PV/_/}
+
+DESCRIPTION="VDR plugin: use a PVR350 as output device"
+HOMEPAGE="http://www.rst38.org.uk/vdr/pvr350"
+SRC_URI="http://www.rst38.org.uk/vdr/pvr350/${MY_P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+S=${WORKDIR}/${MY_P#vdr-}
+
+DEPEND=">=media-video/vdr-1.2.6
+ >=media-tv/ivtv-0.1.9-r4"
+
+pkg_setup() {
+ vdr-plugin_pkg_setup
+
+ if use yaepg; then
+ einfo "Checking for patched vdr"
+ grep -q fontYaepg ${VDR_INCLUDE_DIR}/vdr/font.h
+ eend $? "You need to emerge vdr with use-flag yaepg set!" || die "Unpatched vdr detected!"
+
+ VDRPLUGIN_MAKE_TARGET="all SET_VIDEO_WINDOW=1"
+ fi
+}
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ sed -e 's/-I$(LIBAVCODEC)//' -i Makefile
+}
+