diff options
author | Max Kalika <max@gentoo.org> | 2004-02-06 14:33:23 +0000 |
---|---|---|
committer | Max Kalika <max@gentoo.org> | 2004-02-06 14:33:23 +0000 |
commit | 1b0d1a32e7b78ee583a56bfbe019919c8a1f4f6b (patch) | |
tree | 1ec05517145f72416572beca07a3e34fe97a0d8d /media-tv/freevo | |
parent | Fix compilation aginst the new libpcap include files. (Manifest recommit) (diff) | |
download | gentoo-2-1b0d1a32e7b78ee583a56bfbe019919c8a1f4f6b.tar.gz gentoo-2-1b0d1a32e7b78ee583a56bfbe019919c8a1f4f6b.tar.bz2 gentoo-2-1b0d1a32e7b78ee583a56bfbe019919c8a1f4f6b.zip |
Bump to version 1.4.1.
Diffstat (limited to 'media-tv/freevo')
-rw-r--r-- | media-tv/freevo/ChangeLog | 9 | ||||
-rw-r--r-- | media-tv/freevo/files/digest-freevo-1.4.1 | 1 | ||||
-rw-r--r-- | media-tv/freevo/freevo-1.4.1.ebuild | 103 | ||||
-rw-r--r-- | media-tv/freevo/freevo-1.4.ebuild | 4 |
4 files changed, 113 insertions, 4 deletions
diff --git a/media-tv/freevo/ChangeLog b/media-tv/freevo/ChangeLog index 89a5258d33d7..aa31caf40b20 100644 --- a/media-tv/freevo/ChangeLog +++ b/media-tv/freevo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-tv/freevo -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/ChangeLog,v 1.11 2003/12/03 19:05:44 seemant Exp $ +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/ChangeLog,v 1.12 2004/02/06 14:33:23 max Exp $ + +*freevo-1.4.1 (06 Feb 2004) + + 06 Feb 2004; Max Kalika <max@gentoo.org> freevo-1.4.1.ebuild: + Bump to version 1.4.1. 03 Dec 2003; Seemant Kulleen <seemant@gentoo.org> freevo-1.4.ebuild: added nls IUSE -- remove /usr/share/locale stuff if nls is not in USE. Also, diff --git a/media-tv/freevo/files/digest-freevo-1.4.1 b/media-tv/freevo/files/digest-freevo-1.4.1 new file mode 100644 index 000000000000..1452ba6ce3d9 --- /dev/null +++ b/media-tv/freevo/files/digest-freevo-1.4.1 @@ -0,0 +1 @@ +MD5 c9c45fc0efc6fe39972f5324371792a4 freevo-1.4.1.tar.gz 3107468 diff --git a/media-tv/freevo/freevo-1.4.1.ebuild b/media-tv/freevo/freevo-1.4.1.ebuild new file mode 100644 index 000000000000..a9ca69e87396 --- /dev/null +++ b/media-tv/freevo/freevo-1.4.1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/freevo-1.4.1.ebuild,v 1.1 2004/02/06 14:33:23 max Exp $ + +inherit distutils + +IUSE="matrox dvd encode lirc X nls" + +DESCRIPTION="Digital video jukebox (PVR, DVR)." +HOMEPAGE="http://www.freevo.org/" +SRC_URI="mirror://sourceforge/${PN}/${P/_/}.tar.gz" +RESTRICT="nomirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="${DEPEND} + >=dev-python/pygame-1.5.6 + >=dev-python/Imaging-1.1.3 + >=dev-python/pyxml-0.8.2 + >=dev-python/twisted-1.0.7 + >=dev-python/mmpython-0.3 + >=media-video/mplayer-0.92 + >=media-libs/freetype-2.1.4 + >=media-libs/libsdl-1.2.5 + >=sys-apps/sed-4 + dvd? ( >=media-video/xine-ui-0.9.22 ) + encode? ( >=media-sound/cdparanoia-3.9.8 >=media-sound/lame-3.93.1 ) + matrox? ( >=media-video/matroxset-0.3 ) + lirc? ( app-misc/lirc >=dev-python/pylirc-0.0.3 ) + X? ( virtual/x11 )" + +S="${WORKDIR}/${P/_/}" + +src_compile() { + local myconf + + if [ "`/bin/ls -l /etc/localtime | grep Europe`" ] ; then + myconf="${myconf} --tv=pal" + fi + if [ "`use matrox`" ] ; then + myconf="${myconf} --geometry=768x576 --display=mga" + elif [ "`use X`" ] ; then + myconf="${myconf} --geometry=800x600 --display=x11" + else + myconf="${myconf} --geometry=800x600 --display=fbdev" + fi + + sed -e "s:/etc/freevo/freevo.conf:${T}/freevo.conf:" \ + -i "${S}/src/setup_freevo.py" || die "sed failed" + + "${S}/freevo" setup ${myconf} || die "configure problem" + + sed -e "s:${T}/freevo.conf:/etc/freevo/freevo.conf:" \ + -i "${S}/src/setup_freevo.py" || die "sed failed" +} + +src_install() { + distutils_src_install + + insinto /etc/freevo + doins "${T}/freevo.conf" + newins local_conf.py.example local_conf.py + + exeinto /etc/init.d + newexe "${FILESDIR}/freevo.rc6" freevo + insinto /etc/conf.d + newins "${FILESDIR}/freevo.conf" freevo + + rm -rf "${D}/usr/share/doc" + newdoc Docs/README README.docs + dodoc BUGS COPYING ChangeLog FAQ INSTALL PKG-INFO README TODO \ + Docs/{CREDITS,NOTES,plugins/*.txt} + cp -r Docs/{installation,plugin_writing} "${D}/usr/share/doc/${PF}" + + use nls || rm -rf ${D}/usr/share/locale +} + +pkg_postinst() { + einfo "If you want to schedule programs, emerge xmltv now." + echo + + einfo "Please check /etc/freevo/freevo.conf and" + einfo "/etc/freevo/local_conf.py before starting Freevo." + einfo "To rebuild freevo.conf with different parameters," + einfo "please run:" + einfo " freevo setup" + echo + + if [ -e "${ROOT}/opt/freevo" ] ; then + ewarn "Please remove ${ROOT}/opt/freevo because it is no longer used." + fi + if [ -e "${ROOT}/etc/freevo/freevo_config.py" ] ; then + ewarn "Please remove ${ROOT}/etc/freevo/freevo_config.py." + fi + if [ -e "${ROOT}/etc/init.d/freevo-record" ] ; then + ewarn "Please remove ${ROOT}/etc/init.d/freevo-record" + fi + if [ -e "${ROOT}/etc/init.d/freevo-web" ] ; then + ewarn "Please remove ${ROOT}/etc/init.d/freevo-web" + fi +} diff --git a/media-tv/freevo/freevo-1.4.ebuild b/media-tv/freevo/freevo-1.4.ebuild index e2fb1f957aef..ef19673d3511 100644 --- a/media-tv/freevo/freevo-1.4.ebuild +++ b/media-tv/freevo/freevo-1.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/freevo-1.4.ebuild,v 1.2 2003/12/03 19:05:44 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/freevo-1.4.ebuild,v 1.3 2004/02/06 14:33:23 max Exp $ inherit distutils |