Gentoo Archives: gentoo-commits

From: "Alex Legler (a3li)" <a3li@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-tv/tvtime: ChangeLog metadata.xml tvtime-1.0.2_p20110131.ebuild
Date: Sun, 29 May 2011 22:08:43
Message-Id: 20110529220834.0F0CC20057@flycatcher.gentoo.org
1 a3li 11/05/29 22:08:34
2
3 Modified: ChangeLog metadata.xml
4 Added: tvtime-1.0.2_p20110131.ebuild
5 Log:
6 Bump to 1.0.2_p20110131 from new upstream. Fixes building with linux-headers-2.6.38 and newer autoconf. Closes bug 359743 by Billy DeVincentis.
7
8 (Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.49 media-tv/tvtime/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/tvtime/ChangeLog?rev=1.49&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/tvtime/ChangeLog?rev=1.49&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/tvtime/ChangeLog?r1=1.48&r2=1.49
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-tv/tvtime/ChangeLog,v
20 retrieving revision 1.48
21 retrieving revision 1.49
22 diff -u -r1.48 -r1.49
23 --- ChangeLog 1 Dec 2010 05:10:42 -0000 1.48
24 +++ ChangeLog 29 May 2011 22:08:33 -0000 1.49
25 @@ -1,6 +1,16 @@
26 # ChangeLog for media-tv/tvtime
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-tv/tvtime/ChangeLog,v 1.48 2010/12/01 05:10:42 flameeyes Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-tv/tvtime/ChangeLog,v 1.49 2011/05/29 22:08:33 a3li Exp $
31 +
32 +*tvtime-1.0.2_p20110131 (29 May 2011)
33 +
34 + 29 May 2011; Alex Legler <a3li@g.o> +tvtime-1.0.2_p20110131.ebuild,
35 + +files/tvtime-1.0.2_p20110131-autotools.patch,
36 + +files/tvtime-1.0.2_p20110131-gettext.patch,
37 + +files/tvtime-1.0.2_p20110131-libsupc++.patch, metadata.xml:
38 + Bump to 1.0.2_p20110131 from new upstream. Fixes building with
39 + linux-headers-2.6.38 and newer autoconf. Closes bug 359743 by Billy
40 + DeVincentis.
41
42 01 Dec 2010; Diego E. Pettenò <flameeyes@g.o> tvtime-1.0.2-r2.ebuild,
43 +files/tvtime-1.0.2-autotools.patch:
44
45
46
47 1.4 media-tv/tvtime/metadata.xml
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/tvtime/metadata.xml?rev=1.4&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/tvtime/metadata.xml?rev=1.4&content-type=text/plain
51 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/tvtime/metadata.xml?r1=1.3&r2=1.4
52
53 Index: metadata.xml
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/media-tv/tvtime/metadata.xml,v
56 retrieving revision 1.3
57 retrieving revision 1.4
58 diff -u -r1.3 -r1.4
59 --- metadata.xml 11 Oct 2006 21:09:56 -0000 1.3
60 +++ metadata.xml 29 May 2011 22:08:33 -0000 1.4
61 @@ -1,5 +1,10 @@
62 <?xml version="1.0" encoding="UTF-8"?>
63 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
64 <pkgmetadata>
65 -<herd>media-tv</herd>
66 + <herd>media-tv</herd>
67 + <maintainer>
68 + <email>a3li@g.o</email>
69 + <name>Alex Legler</name>
70 + <description>Please CC on bugs</description>
71 + </maintainer>
72 </pkgmetadata>
73
74
75
76 1.1 media-tv/tvtime/tvtime-1.0.2_p20110131.ebuild
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/tvtime/tvtime-1.0.2_p20110131.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/tvtime/tvtime-1.0.2_p20110131.ebuild?rev=1.1&content-type=text/plain
80
81 Index: tvtime-1.0.2_p20110131.ebuild
82 ===================================================================
83 # Copyright 1999-2011 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/media-tv/tvtime/tvtime-1.0.2_p20110131.ebuild,v 1.1 2011/05/29 22:08:33 a3li Exp $
86
87 EAPI=4
88 inherit eutils autotools
89
90 TVTIME_HGREV="111b28cca42d"
91
92 DESCRIPTION="High quality television application for use with video capture cards"
93 HOMEPAGE="http://tvtime.sourceforge.net/"
94 SRC_URI="http://www.kernellabs.com/hg/~dheitmueller/tvtime/archive/${TVTIME_HGREV}.tar.bz2 -> ${P}.tar.bz2"
95
96 LICENSE="GPL-2"
97 SLOT="0"
98 KEYWORDS="~amd64 ~ppc ~x86"
99 IUSE="nls xinerama"
100
101 RDEPEND="x11-libs/libSM
102 x11-libs/libICE
103 x11-libs/libX11
104 x11-libs/libXext
105 x11-libs/libXv
106 x11-libs/libXxf86vm
107 xinerama? ( x11-libs/libXinerama )
108 x11-libs/libXtst
109 x11-libs/libXau
110 x11-libs/libXdmcp
111 >=media-libs/freetype-2
112 >=sys-libs/zlib-1.1.4
113 >=media-libs/libpng-1.2
114 >=dev-libs/libxml2-2.5.11
115 nls? ( virtual/libintl )"
116
117 DEPEND="${RDEPEND}
118 nls? ( sys-devel/gettext )
119 dev-util/pkgconfig"
120
121 S="${WORKDIR}/${PN}-${TVTIME_HGREV}"
122
123 src_prepare() {
124 # use 'tvtime' for the application icon see bug #66293
125 sed -i -e "s/tvtime.png/tvtime/" docs/net-tvtime.desktop
126
127 # patch to adapt to PIC or __PIC__ for pic support
128 epatch "${FILESDIR}"/${PN}-pic.patch #74227
129
130 epatch "${FILESDIR}/${PN}-1.0.2-xinerama.patch"
131
132 # Remove linux headers and patch to build with 2.6.18 headers
133 rm -f "${S}"/src/{videodev.h,videodev2.h}
134
135 epatch "${FILESDIR}/${P}-libsupc++.patch"
136
137 epatch "${FILESDIR}/${P}-autotools.patch"
138 epatch "${FILESDIR}/${P}-gettext.patch"
139
140 AT_M4DIR="m4" eautoreconf
141 }
142
143 src_configure() {
144 econf \
145 $(use_enable nls) \
146 $(use_with xinerama) || die "econf failed"
147 }
148
149 src_compile() {
150 emake || die "compile problem"
151 }
152
153 src_install() {
154 make DESTDIR="${D}" install || die "make install failed"
155
156 dohtml docs/html/*
157 dodoc ChangeLog AUTHORS NEWS README
158 }
159
160 pkg_postinst() {
161 elog "A default setup for ${PN} has been saved as"
162 elog "/etc/tvtime/tvtime.xml. You may need to modify it"
163 elog "for your needs."
164 elog
165 elog "Detailed information on ${PN} setup can be"
166 elog "found at ${HOMEPAGE}help.html"
167 echo
168 }