Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-tv/ivtv-utils: ChangeLog ivtv-utils-1.4.0-r2.ebuild ivtv-utils-1.3.0-r2.ebuild ivtv-utils-1.4.0-r1.ebuild ivtv-utils-1.3.0-r1.ebuild
Date: Fri, 05 Nov 2010 22:45:08
Message-Id: 20101105222047.1A3DE20051@flycatcher.gentoo.org
1 ssuominen 10/11/05 22:20:47
2
3 Modified: ChangeLog
4 Added: ivtv-utils-1.4.0-r2.ebuild
5 Removed: ivtv-utils-1.3.0-r2.ebuild
6 ivtv-utils-1.4.0-r1.ebuild
7 ivtv-utils-1.3.0-r1.ebuild
8 Log:
9 ivtv-ctl was moved to media-tv/v4l-utils wrt #333291
10
11 (Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
12
13 Revision Changes Path
14 1.11 media-tv/ivtv-utils/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/ivtv-utils/ChangeLog?rev=1.11&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/ivtv-utils/ChangeLog?rev=1.11&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/ivtv-utils/ChangeLog?r1=1.10&r2=1.11
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/media-tv/ivtv-utils/ChangeLog,v
23 retrieving revision 1.10
24 retrieving revision 1.11
25 diff -u -r1.10 -r1.11
26 --- ChangeLog 29 Jun 2010 19:32:00 -0000 1.10
27 +++ ChangeLog 5 Nov 2010 22:20:46 -0000 1.11
28 @@ -1,6 +1,12 @@
29 # ChangeLog for media-tv/ivtv-utils
30 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv-utils/ChangeLog,v 1.10 2010/06/29 19:32:00 xarthisius Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv-utils/ChangeLog,v 1.11 2010/11/05 22:20:46 ssuominen Exp $
33 +
34 +*ivtv-utils-1.4.0-r2 (05 Nov 2010)
35 +
36 + 05 Nov 2010; Samuli Suominen <ssuominen@g.o>
37 + +ivtv-utils-1.4.0-r2.ebuild, files/ivtv-utils-1.4.0-gentoo.patch:
38 + ivtv-ctl was moved to media-tv/v4l-utils wrt #333291
39
40 29 Jun 2010; Kacper Kowalik <xarthisius@g.o>
41 ivtv-utils-1.4.0-r1.ebuild, +files/ivtv-utils-1.4.0-gentoo.patch:
42
43
44
45 1.1 media-tv/ivtv-utils/ivtv-utils-1.4.0-r2.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/ivtv-utils/ivtv-utils-1.4.0-r2.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/ivtv-utils/ivtv-utils-1.4.0-r2.ebuild?rev=1.1&content-type=text/plain
49
50 Index: ivtv-utils-1.4.0-r2.ebuild
51 ===================================================================
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv-utils/ivtv-utils-1.4.0-r2.ebuild,v 1.1 2010/11/05 22:20:46 ssuominen Exp $
55
56 EAPI=2
57
58 inherit eutils linux-mod linux-info toolchain-funcs
59
60 DESCRIPTION="IVTV utilities for Hauppauge PVR PCI cards"
61 HOMEPAGE="http://www.ivtvdriver.org"
62 SRC_URI="http://dl.ivtvdriver.org/ivtv/archive/1.4.x/${P}.tar.gz"
63 SLOT="0"
64 LICENSE="GPL-2"
65 KEYWORDS="~amd64 ~ppc ~x86"
66 IUSE="perl"
67 RDEPEND=">=sys-fs/udev-103
68 media-tv/v4l-utils"
69 DEPEND="app-arch/unzip
70 >=sys-kernel/linux-headers-2.6.29
71 !media-tv/ivtv"
72 PDEPEND=">=media-tv/ivtv-firmware-20070217
73 perl? (
74 dev-perl/Video-Frequencies
75 dev-perl/Video-ivtv
76 dev-perl/Config-IniFiles
77 virtual/perl-Getopt-Long
78 dev-perl/perl-tk )"
79
80 pkg_setup() {
81 linux-info_pkg_setup
82
83 ### Commented out following line because it causes failure and because the module should already be in the kernel
84 # MODULE_NAMES="saa717x(extra:${S}/i2c-drivers)"
85 BUILD_TARGETS="all"
86 CONFIG_CHECK="~EXPERIMENTAL ~MODULES ~HAS_IOMEM ~FW_LOADER ~I2C ~I2C_ALGOBIT
87 ~VIDEO_DEV ~VIDEO_CAPTURE_DRIVERS ~VIDEO_V4L1 ~VIDEO_V4L2 ~VIDEO_IVTV"
88
89 if ! ( kernel_is ge 2 6 29 ); then
90 eerror "This package is only for the fully in-kernel"
91 eerror "IVTV driver shipping with kernel 2.6.29 or newer"
92 eerror ""
93 eerror "You will need to either:"
94 eerror "a) emerge a 2.6.29 or newer kernel"
95 eerror "b) emerge media-tv/ivtv or media-tv/ivtv-utils for"
96 eerror "your kernel"
97 eerror ""
98 eerror "See http://ivtvdriver.org/ for more information"
99 die "This only works on 2.6.29 or newer kernels"
100 fi
101
102 ewarn "Make sure that your I2C and V4L kernel drivers are loaded as"
103 ewarn "modules, and not compiled into the kernel, or IVTV will not"
104 ewarn "work."
105
106 linux-mod_pkg_setup
107
108 BUILD_PARAMS="KDIR=${KV_DIR}"
109 }
110
111 src_prepare() {
112 epatch "${FILESDIR}"/${P}-gentoo.patch
113 }
114
115 src_compile() {
116 tc-export CC CXX
117 emake || die
118 }
119
120 src_install() {
121 emake DESTDIR="${D}" PREFIX="/usr" install || die "failed to install"
122 dodoc README doc/* ChangeLog || die
123 if use perl; then
124 dobin utils/perl/*.pl || die
125 dodoc utils/perl/README.ptune || die
126 fi
127 }
128
129 pkg_postinst() {
130 linux-mod_pkg_postinst
131
132 elog ""
133 elog "This version of the IVTV utils supports hardware listed at:"
134 elog "http://www.ivtvdriver.org/index.php/Supported_hardware"
135 ewarn ""
136 ewarn "IMPORTANT: In case of problems first read the following:"
137 ewarn "http://www.ivtvdriver.org/index.php/Troubleshooting"
138 ewarn "/usr/share/doc/${PF}/README.*"
139 ewarn ""
140 ewarn " - Using MythTV, a PVR-350 and the ivtvfb module"
141 ewarn " - Using the ivtv X driver and the ivtvfb module"
142 ewarn " - You want to manually build ivtv against v4l-dvb"
143 ewarn ""
144 ewarn "Also, the ivtv package comes with lots of documentation regarding "
145 ewarn "setup, proper use and debugging utilities."
146 ewarn "They are also located in /usr/share/doc/${PF}/"
147 ewarn ""
148 elog "For more information, see the IVTV driver homepage at:"
149 elog "http://www.ivtvdriver.org/"
150 }