diff options
author | Robert Buchholz <rbu@gentoo.org> | 2008-03-14 11:59:59 +0000 |
---|---|---|
committer | Robert Buchholz <rbu@gentoo.org> | 2008-03-14 11:59:59 +0000 |
commit | c549c7dad04de72656a598f997737e6861ac6b2a (patch) | |
tree | 2d823aedf6081f465d4d47b587d89db6a939c775 /media-tv | |
parent | amd64 stable (diff) | |
download | historical-c549c7dad04de72656a598f997737e6861ac6b2a.tar.gz historical-c549c7dad04de72656a598f997737e6861ac6b2a.tar.bz2 historical-c549c7dad04de72656a598f997737e6861ac6b2a.zip |
Version bump, for upstream changes see bug #203550.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/freevo/ChangeLog | 13 | ||||
-rw-r--r-- | media-tv/freevo/Manifest | 4 | ||||
-rw-r--r-- | media-tv/freevo/freevo-1.7.6.1.ebuild | 192 |
3 files changed, 206 insertions, 3 deletions
diff --git a/media-tv/freevo/ChangeLog b/media-tv/freevo/ChangeLog index 97557fb3b368..628be83ec548 100644 --- a/media-tv/freevo/ChangeLog +++ b/media-tv/freevo/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for media-tv/freevo -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/ChangeLog,v 1.55 2007/12/01 21:04:50 rbu Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/ChangeLog,v 1.56 2008/03/14 11:59:59 rbu Exp $ + +*freevo-1.7.6.1 (14 Mar 2008) + + 14 Mar 2008; Robert Buchholz <rbu@gentoo.org> +freevo-1.7.6.1.ebuild: + Version bump, for upstream changes see bug #203550. + + Introduce new gphoto2 use flag for the photo plugin, thanks to kroemmelbein + and alpiturchi. Do not install tvtime if USE=ivtv is set, thanks to George + Kibardin. QA improvements, thanks Donnie Berkholz for reviews. *freevo-1.7.4 (01 Dec 2007) diff --git a/media-tv/freevo/Manifest b/media-tv/freevo/Manifest index 60f5e0aac7e1..f2104963d266 100644 --- a/media-tv/freevo/Manifest +++ b/media-tv/freevo/Manifest @@ -7,9 +7,11 @@ DIST freevo-1.5.4.tar.gz 4425484 RMD160 a5538af486ce6926f57f40abd90a7f655137f225 DIST freevo-1.7.2.tar.gz 16225723 RMD160 e3d793eb55c8f14291a8c3d843b76181521d9b8f SHA1 8a7662ed7a9748b2b98ac4d691d209906b114bb6 SHA256 305a11be94cc354bc98ae56afefd7155df6fc533a2439d8daa05efe05c62a6aa DIST freevo-1.7.3.tar.gz 16314410 RMD160 113073026634006531083844b4c0bc238b8dcaef SHA1 747604065bf28870217088b52fa017801548e98f SHA256 c6810e99b39e776e77855c3a5e0a3aa68e6d71e03c3e38ad2f59cd5a761bd5f7 DIST freevo-1.7.4.tar.gz 20540153 RMD160 e5e2ce8fa9ac5b19bbfee01c446aa5eccd60f0b8 SHA1 73624a565c8c754c6ec14a5530c34f288b4c2a55 SHA256 5d377f4cb6ad29bc2b4fc8fe9501d055e9cd1b6b068fcf1d2928481bcba5b752 +DIST freevo-1.7.6.1.tar.gz 20856412 RMD160 a2151d64ee0a75c405a85d89ba1193c4ddaf3fe5 SHA1 b1867392796b7f8ce1caf980e9f2052290bb44e5 SHA256 1a0392a858ef428b3a511107322921eb9f45ad0ed02f7f05543486aafba0221e EBUILD freevo-1.5.4.ebuild 3126 RMD160 ec4707df57ed808f2886af1299fbe3f1260db056 SHA1 5a25a2f77965d02667bf742d3a3921211732b4e6 SHA256 2d96771c972d171811aed9b45ac419b4b9d1d58b67fc6cd4cc8dd7b18b431c7b EBUILD freevo-1.7.2.ebuild 6533 RMD160 ffa6467e0823fae9c1c6de41444c0948c3f56851 SHA1 367252968c6a9b1b38ad686798d9aa11c31d0de9 SHA256 e4a9371d08e4a6cd40e8a478b119747b1dc87f9da19ee4df3acdbbe901c21cc0 EBUILD freevo-1.7.3.ebuild 6536 RMD160 b3654c0ac04ac458f91efc3dc3d52ed82b04ce8b SHA1 9b2640d84b4a2f9ddfdc6f28b0c85a22cce71096 SHA256 2ac745d468cfe0602b8220d6012f9537a418d9a7d39d551cfbf0c27cc24e6be0 EBUILD freevo-1.7.4.ebuild 6505 RMD160 080936015e3357d54efb7f713958c53d8f72c5f8 SHA1 41ea3c764d7b9994a1060a703c14d1595902cecd SHA256 8bbaa72dbe5740039fed2f3de7636db99ad1bddfa1c62a3392f86b0b77297ebf -MISC ChangeLog 9137 RMD160 72e7554940d71d73cfda8b27d6768579bd830b16 SHA1 221dc70cb90fa8757c48f4e1cc3fa74bffcac1f9 SHA256 1741a237ea9f45cbb4fc55107a2f97d07bc39ff1e15430bb0ff9b9903d5e3422 +EBUILD freevo-1.7.6.1.ebuild 6502 RMD160 727137be4da6d8639d4213e59d68e3d1c4f5a67e SHA1 51baa76cef7e01d375be6bf7efea4a690b13c5bc SHA256 e49c84f4c98cb5350b6620a36fc51b72545570e35e0f21c8f0d3c895b0ce54b9 +MISC ChangeLog 9518 RMD160 903b46d11cacabab6e9a76a4958be33d93c331e5 SHA1 846fac81376e9414348f378f1c67e7363c552d3b SHA256 c02e3b0ee76602a7616ad1d1d7ca7619a6ed71cc810982632ac42c72fecdacb9 MISC metadata.xml 874 RMD160 517bdf63bdcbeaea69e645ac567ca3898c2084ad SHA1 fadd92b90288d4db063ba195a2395e0c0d31baf1 SHA256 299bf14ca6be1c221e6be86ecdb33926baae4ba8823f0dfc48e6e204f47fd2e5 diff --git a/media-tv/freevo/freevo-1.7.6.1.ebuild b/media-tv/freevo/freevo-1.7.6.1.ebuild new file mode 100644 index 000000000000..30e259c5c6b7 --- /dev/null +++ b/media-tv/freevo/freevo-1.7.6.1.ebuild @@ -0,0 +1,192 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/freevo-1.7.6.1.ebuild,v 1.1 2008/03/14 11:59:59 rbu Exp $ + +inherit distutils + +DESCRIPTION="Digital video jukebox (PVR, DVR)." +HOMEPAGE="http://www.freevo.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +IUSE="directfb doc dvd fbcon gphoto2 ivtv lirc matrox minimal mixer nls sqlite tv X" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc" + +RDEPEND=">=dev-python/pygame-1.5.6 + >=dev-python/pyxml-0.8.2 + >=dev-python/imaging-1.1.3 + >=dev-python/twisted-2.4 + >=dev-python/twisted-web-0.6 + >=media-video/mplayer-0.92 + >=media-libs/freetype-2.1.4 + >=media-libs/libsdl-1.2.5 + >=sys-apps/sed-4 + >=dev-python/elementtree-1.2.6 + >=dev-python/beautifulsoup-3.0 + >=dev-python/kaa-base-0.2.0 + >=dev-python/kaa-metadata-0.7.1 + >=dev-python/kaa-imlib2-0.2.2 + dvd? ( >=media-video/xine-ui-0.9.22 >=media-video/lsdvd-0.10 ) + gphoto2? ( media-gfx/gphoto2 ) + lirc? ( app-misc/lirc >=dev-python/pylirc-0.0.3 ) + matrox? ( >=media-video/matroxset-0.3 ) + mixer? ( media-sound/aumix ) + sqlite? ( ~dev-python/pysqlite-1.0.1 ) + tv? ( !ivtv? ( media-tv/tvtime ) + !minimal? ( media-tv/xmltv ) )" + +pkg_setup() { + if use directfb ; then + use dvd && ! built_with_use media-libs/xine-lib directfb \ + && ewarn "media-libs/xine-lib was not built with directfb support" + ! built_with_use media-video/mplayer directfb \ + && ewarn "media-video/mplayer was not built with directfb support" + if ! built_with_use media-libs/libsdl directfb ; then + eerror "media-libs/libsdl was not built with directdb support" + eerror "Please re-emerge libsdl with the directfb use flag" + die "directfb use flag specified but no support in libsdl and others" + fi + fi + + if use fbcon ; then + use dvd && ! built_with_use media-libs/xine-lib fbcon \ + && ewarn "media-libs/xine-lib was not built with fbcon support" + ! built_with_use media-video/mplayer fbcon \ + && ewarn "media-video/mplayer was not built with fbcon support" + if ! built_with_use media-libs/libsdl fbcon ; then + eerror "media-libs/libsdl was not built with fbcon support" + eerror "Please re-emerge libsdl with the fbcon use flag" + die "fbcon use flag specified but no support in media-libs/libsdl and others" + fi + fi + + if ! { use X || use directfb || use fbcon || use matrox ; } ; then + echo + ewarn "WARNING - no video support specified in USE flags." + ewarn "Please be sure that media-libs/libsdl supports whatever video" + ewarn "support (X11, fbcon, directfb, etc) you plan on using." + echo + fi + + if ! built_with_use -a media-libs/sdl-image jpeg png ; then + eerror "media-libs/sdl-image needs more image format support (USE=\"png jpeg\")" + die "re-emerge media-libs/sdl-image with the given USE flags" + fi +} + +src_install() { + distutils_src_install + + insinto /etc/freevo + newins local_conf.py.example local_conf.py + + if [ "${PROFILE_ARCH}" == "xbox" ]; then + sed -i -e "s/# MPLAYER_AO_DEV.*/MPLAYER_AO_DEV='alsa1x'/" "${D}"/etc/freevo/local_conf.py + newins "${FILESDIR}"/xbox-lircrc lircrc + fi + + if use X; then + echo "#!/bin/bash" > freevo + echo "/usr/bin/freevoboot startx" >> freevo + exeinto /etc/X11/Sessions/ + doexe freevo + + #insinto /etc/X11/dm/Sessions + #doins "${FILESDIR}/freevo.desktop" + + insinto /usr/share/xsessions + doins "${FILESDIR}/freevo.desktop" + fi + + exeinto /usr/bin + newexe "${FILESDIR}/freevo.boot" freevoboot + newconfd "${FILESDIR}/freevo.conf" freevo + + rm -rf "${D}/usr/share/doc" + + dodoc ChangeLog FAQ INSTALL PKG-INFO README TODO \ + Docs/{CREDITS,NOTES,*.txt,plugins/*.txt} + use doc && + cp -r Docs/{installation,html,plugin_writing} "${D}/usr/share/doc/${PF}" + + use nls || rm -rf "${D}"/usr/share/locale + + # Create a default freevo setup + cd "${S}/src" + if [ "${PROFILE_ARCH}" == "xbox" ]; then + myconf="${myconf} --geometry=640x480 --display=x11" + elif use matrox && use directfb; then + myconf="${myconf} --geometry=768x576 --display=dfbmga" + elif use matrox ; then + myconf="${myconf} --geometry=768x576 --display=mga" + elif use directfb; then + myconf="${myconf} --geometry=768x576 --display=directfb" + elif use X ; then + myconf="${myconf} --geometry=800x600 --display=x11" + else + myconf="${myconf} --geometry=800x600 --display=fbdev" + fi + sed -i "s:/etc/freevo/freevo.conf:${D}/etc/freevo/freevo.conf:g" setup_freevo.py || die "Could not fix setup_freevo.py" + python setup_freevo.py ${myconf} || die "Could not create new freevo.conf" +} + +pkg_postinst() { + 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" + + einfo "To update your local configuration, please run" + einfo " # freevo convert_config /etc/freevo/local_conf.py -w" + + echo + einfo "To build a freevo-only system, please use the freevoboot" + einfo "wrapper to be run it as a user. It can be configured in /etc/conf.d/freevo" + if use X ; then + echo + ewarn "If you're using a Freevo-only system with X, you'll need" + ewarn "to setup the autologin (as user) and choose freevo as" + ewarn "default session. If you need to run recordserver/webserver" + ewarn "at boot, please use /etc/conf.d/freevo" + echo + ewarn "Should you decide to personalize your freevo.desktop" + ewarn "session, keep the definition for '/usr/bin/freevoboot starx'" + else + echo + ewarn "If you want Freevo to start automatically,you'll need" + ewarn "to follow instructions at :" + ewarn "http://freevo.sourceforge.net/cgi-bin/doc/BootFreevo" + echo + ewarn "*NOTE: you can use mingetty or provide a login" + ewarn "program for getty to autologin as a user with limited privileges." + ewarn "A tutorial for getty is at:" + ewarn "http://ubuntuforums.org/showthread.php?t=152274" + fi + + if [ -e "${ROOT}/etc/init.d/freevo" ] ; then + echo + ewarn "Please remove /etc/init.d/freevo as it is a security" + ewarn "threat. To set autostart read above." + fi + + if [ -e "${ROOT}/opt/freevo" ] ; then + echo + ewarn "Please remove ${ROOT}/opt/freevo because it is no longer used." + fi + if [ -e "${ROOT}/etc/freevo/freevo_config.py" ] ; then + echo + ewarn "Please remove ${ROOT}/etc/freevo/freevo_config.py." + fi + if [ -e "${ROOT}/etc/init.d/freevo-record" ] ; then + echo + ewarn "Please remove ${ROOT}/etc/init.d/freevo-record" + fi + if [ -e "${ROOT}/etc/init.d/freevo-web" ] ; then + echo + ewarn "Please remove ${ROOT}/etc/init.d/freevo-web" + fi +} |