/[gentoo-x86]/media-tv/freevo/freevo-1.3.4.ebuild
Gentoo

Contents of /media-tv/freevo/freevo-1.3.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Nov 3 17:24:58 2003 UTC (17 years ago) by max
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Bump to version 1.4_rc2. At the request of developers, remove the old version.

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/media-tv/freevo/freevo-1.3.4.ebuild,v 1.2 2003/09/22 18:23:37 max Exp $
4
5 DESCRIPTION="Digital video jukebox (PVR, DVR)."
6 HOMEPAGE="http://www.freevo.org/"
7 SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.tgz"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="~x86"
12 IUSE="matrox dvd encode lirc X"
13
14 DEPEND=">=dev-python/pygame-1.5.5
15 >=dev-python/Imaging-1.1.3
16 >=dev-python/pyxml-0.8.1
17 >=dev-python/twisted-1.0.6
18 >=dev-python/mmpython-0.1
19 >=media-video/mplayer-0.90
20 >=media-libs/freetype-2.1.4
21 >=media-libs/libsdl-1.2.5
22 >=media-tv/xmltv-0.5.16
23 >=sys-apps/sed-4
24 dvd? ( >=media-video/xine-ui-0.9.22 )
25 encode? ( >=media-sound/cdparanoia-3.9.8 >=media-sound/lame-3.93.1 )
26 lirc? ( app-misc/lirc >=dev-python/pylirc-0.0.3 )
27 X? ( virtual/x11 )"
28
29 src_compile() {
30 local myconf
31
32 if [ "`/bin/ls -l /etc/localtime | grep Europe`" ] ; then
33 myconf="$myconf --tv=pal"
34 fi
35 if [ "`use matrox`" ] ; then
36 myconf="--geometry=768x576 --display=mga"
37 else
38 myconf="--geometry=800x600 --display=sdl"
39 fi
40 if [ ! "`use X`" ] ; then
41 sed -e 's:\(all.*\)freevo_xwin:\1:' -i Makefile
42 fi
43
44 emake || die "compile problem"
45 ./freevo setup ${myconf} || die "configure problem"
46 }
47
48 src_install() {
49 epatch "${FILESDIR}/freevo-setup.patch"
50 einstall PREFIX="${D}/opt/freevo" \
51 LOGDIR="${D}/var/log/freevo" \
52 CACHEDIR="${D}/var/cache/freevo"
53
54 insinto /etc/freevo
55 doins freevo.conf local_conf.py
56
57 exeinto /etc/init.d
58 newexe "${FILESDIR}/freevo-record.rc6" freevo-record
59 newexe "${FILESDIR}/freevo-web.rc6" freevo-web
60 if [ "`use matrox`" ] ; then
61 newexe "${FILESDIR}/freevo.rc6" freevo
62 fi
63
64 dohtml Docs/html/*
65 dodoc BUGS COPYING ChangeLog FAQ INSTALL README TODO VERSION Docs/{CREDITS,NOTES}
66 cp -r Docs/freevo_howto "${D}/usr/share/doc/${PF}/howto"
67
68 cd "${D}/opt/freevo"
69 rm -rf BUGS COPYING ChangeLog FAQ INSTALL README TODO VERSION Docs \
70 configure setup_build.py runtime freevo.conf local_conf.py \
71 *.c *.h Makefile fbcon/Makefile fbcon/vtrelease.c \
72 contrib boot WIP freevo_setup~ freevo~
73 }
74
75 pkg_postinst() {
76 einfo "Please check /etc/freevo/freevo.conf and"
77 einfo "/etc/freevo/local_conf.py before starting Freevo."
78 einfo "To rebuild freevo.conf with different parameters,"
79 einfo "please run /opt/freevo/freevo setup"
80 echo
81
82 if [ -e /etc/freevo/freevo_config.py ] ; then
83 ewarn "Please remove /etc/freevo/freevo_config.py"
84 fi
85 }

  ViewVC Help
Powered by ViewVC 1.1.20