Gentoo Archives: gentoo-commits

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