Gentoo Archives: gentoo-commits

From: "Harald van Dijk (truedfx)" <truedfx@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-tv/ivtv-utils: ivtv-utils-1.3.0-r1.ebuild ChangeLog ivtv-utils-1.3.0.ebuild
Date: Wed, 28 Jan 2009 20:51:58
Message-Id: E1LSHO8-00082O-Vj@stork.gentoo.org
1 truedfx 09/01/28 20:51:56
2
3 Modified: ChangeLog ivtv-utils-1.3.0.ebuild
4 Added: ivtv-utils-1.3.0-r1.ebuild
5 Log:
6 Don't install files already provided by linux-headers-2.6.27 (#244584)
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 media-tv/ivtv-utils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/ivtv-utils/ChangeLog?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/ivtv-utils/ChangeLog?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/ivtv-utils/ChangeLog?r1=1.2&r2=1.3
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-tv/ivtv-utils/ChangeLog,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- ChangeLog 12 Dec 2008 04:58:49 -0000 1.2
23 +++ ChangeLog 28 Jan 2009 20:51:56 -0000 1.3
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-tv/ivtv-utils
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv-utils/ChangeLog,v 1.2 2008/12/12 04:58:49 beandog Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv-utils/ChangeLog,v 1.3 2009/01/28 20:51:56 truedfx Exp $
30 +
31 +*ivtv-utils-1.3.0-r1 (28 Jan 2009)
32 +
33 + 28 Jan 2009; Harald van Dijk <truedfx@g.o>
34 + +files/ivtv-utils-1.3.0-2.6.27.patch, ivtv-utils-1.3.0.ebuild,
35 + +ivtv-utils-1.3.0-r1.ebuild:
36 + Don't install files already provided by linux-headers-2.6.27 (#244584)
37
38 12 Dec 2008; Steve Dibb <beandog@g.o> ivtv-utils-1.3.0.ebuild:
39 Add blocker for media-tv/ivtv
40
41
42
43 1.3 media-tv/ivtv-utils/ivtv-utils-1.3.0.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/ivtv-utils/ivtv-utils-1.3.0.ebuild?rev=1.3&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/ivtv-utils/ivtv-utils-1.3.0.ebuild?rev=1.3&content-type=text/plain
47 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/ivtv-utils/ivtv-utils-1.3.0.ebuild?r1=1.2&r2=1.3
48
49 Index: ivtv-utils-1.3.0.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/media-tv/ivtv-utils/ivtv-utils-1.3.0.ebuild,v
52 retrieving revision 1.2
53 retrieving revision 1.3
54 diff -u -r1.2 -r1.3
55 --- ivtv-utils-1.3.0.ebuild 12 Dec 2008 04:58:49 -0000 1.2
56 +++ ivtv-utils-1.3.0.ebuild 28 Jan 2009 20:51:56 -0000 1.3
57 @@ -1,6 +1,6 @@
58 -# Copyright 1999-2008 Gentoo Foundation
59 +# Copyright 1999-2009 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 -# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv-utils/ivtv-utils-1.3.0.ebuild,v 1.2 2008/12/12 04:58:49 beandog Exp $
62 +# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv-utils/ivtv-utils-1.3.0.ebuild,v 1.3 2009/01/28 20:51:56 truedfx Exp $
63
64 inherit eutils linux-mod
65
66 @@ -11,7 +11,8 @@
67 LICENSE="GPL-2"
68 KEYWORDS="~amd64 ~ppc ~x86"
69 IUSE="perl"
70 -RDEPEND=">=sys-fs/udev-103"
71 +RDEPEND=">=sys-fs/udev-103
72 + !>=sys-kernel/linux-headers-2.6.27"
73 DEPEND="app-arch/unzip
74 !media-tv/ivtv"
75 PDEPEND=">=media-tv/ivtv-firmware-20070217
76
77
78
79 1.1 media-tv/ivtv-utils/ivtv-utils-1.3.0-r1.ebuild
80
81 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/ivtv-utils/ivtv-utils-1.3.0-r1.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/ivtv-utils/ivtv-utils-1.3.0-r1.ebuild?rev=1.1&content-type=text/plain
83
84 Index: ivtv-utils-1.3.0-r1.ebuild
85 ===================================================================
86 # Copyright 1999-2009 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv-utils/ivtv-utils-1.3.0-r1.ebuild,v 1.1 2009/01/28 20:51:56 truedfx Exp $
89
90 inherit eutils linux-mod
91
92 DESCRIPTION="ivtv driver for Hauppauge PVR PCI cards"
93 HOMEPAGE="http://www.ivtvdriver.org"
94 SRC_URI="http://dl.ivtvdriver.org/ivtv/archive/1.3.x/${P}.tar.gz"
95 SLOT="0"
96 LICENSE="GPL-2"
97 KEYWORDS="~amd64 ~ppc ~x86"
98 IUSE="perl"
99 RDEPEND=">=sys-fs/udev-103"
100 DEPEND="app-arch/unzip
101 >=sys-kernel/linux-headers-2.6.27
102 !media-tv/ivtv"
103 PDEPEND=">=media-tv/ivtv-firmware-20070217
104 perl? (
105 dev-perl/Video-Frequencies
106 dev-perl/Video-ivtv
107 dev-perl/Config-IniFiles
108 virtual/perl-Getopt-Long
109 dev-perl/perl-tk )"
110
111 pkg_setup() {
112
113 MODULE_NAMES="saa717x(extra:${S}/i2c-drivers)"
114 BUILD_TARGETS="all"
115 CONFIG_CHECK="EXPERIMENTAL KMOD HAS_IOMEM FW_LOADER I2C I2C_ALGOBIT
116 VIDEO_DEV VIDEO_CAPTURE_DRIVERS VIDEO_V4L1 VIDEO_V4L2
117 !VIDEO_HELPER_CHIPS_AUTO VIDEO_IVTV"
118
119 if ! ( kernel_is ge 2 6 26 ); then
120 eerror "This package is only for the fully in-kernel"
121 eerror "IVTV driver shipping with kernel 2.6.26 and higher"
122 eerror ""
123 eerror "You will need to either:"
124 eerror "a) emerge a different kernel"
125 eerror "b) emerge ivtv"
126 eerror ""
127 eerror "See http://ivtvdriver.org/ for more information"
128 die "This only works on 2.6.26 and newer kernels"
129 fi
130
131 ewarn ""
132 ewarn "Make sure that your I2C and V4L kernel drivers are loaded as"
133 ewarn "modules, and not compiled into the kernel, or IVTV will not"
134 ewarn "work."
135 ewarn ""
136
137 linux-mod_pkg_setup
138
139 BUILD_PARAMS="KDIR=${KV_DIR}"
140 }
141
142 src_unpack() {
143 unpack ${A}
144 cd "${S}"
145 epatch "${FILESDIR}"/${P}-2.6.27.patch
146 }
147
148 src_compile() {
149 emake || die "failed to build"
150 }
151
152 src_install() {
153 make DESTDIR="${D}" PREFIX="/usr" install || die "failed to install"
154 use perl && dobin utils/perl/*.pl
155
156 cd "${S}"
157 dodoc README doc/* ChangeLog
158 use perl && dodoc utils/perl/README.ptune
159 }
160
161 pkg_postinst() {
162 elog ""
163 elog "This version of the IVTV utils supports the following hardware:"
164 elog "Hauppauge WinTV PVR-250"
165 elog "Hauppauge WinTV PVR-350"
166 elog "Hauppauge WinTV PVR-150"
167 elog "Hauppauge WinTV PVR-500"
168 elog "AVerMedia M179"
169 elog "Yuan MPG600/Kuroutoshikou iTVC16-STVLP"
170 elog "Yuan MPG160/Kuroutoshikou iTVC15-STVLP"
171 elog "Yuan PG600/DiamondMM PVR-550 (CX Falcon 2)"
172 elog "Adaptec AVC-2410"
173 elog "Adaptec AVC-2010"
174 elog "Nagase Transgear 5000TV"
175 elog "AOpen VA2000MAX-STN6"
176 elog "Yuan MPG600GR/Kuroutoshikou CX23416GYC-STVLP"
177 elog "I/O Data GV-MVP/RX"
178 elog "I/O Data GV-MVP/RX2E"
179 elog "Gotview PCI DVD (preliminary support only)"
180 elog "Gotview PCI DVD2 Deluxe"
181 elog "Yuan MPC622"
182 elog ""
183 ewarn ""
184 ewarn "IMPORTANT: In case of problems first read this page:"
185 ewarn "http://www.ivtvdriver.org/index.php/Troubleshooting"
186 ewarn ""
187 ewarn "If any of these conditions match your setup, you may want to look at the"
188 ewarn "README in /usr/share/doc/${PF}/"
189 ewarn ""
190 ewarn " - Using MythTV, a PVR-350 and the ivtvfb module"
191 ewarn " - Using the ivtv X driver and the ivtvfb module"
192 ewarn " - You want to manually build ivtv against v4l-dvb"
193 ewarn ""
194 ewarn "Also, the ivtv package comes with lots of documentation regarding setup,"
195 ewarn "proper use and debugging utilities."
196 ewarn "They are also located in /usr/share/doc/${PF}/"
197 ewarn ""
198 ewarn "For more information, see the IVTV driver homepage at:"
199 ewarn "http://www.ivtvdriver.org/"
200 }