summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-08-19 11:42:06 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-08-19 11:42:06 +0000
commit6f2f7e317ea4c21207c459892e9e77d1609e8b1b (patch)
tree86c4de0d86b854ba69d38930acc3bee727d84234 /media-plugins/vdr-pvr350
parentmove www-misc/libapreq2 to www-apache/libapreq2 (diff)
downloadgentoo-2-6f2f7e317ea4c21207c459892e9e77d1609e8b1b.tar.gz
gentoo-2-6f2f7e317ea4c21207c459892e9e77d1609e8b1b.tar.bz2
gentoo-2-6f2f7e317ea4c21207c459892e9e77d1609e8b1b.zip
Version bumped.
(Portage version: 2.1.3.6)
Diffstat (limited to 'media-plugins/vdr-pvr350')
-rw-r--r--media-plugins/vdr-pvr350/ChangeLog8
-rw-r--r--media-plugins/vdr-pvr350/files/digest-vdr-pvr350-0.0.4.200708073
-rw-r--r--media-plugins/vdr-pvr350/files/pvr-linux-headers.diff25
-rw-r--r--media-plugins/vdr-pvr350/vdr-pvr350-0.0.4.20070807.ebuild43
4 files changed, 78 insertions, 1 deletions
diff --git a/media-plugins/vdr-pvr350/ChangeLog b/media-plugins/vdr-pvr350/ChangeLog
index f4d583b8d971..942a3509a8fb 100644
--- a/media-plugins/vdr-pvr350/ChangeLog
+++ b/media-plugins/vdr-pvr350/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/vdr-pvr350
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-pvr350/ChangeLog,v 1.7 2007/01/05 16:42:55 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-pvr350/ChangeLog,v 1.8 2007/08/19 11:42:06 zzam Exp $
+
+*vdr-pvr350-0.0.4.20070807 (19 Aug 2007)
+
+ 19 Aug 2007; Matthias Schwarzott <zzam@gentoo.org>
+ +files/pvr-linux-headers.diff, +vdr-pvr350-0.0.4.20070807.ebuild:
+ Version bumped.
05 Jan 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
vdr-pvr350-0.0.4_pre1.ebuild:
diff --git a/media-plugins/vdr-pvr350/files/digest-vdr-pvr350-0.0.4.20070807 b/media-plugins/vdr-pvr350/files/digest-vdr-pvr350-0.0.4.20070807
new file mode 100644
index 000000000000..c9072ea02a60
--- /dev/null
+++ b/media-plugins/vdr-pvr350/files/digest-vdr-pvr350-0.0.4.20070807
@@ -0,0 +1,3 @@
+MD5 97710aae3210111bca0ff2bfc89d1fbd pvr350-2007-08-07.tgz 30039
+RMD160 7768daa941b714b0e274b8e12468bb5144f0a0f6 pvr350-2007-08-07.tgz 30039
+SHA256 53a906111dbb7b9d985c47199a8143e40e27038c6934705565e997613c621a5c pvr350-2007-08-07.tgz 30039
diff --git a/media-plugins/vdr-pvr350/files/pvr-linux-headers.diff b/media-plugins/vdr-pvr350/files/pvr-linux-headers.diff
new file mode 100644
index 000000000000..93d6eb834fd9
--- /dev/null
+++ b/media-plugins/vdr-pvr350/files/pvr-linux-headers.diff
@@ -0,0 +1,25 @@
+Index: pvr350-2007-08-07/pvr350ivtv.h
+===================================================================
+--- pvr350-2007-08-07.orig/pvr350ivtv.h
++++ pvr350-2007-08-07/pvr350ivtv.h
+@@ -22,7 +22,6 @@
+
+ #ifndef _PVR350_IVTV_H
+ #define _PVR350_IVTV_H
+-#include <linux/i2c-id.h>
+ #ifndef __KERNEL__
+ #define __user
+ #endif
+Index: pvr350-2007-08-07/video.h
+===================================================================
+--- pvr350-2007-08-07.orig/video.h
++++ pvr350-2007-08-07/video.h
+@@ -24,8 +24,6 @@
+ #ifndef _DVBVIDEO_H_
+ #define _DVBVIDEO_H_
+
+-#include <linux/compiler.h>
+-
+ #ifdef __KERNEL__
+ #include <linux/types.h>
+ #else
diff --git a/media-plugins/vdr-pvr350/vdr-pvr350-0.0.4.20070807.ebuild b/media-plugins/vdr-pvr350/vdr-pvr350-0.0.4.20070807.ebuild
new file mode 100644
index 000000000000..f6d64943dd04
--- /dev/null
+++ b/media-plugins/vdr-pvr350/vdr-pvr350-0.0.4.20070807.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 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.20070807.ebuild,v 1.1 2007/08/19 11:42:06 zzam Exp $
+inherit vdr-plugin eutils versionator
+
+IUSE="yaepg"
+
+MY_PV="$(get_version_component_range 4)"
+MY_PV="${MY_PV:0:4}-${MY_PV:4:2}-${MY_PV:6:2}"
+MY_P="${PN#vdr-}-${MY_PV}"
+
+DESCRIPTION="VDR plugin: use a PVR350 as output device"
+HOMEPAGE="http://drseltsam.device.name/vdr/pvr/src/pvr350/"
+SRC_URI="http://drseltsam.device.name/vdr/pvr/src/pvr350/${MY_P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+S="${WORKDIR}/${MY_P#vdr-}"
+
+DEPEND=">=media-video/vdr-1.4.0
+ media-sound/twolame"
+RDEPEND="${DEPEND}"
+
+DEPEND="${DEPEND}
+ || ( >=sys-kernel/linux-headers-2.6.22-r2 media-tv/ivtv )"
+
+NO_GETTEXT_HACK=1
+
+PATCHES="${FILESDIR}/pvr-linux-headers.diff"
+
+pkg_setup() {
+ vdr-plugin_pkg_setup
+
+ if use yaepg; then
+ elog "Checking for patched vdr"
+ grep -q fontYaepg /usr/include/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
+}
+