Gentoo Archives: gentoo-commits

From: "Robert Buchholz (rbu)" <rbu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-tv/freevo: ChangeLog freevo-1.9.0.ebuild
Date: Mon, 02 Nov 2009 10:02:13
Message-Id: E1N4tjl-00045U-Co@stork.gentoo.org
1 rbu 09/11/02 10:02:09
2
3 Modified: ChangeLog
4 Added: freevo-1.9.0.ebuild
5 Log:
6 Version bump (#273091), fixes a numeric (#246202) and xset (#263336) dependency error. Thanks to arfrever.
7 (Portage version: 2.1.7.1/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.63 media-tv/freevo/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/freevo/ChangeLog?rev=1.63&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/freevo/ChangeLog?rev=1.63&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/freevo/ChangeLog?r1=1.62&r2=1.63
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-tv/freevo/ChangeLog,v
19 retrieving revision 1.62
20 retrieving revision 1.63
21 diff -u -r1.62 -r1.63
22 --- ChangeLog 8 Mar 2009 14:16:36 -0000 1.62
23 +++ ChangeLog 2 Nov 2009 10:02:08 -0000 1.63
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-tv/freevo
26 -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/ChangeLog,v 1.62 2009/03/08 14:16:36 betelgeuse Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/ChangeLog,v 1.63 2009/11/02 10:02:08 rbu Exp $
30 +
31 +*freevo-1.9.0 (02 Nov 2009)
32 +
33 + 02 Nov 2009; Robert Buchholz <rbu@g.o> +freevo-1.9.0.ebuild:
34 + Version bump (#273091), fixes a numeric (#246202) and xset (#263336)
35 + dependency error. Thanks to arfrever.
36
37 08 Mar 2009; Petteri Räty <betelgeuse@g.o> freevo-1.7.6.1.ebuild,
38 freevo-1.8.2.ebuild:
39
40
41
42 1.1 media-tv/freevo/freevo-1.9.0.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/freevo/freevo-1.9.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-tv/freevo/freevo-1.9.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: freevo-1.9.0.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/freevo-1.9.0.ebuild,v 1.1 2009/11/02 10:02:08 rbu Exp $
52
53 EAPI="2"
54
55 inherit distutils eutils
56
57 DESCRIPTION="Digital video jukebox (PVR, DVR)."
58 HOMEPAGE="http://www.freevo.org/"
59 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
60
61 IUSE="directfb cdparanoia doc dvd encode fbcon flac gphoto2 jpeg lame lirc matrox mixer nls snes sqlite tv tvtime vorbis xine xmame X"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64"
66
67 RDEPEND=">=dev-lang/python-2.5[xml]
68 dev-python/pygame
69 dev-python/imaging
70 dev-python/beautifulsoup
71 >=dev-python/twisted-2.5
72 >=dev-python/twisted-web-0.6
73 net-zope/zope-interface
74
75 >=dev-python/kaa-base-0.6.0
76 >=dev-python/kaa-metadata-0.7.3
77 >=dev-python/kaa-imlib2-0.2.3
78 dev-python/kaa-display
79
80 media-video/mplayer[directfb?,fbcon?]
81 >=media-libs/libsdl-1.2.5[directfb?,fbcon?]
82 media-libs/sdl-image[jpeg,png]
83 x11-apps/xset
84
85 cdparanoia? ( media-sound/cdparanoia )
86 dvd? (
87 >=media-video/lsdvd-0.10
88 directfb? ( media-libs/xine-lib[directfb] )
89 fbcon? ( media-libs/xine-lib[fbcon] )
90 encode? ( media-video/dvdbackup )
91 )
92 flac? ( media-libs/flac )
93 gphoto2? ( media-libs/libgphoto2 )
94 jpeg? ( media-libs/jpeg )
95 lame? ( media-sound/lame )
96 lirc? ( app-misc/lirc >=dev-python/pylirc-0.0.3 )
97 matrox? ( >=media-video/matroxset-0.3 )
98 mixer? ( media-sound/aumix )
99 snes? ( || ( games-emulation/zsnes games-emulation/snes9x ) )
100 sqlite? ( ~dev-python/pysqlite-1.0.1 )
101 tv? ( media-tv/xmltv
102 tvtime? ( media-tv/tvtime ) )
103 xine? ( media-video/xine-ui )
104 vorbis? ( media-sound/vorbis-tools )
105 xmame? ( games-emulation/xmame )"
106
107 pkg_setup() {
108 if ! { use X || use directfb || use fbcon || use matrox ; } ; then
109 echo
110 ewarn "WARNING - no video support specified in USE flags."
111 ewarn "Please be sure that media-libs/libsdl supports whatever video"
112 ewarn "support (X11, fbcon, directfb, etc) you plan on using."
113 echo
114 fi
115 }
116
117 src_install() {
118 distutils_src_install
119
120 insinto /etc/freevo
121 newins local_conf.py.example local_conf.py
122
123 if [ "${PROFILE_ARCH}" == "xbox" ]; then
124 sed -i -e "s/# MPLAYER_AO_DEV.*/MPLAYER_AO_DEV='alsa1x'/" "${D}"/etc/freevo/local_conf.py
125 newins "${FILESDIR}"/xbox-lircrc lircrc
126 fi
127
128 if use X; then
129 echo "#!/bin/bash" > freevo
130 echo "/usr/bin/freevoboot startx" >> freevo
131 exeinto /etc/X11/Sessions/
132 doexe freevo
133
134 #insinto /etc/X11/dm/Sessions
135 #doins "${FILESDIR}/freevo.desktop"
136
137 insinto /usr/share/xsessions
138 doins "${FILESDIR}/freevo.desktop"
139 fi
140
141 exeinto /usr/bin
142 newexe "${FILESDIR}"/${P}.boot freevoboot
143 newconfd "${FILESDIR}/freevo.conf" freevo
144
145 rm -rf "${D}/usr/share/doc"
146
147 dodoc ChangeLog FAQ RELEASE_NOTES README TODO \
148 Docs/{CREDITS,NOTES,*.txt,plugins/*.txt}
149 use doc &&
150 cp -r Docs/{installation,html,plugin_writing} "${D}/usr/share/doc/${PF}"
151
152 use nls || rm -rf "${D}"/usr/share/locale
153
154 # Create a default freevo setup
155 cd "${S}/src"
156 if [ "${PROFILE_ARCH}" == "xbox" ]; then
157 myconf="${myconf} --geometry=640x480 --display=x11"
158 elif use matrox && use directfb; then
159 myconf="${myconf} --geometry=768x576 --display=dfbmga"
160 elif use matrox ; then
161 myconf="${myconf} --geometry=768x576 --display=mga"
162 elif use directfb; then
163 myconf="${myconf} --geometry=768x576 --display=directfb"
164 elif use X ; then
165 myconf="${myconf} --geometry=800x600 --display=x11"
166 else
167 myconf="${myconf} --geometry=800x600 --display=fbdev"
168 fi
169 sed -i "s:/etc/freevo/freevo.conf:${D}/etc/freevo/freevo.conf:g" setup_freevo.py || die "Could not fix setup_freevo.py"
170 python setup_freevo.py ${myconf} || die "Could not create new freevo.conf"
171 }
172
173 pkg_postinst() {
174 echo
175 einfo "Please check /etc/freevo/freevo.conf and"
176 einfo "/etc/freevo/local_conf.py before starting Freevo."
177 einfo "To rebuild freevo.conf with different parameters,"
178 einfo "please run:"
179 einfo " # freevo setup"
180
181 ewarn "To update from existing installations, please run"
182 ewarn " # freevo convert_config /etc/freevo/local_conf.py -w"
183 ewarn "If you are using the recordserver, be sure to"
184 ewarn "read the RELEASE_NOTES in /usr/share/doc/${P}"
185
186 echo
187 einfo "To build a freevo-only system, please use the freevoboot"
188 einfo "wrapper to be run it as a user. It can be configured in /etc/conf.d/freevo"
189
190 if use X ; then
191 echo
192 ewarn "If you're using a Freevo-only system with X, you'll need"
193 ewarn "to setup the autologin (as user) and choose freevo as"
194 ewarn "default session. If you need to run recordserver/webserver"
195 ewarn "at boot, please use /etc/conf.d/freevo"
196 echo
197 ewarn "Should you decide to personalize your freevo.desktop"
198 ewarn "session, keep the definition for '/usr/bin/freevoboot startx'"
199 else
200 echo
201 ewarn "If you want Freevo to start automatically,you'll need"
202 ewarn "to follow instructions at :"
203 ewarn "http://doc.freevo.org/BootFreevo"
204 echo
205 ewarn "*NOTE: you can use mingetty or provide a login"
206 ewarn "program for getty to autologin as a user with limited privileges."
207 ewarn "A tutorial for getty is at:"
208 ewarn "http://ubuntuforums.org/showthread.php?t=152274"
209 fi
210
211 if [ -e "${ROOT}/etc/init.d/freevo" ] ; then
212 echo
213 ewarn "Please remove /etc/init.d/freevo as it is a security"
214 ewarn "threat. To set autostart read above."
215 fi
216
217 if [ -e "${ROOT}/opt/freevo" ] ; then
218 echo
219 ewarn "Please remove ${ROOT}/opt/freevo because it is no longer used."
220 fi
221 if [ -e "${ROOT}/etc/freevo/freevo_config.py" ] ; then
222 echo
223 ewarn "Please remove ${ROOT}/etc/freevo/freevo_config.py."
224 fi
225 if [ -e "${ROOT}/etc/init.d/freevo-record" ] ; then
226 echo
227 ewarn "Please remove ${ROOT}/etc/init.d/freevo-record"
228 fi
229 if [ -e "${ROOT}/etc/init.d/freevo-web" ] ; then
230 echo
231 ewarn "Please remove ${ROOT}/etc/init.d/freevo-web"
232 fi
233 }