# ChangeLog for media-tv/mythtv
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.147 2007/04/19 14:08:55 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.148 2007/04/20 01:52:00 cardoe Exp $
+
+*mythtv-0.20_p13288 (20 Apr 2007)
+
+ 20 Apr 2007; Doug Goldstein <cardoe@gentoo.org>
+ +mythtv-0.20_p13288.ebuild, -mythtv-0.19_p10505.ebuild:
+ upstream bump. remove old version
*mythtv-0.21_pre13285 (19 Apr 2007)
*mythtv-0.20_p13271 (19 Apr 2007)
+++ /dev/null
-MD5 5f74a910401cb824fd30cf26968d804d mythtv-0.19-rev10505.patch.bz2 36022
-RMD160 2440ca9f1ac53d8ad5b0025c22dce1c66e98a041 mythtv-0.19-rev10505.patch.bz2 36022
-SHA256 4fa91ecff4ecb6c2ef09dc17f950f59a1f17dc90754eeff4a789923bcfb150e1 mythtv-0.19-rev10505.patch.bz2 36022
-MD5 ebba5829d264bb4de2f75cae936141f4 mythtv-0.19.tar.bz2 10162049
-RMD160 cd90bb3629df55f9e803d867cf59e378e9cace07 mythtv-0.19.tar.bz2 10162049
-SHA256 ca73641116d3bbc7d353a99348f9f8c9a156bcc756c90a6ed06f1498d9d9cd8f mythtv-0.19.tar.bz2 10162049
--- /dev/null
+MD5 52bec1e0fadf7d24d6dcac3f773ddf74 mythtv-0.20.tar.bz2 12380677
+RMD160 d9ef5221a1d821f2f210e7ebb0c32a88625fb522 mythtv-0.20.tar.bz2 12380677
+SHA256 777ff60afa89426f0e52e49b0e7a7661ddb45b59d2ebbfdcbe07fd179e526ff3 mythtv-0.20.tar.bz2 12380677
+MD5 4b0e9d3aa0acf64ea09bb69b61b71fb0 mythtv-0.20_svn13288.patch.bz2 59106
+RMD160 3b5a60875417c0e6226869b56bafe49a064898ea mythtv-0.20_svn13288.patch.bz2 59106
+SHA256 839b2cce895292b93e6060aa118dec932f7e98e840343cb0f58993403202d2d6 mythtv-0.20_svn13288.patch.bz2 59106
+++ /dev/null
-diff -urN mythtv-0.19.orig/configure mythtv-0.19/configure
---- mythtv-0.19.orig/configure 2006-02-09 15:14:44.000000000 +0000
-+++ mythtv-0.19/configure 2006-03-14 13:12:41.000000000 +0000
-@@ -21,6 +21,7 @@
- compile_type="release"
- prefix="/usr/local"
- libdir=""
-+libdir_name="lib"
- mandir=""
- bindir=""
- cross_prefix=""
-@@ -96,6 +97,7 @@
- echo " --compile-type=CTYPE one of release, profile, debug [$compile_type]"
- echo " NOTE: profile is for sampling profilers"
- echo " --prefix=PREFIX install in PREFIX [$prefix]"
-+echo " --libdir-name=LIBNAME search/install libraries in PREFIX/LIBNAME [$libdir_name]"
- #echo " --libdir=DIR install libs in DIR [PREFIX/lib]"
- #echo " --mandir=DIR man documentation in DIR [PREFIX/man]"
- echo " --disable-ccache disable compiler cache (ccache)"
-@@ -606,6 +608,8 @@
- ;;
- --prefix=*) prefix=`echo $opt | cut -d '=' -f 2`; force_prefix=yes
- ;;
-+ --libdir-name=*) libdir_name=`echo $opt | cut -d '=' -f 2`;
-+ ;;
- --libdir=*) libdir=`echo $opt | cut -d '=' -f 2`; force_prefix=yes
- ;;
- --mandir=*) mandir=`echo $opt | cut -d '=' -f 2`
-@@ -889,7 +893,7 @@
- done
- fi
-
-- LIBPATHS="`echo $LIBPATHS /lib /usr/lib /usr/local/lib /usr/X11R6/lib | sed s/'\/ '/' '/g` "
-+ LIBPATHS="`echo $LIBPATHS /$libdir_name /usr/$libdir_name /usr/local/$libdir_name /usr/X11R6/$libdir_name | sed s/'\/ '/' '/g` "
-
- HAS_IT="no"
- for LIBPATH in $LIBPATHS ; do
-@@ -904,7 +908,7 @@
- {
- HPATHS="/usr/local/include /usr/include /usr/include/g++-v3 /usr/X11R6/include"
- INCL=`echo $DYLD_LIBRARY_PATH $LD_LIBRARY_PATH | sed s/':'/' '/g`
-- HPATHS="$HPATHS `echo $INCL | sed s/lib/include/g` "
-+ HPATHS="$HPATHS `echo $INCL | sed s/$libdir_name/include/g` "
-
- HAS_IT="no"
- for HPATH in $HPATHS ; do
-@@ -1918,7 +1922,7 @@
- fi
-
- if test x"$libdir" = x""; then
--libdir="${prefix}/lib"
-+libdir="${prefix}/${libdir_name}"
- fi
-
- if test x"$mandir" = x""; then
-@@ -2235,7 +2239,7 @@
- echo "#define FFMPEG_CONFIGURATION "'"'"$FFMPEG_CONFIGURATION"'"' >> $TMPH
-
- echo "PREFIX=$prefix" >> $MYTH_CONFIG_MAK
--#echo "libdir=$libdir" >> $MYTH_CONFIG_MAK
-+echo "LIBDIR=$libdir" >> $MYTH_CONFIG_MAK
- #echo "bindir=$bindir" >> $MYTH_CONFIG_MAK
- #echo "mandir=$mandir" >> $MYTH_CONFIG_MAK
- #echo "MAKE=$make" >> $MYTH_CONFIG_MAK
-diff -urN mythtv-0.19.orig/filters/filter-common.pro mythtv-0.19/filters/filter-common.pro
---- mythtv-0.19.orig/filters/filter-common.pro 2005-07-13 22:35:02.000000000 +0100
-+++ mythtv-0.19/filters/filter-common.pro 2006-03-14 13:12:41.000000000 +0000
-@@ -4,7 +4,7 @@
- TEMPLATE = lib
- CONFIG -= moc qt
- CONFIG += plugin thread
--target.path = $${PREFIX}/lib/mythtv/filters
-+target.path = $${LIBDIR}/mythtv/filters
- INSTALLS = target
-
- QMAKE_CFLAGS_RELEASE += -Wno-missing-prototypes
-diff -urN mythtv-0.19.orig/libs/libavcodec/libavcodec.pro mythtv-0.19/libs/libavcodec/libavcodec.pro
---- mythtv-0.19.orig/libs/libavcodec/libavcodec.pro 2006-01-16 07:14:43.000000000 +0000
-+++ mythtv-0.19/libs/libavcodec/libavcodec.pro 2006-03-14 13:12:41.000000000 +0000
-@@ -4,7 +4,7 @@
- TEMPLATE = lib
- TARGET = mythavcodec-$$LIBVERSION
- CONFIG += thread dll warn_off
--target.path = $${PREFIX}/lib
-+target.path = $${LIBDIR}
- INSTALLS = target
-
- INCLUDEPATH = ../ ../../ ../libavutil
-diff -urN mythtv-0.19.orig/libs/libavformat/libavformat.pro mythtv-0.19/libs/libavformat/libavformat.pro
---- mythtv-0.19.orig/libs/libavformat/libavformat.pro 2005-12-09 03:35:28.000000000 +0000
-+++ mythtv-0.19/libs/libavformat/libavformat.pro 2006-03-14 13:12:41.000000000 +0000
-@@ -4,7 +4,7 @@
- TEMPLATE = lib
- TARGET = mythavformat-$$LIBVERSION
- CONFIG += thread dll warn_off
--target.path = $${PREFIX}/lib
-+target.path = $${LIBDIR}
- INSTALLS = target
-
- INCLUDEPATH += ../ ../../ ../libavcodec ../libavutil ../libmythtv
-diff -urN mythtv-0.19.orig/libs/libavutil/libavutil.pro mythtv-0.19/libs/libavutil/libavutil.pro
---- mythtv-0.19.orig/libs/libavutil/libavutil.pro 2005-12-09 03:35:28.000000000 +0000
-+++ mythtv-0.19/libs/libavutil/libavutil.pro 2006-03-14 13:12:41.000000000 +0000
-@@ -5,7 +5,7 @@
- TARGET = mythavutil-$$LIBVERSION
- CONFIG += thread dll warn_off
- CONFIG -= qt
--target.path = $${PREFIX}/lib
-+target.path = $${LIBDIR}
- INSTALLS = target
-
- INCLUDEPATH = ../ ../../
-diff -urN mythtv-0.19.orig/libs/libmyth/libmyth.pro mythtv-0.19/libs/libmyth/libmyth.pro
---- mythtv-0.19.orig/libs/libmyth/libmyth.pro 2005-12-09 03:35:28.000000000 +0000
-+++ mythtv-0.19/libs/libmyth/libmyth.pro 2006-03-14 13:12:41.000000000 +0000
-@@ -4,7 +4,7 @@
- TEMPLATE = lib
- TARGET = myth-$$LIBVERSION
- CONFIG += thread dll
--target.path = $${PREFIX}/lib
-+target.path = $${LIBDIR}
- INSTALLS = target
-
- QMAKE_CLEAN += $(TARGET) $(TARGETA) $(TARGETD) $(TARGET0) $(TARGET1) $(TARGET2)
-diff -urN mythtv-0.19.orig/libs/libmyth/mythcontext.cpp mythtv-0.19/libs/libmyth/mythcontext.cpp
---- mythtv-0.19.orig/libs/libmyth/mythcontext.cpp 2006-01-25 10:22:57.000000000 +0000
-+++ mythtv-0.19/libs/libmyth/mythcontext.cpp 2006-03-14 13:12:41.000000000 +0000
-@@ -186,6 +186,7 @@
- Settings *m_qtThemeSettings;
-
- QString m_installprefix;
-+ QString m_installlibdir;
-
- bool m_gui;
- bool m_backend;
-@@ -258,7 +259,7 @@
- MythContextPrivate::MythContextPrivate(MythContext *lparent)
- : parent(lparent),
- m_settings(new Settings()), m_qtThemeSettings(new Settings()),
-- m_installprefix(PREFIX),
-+ m_installprefix(PREFIX), m_installlibdir(LIBDIR),
- m_gui(false), m_backend(false), m_themeloaded(false),
- m_menuthemepathname(QString::null), m_themepathname(QString::null),
- m_backgroundimage(NULL),
-@@ -1120,7 +1121,7 @@
-
- QString MythContext::GetLibraryDir(void)
- {
-- return d->m_installprefix + "/lib/mythtv/";
-+ return d->m_installlibdir + "/mythtv/";
- }
-
- QString MythContext::GetThemesParentDir(void)
-diff -urN mythtv-0.19.orig/libs/libmythmpeg2/libmythmpeg2.pro mythtv-0.19/libs/libmythmpeg2/libmythmpeg2.pro
---- mythtv-0.19.orig/libs/libmythmpeg2/libmythmpeg2.pro 2005-12-09 03:35:28.000000000 +0000
-+++ mythtv-0.19/libs/libmythmpeg2/libmythmpeg2.pro 2006-03-14 13:12:41.000000000 +0000
-@@ -4,8 +4,6 @@
- TEMPLATE = lib
- TARGET = mythmpeg2-$$LIBVERSION
- CONFIG += thread staticlib warn_off
--target.path = $${PREFIX}/lib
--INSTALLS = target
-
- QMAKE_CFLAGS_RELEASE += -DPIC -fPIC -fno-common
- QMAKE_CFLAGS_DEBUG += -DPIC -fPIC -fno-common
-diff -urN mythtv-0.19.orig/libs/libmythsamplerate/libmythsamplerate.pro mythtv-0.19/libs/libmythsamplerate/libmythsamplerate.pro
---- mythtv-0.19.orig/libs/libmythsamplerate/libmythsamplerate.pro 2005-12-09 03:35:28.000000000 +0000
-+++ mythtv-0.19/libs/libmythsamplerate/libmythsamplerate.pro 2006-03-14 13:12:41.000000000 +0000
-@@ -4,8 +4,6 @@
- TEMPLATE = lib
- TARGET = mythsamplerate-$$LIBVERSION
- CONFIG += thread staticlib warn_off
--target.path = $${PREFIX}/lib
--INSTALLS = target
-
- INCLUDEPATH += ../../
-
-diff -urN mythtv-0.19.orig/libs/libmythsoundtouch/libmythsoundtouch.pro mythtv-0.19/libs/libmythsoundtouch/libmythsoundtouch.pro
---- mythtv-0.19.orig/libs/libmythsoundtouch/libmythsoundtouch.pro 2005-12-09 03:35:28.000000000 +0000
-+++ mythtv-0.19/libs/libmythsoundtouch/libmythsoundtouch.pro 2006-03-14 13:12:41.000000000 +0000
-@@ -4,8 +4,6 @@
- TEMPLATE = lib
- TARGET = mythsoundtouch-$$LIBVERSION
- CONFIG += thread staticlib warn_off
--target.path = $${PREFIX}/lib
--INSTALLS = target
-
- INCLUDEPATH += ../../libs/libavcodec ../..
-
-diff -urN mythtv-0.19.orig/libs/libmythtv/libmythtv.pro mythtv-0.19/libs/libmythtv/libmythtv.pro
---- mythtv-0.19.orig/libs/libmythtv/libmythtv.pro 2006-01-13 08:11:45.000000000 +0000
-+++ mythtv-0.19/libs/libmythtv/libmythtv.pro 2006-03-14 13:12:41.000000000 +0000
-@@ -4,7 +4,7 @@
- TEMPLATE = lib
- TARGET = mythtv-$$LIBVERSION
- CONFIG += thread dll
--target.path = $${PREFIX}/lib
-+target.path = $${LIBDIR}
- INSTALLS = target
-
- INCLUDEPATH += ../.. ..
-diff -urN mythtv-0.19.orig/libs/libmythui/libmythui.pro mythtv-0.19/libs/libmythui/libmythui.pro
---- mythtv-0.19.orig/libs/libmythui/libmythui.pro 2006-01-10 06:09:06.000000000 +0000
-+++ mythtv-0.19/libs/libmythui/libmythui.pro 2006-03-14 13:12:41.000000000 +0000
-@@ -4,7 +4,7 @@
- TEMPLATE = lib
- TARGET = mythui-$$LIBVERSION
- CONFIG += debug thread dll
--target.path = $${PREFIX}/lib
-+target.path = $${LIBDIR}
- INSTALLS = target
-
- INCLUDEPATH += ../libmyth
-diff -urN mythtv-0.19.orig/settings.pro mythtv-0.19/settings.pro
---- mythtv-0.19.orig/settings.pro 2006-01-11 14:40:52.000000000 +0000
-+++ mythtv-0.19/settings.pro 2006-03-14 13:12:41.000000000 +0000
-@@ -56,6 +56,7 @@
- DEFINES += _GNU_SOURCE
- DEFINES += _FILE_OFFSET_BITS=64
- DEFINES += PREFIX=\"$${PREFIX}\"
-+DEFINES += LIBDIR=\"$${LIBDIR}\"
-
- # construct linking path
-
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.19_p10505.ebuild,v 1.11 2007/01/05 03:44:44 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.20_p13288.ebuild,v 1.1 2007/04/20 01:52:00 cardoe Exp $
-inherit flag-o-matic multilib eutils qt3
-
-PATCHREV="${PV#*_p}"
-MY_PV="${PV%_*}"
+inherit mythtv flag-o-matic multilib eutils qt3
DESCRIPTION="Homebrew PVR project"
-HOMEPAGE="http://www.mythtv.org/"
-SRC_URI="http://ftp.osuosl.org/pub/mythtv/${PN}-${MY_PV}.tar.bz2
- http://dev.gentoo.org/~cardoe/files/${PN}-${MY_PV}-rev${PATCHREV}.patch.bz2"
-
-LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 x86"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE_VIDEO_CARDS="video_cards_i810 video_cards_nvidia video_cards_via"
-IUSE="alsa altivec backendonly debug dbox2 dvb dvd frontendonly ieee1394 jack joystick lcd lirc mmx vorbis opengl xvmc ${IUSE_VIDEO_CARDS}"
+IUSE="alsa altivec autostart backendonly crciprec debug dbox2 dts dvb dvd freebox frontendonly hdhomerun ieee1394 ivtv jack joystick lcd lirc mmx vorbis opengl perl xvmc ${IUSE_VIDEO_CARDS}"
RDEPEND=">=media-libs/freetype-2.0
>=media-sound/lame-3.93.1
- || ( ( x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXinerama
- x11-libs/libXv
- x11-libs/libXrandr
- x11-libs/libXxf86vm
- )
- virtual/x11 )
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXinerama
+ x11-libs/libXv
+ x11-libs/libXrandr
+ x11-libs/libXxf86vm
xvmc? (
- || ( x11-libs/libXvMC virtual/x11 )
+ x11-libs/libXvMC
video_cards_nvidia? ( || ( x11-drivers/nvidia-drivers
x11-drivers/nvidia-legacy-drivers ) )
- video_cards_via? ( || ( x11-drivers/xf86-video-via virtual/x11 ) )
- video_cards_i810? ( || ( x11-drivers/xf86-video-i810 virtual/x11 ) )
+ video_cards_via? ( x11-drivers/xf86-video-via )
+ video_cards_i810? ( x11-drivers/xf86-video-i810 )
)
$(qt_min_version 3.3)
virtual/mysql
alsa? ( >=media-libs/alsa-lib-0.9 )
+ dts? ( media-libs/libdts )
dvd? ( media-libs/libdvdnav
media-libs/libdts )
dvb? ( media-libs/libdvb media-tv/linuxtv-dvb-headers )
+ ivtv? ( media-tv/ivtv )
jack? ( media-sound/jack-audio-connection-kit )
lcd? ( app-misc/lcdproc )
lirc? ( app-misc/lirc )
>=sys-libs/libavc1394-0.5.0
>=media-libs/libiec61883-1.0.0 )
|| ( >=net-misc/wget-1.9.1 >=media-tv/xmltv-0.5.34 )
- !<x11-base/xorg-x11-6.8"
+ autostart? ( net-dialup/mingetty
+ x11-wm/evilwm
+ x11-apps/xset )"
DEPEND="${RDEPEND}
- || ( x11-apps/xinit virtual/x11 )"
+ x11-proto/xineramaproto
+ x11-proto/xf86vidmodeproto
+ x11-apps/xinit"
PDEPEND="=x11-themes/mythtv-themes-${MY_PV}*"
rip=1
fi
- if ! has_version x11-libs/libXv && ! built_with_use x11-base/xorg-x11 xv; then
- eerror "MythTv requires xorg-x11 to be built with XV support. Please add"
- eerror "'xv' to your USE flags, and re-emerge x11-base/xorg-x11."
- rip=1
- fi
-
if use xvmc && use video_cards_nvidia; then
echo
ewarn "You enabled the 'xvmc' USE flag, you must have a GeForce 4 or"
echo
fi
- if has x11-libs/libX11 virtual/x11; then
+ if use xvmc && ! ( use video_cards_i810 || use video_cards_nvidia || use video_cards_via ); then
echo
- eerror "Your installation of Modular X is broken. Don't have a virtual/x11"
- eerror "installed while using Modular X."
+ eerror "You enabled the XvMC USE flag but did not configure VIDEO_CARDS with either"
+ eerror "an nVidia, Intel i810, or VIA video card."
echo
rip=1
fi
- if use xvmc && ! ( use video_cards_i810 || use video_cards_nvidia || use video_cards_via ); then
+ if use autostart && use backendonly; then
echo
- eerror "You enabled the XvMC USE flag but did not configure VIDEO_CARDS with either"
- eerror "a Nvidia, i810, or VIA video card."
+ eerror "You can't have USE=autostart while having USE=backendonly."
+ eerror "USE=autostart is for mythfrontend"
echo
rip=1
fi
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
- #Fixes of the bugs found in the 0.19 release
- epatch "${WORKDIR}"/${PN}-${MY_PV}-rev${PATCHREV}.patch
+ #Fixes of the bugs found in the release
+ mythtv-fixes_patch
- # Support installing in libdir != lib
- epatch "${FILESDIR}/mythtv-0.19-libdir.patch"
+ # As needed fix since they don't know how to write qmake let alone a real
+ # make system
+ epatch "${FILESDIR}"/${PN}-${MY_PV}-as-needed.patch
}
src_compile() {
--libdir-name=$(get_libdir)"
use alsa || myconf="${myconf} --disable-audio-alsa"
use jack || myconf="${myconf} --disable-audio-jack"
+ use dts || myconf="${myconf} --disable-dts"
+ use freebox || myconf="${myconf} --disable-freebox"
+ use dbox2 || myconf="${myconf} --disable-dbox2"
+ use hdhomerun || myconf="${myconf} --disable-hdhomerun"
+ use crciprec || myconf="${myconf} --disable-crciprec"
use altivec || myconf="${myconf} --disable-altivec"
use xvmc && myconf="${myconf} --enable-xvmc"
+ use xvmc && use video_cards_via && myconf="${myconf} --enable-xvmc-pro"
+ use perl && myconf="${myconf} --with-bindings=perl"
myconf="${myconf}
--disable-audio-arts
$(use_enable lirc)
$(use_enable joystick joystick-menu)
- $(use_enable dbox2)
$(use_enable dvb)
- $(use_enable dvb dvb-eit)
--dvb-path=/usr/include
- $(use_enable dvd)
$(use_enable opengl opengl-vsync)
$(use_enable ieee1394 firewire)
--enable-xrandr
src_install() {
einstall INSTALL_ROOT="${D}" || die "install failed"
- for doc in AUTHORS COPYING FAQ UPGRADING ChangeLog README; do
+ for doc in AUTHORS FAQ UPGRADING ChangeLog README; do
test -e "${doc}" && dodoc ${doc}
done
newconfd ${FILESDIR}/mythbackend-0.18.2.conf mythbackend
fi
- if ! use backendonly; then
- dobin ${FILESDIR}/runmythfe
- ewarn "Want MythFrontend to always? Add the following to your"
- ewarn "myth user. i.e. My user is mythtv"
- ewarn "crontab -e -u mythtv"
- ewarn "* * * * * /usr/bin/runmythfe &"
- ewarn "And you're all set."
- fi
dodoc keys.txt docs/*.{txt,pdf}
dohtml docs/*.html
keepdir /var/log/mythtv
chown -R mythtv "${D}"/var/log/mythtv
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/mythtv.logrotate.d mythtv
+
insinto /usr/share/mythtv/contrib
doins contrib/*
+
+ insinto /usr/share/mythtv/configfiles
+ doins configfiles/*
+
+ if ! use backendonly; then
+ dobin "${FILESDIR}"/runmythfe
+
+ if use autostart; then
+ dodir /etc/env.d/
+ echo 'CONFIG_PROTECT="/home/mythtv/"' > ${D}/etc/env.d/95mythtv
+
+ insinto /home/mythtv
+ newins "${FILESDIR}"/bash_profile .bash_profile
+ newins "${FILESDIR}"/xinitrc .xinitrc
+ fi
+ fi
}
pkg_preinst() {
- enewuser mythtv -1 "-1" -1 ${MYTHTV_GROUPS} || die "Problem adding mythtv user"
- usermod -G ${MYTHTV_GROUPS} mythtv
+ enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS} || die "Problem adding mythtv user"
+ usermod -a -G ${MYTHTV_GROUPS} mythtv
+
+ export CONFIG_PROTECT="${CONFIG_PROTECT} ${ROOT}/home/mythtv/"
}
pkg_postinst() {
- einfo "Want MythFrontend to alway run? Run the following:"
- einfo " #crontab -e -u mythtv"
- einfo "And add the following:"
- einfo "* * * * * /usr/bin/runmythfe &"
- echo
- echo
- einfo "To always have MythBackend running and available run the following:"
- einfo "rc-update add mythbackend default"
- echo
- ewarn "Your recordings folder must be owned by the user 'mythtv' now"
- ewarn "chown -R mythtv /path/to/store"
+ if ! use backendonly; then
+ echo
+ elog "Want mythfrontend to start automatically?"
+ elog "Set USE=autostart. Details can be found at:"
+ elog "http://dev.gentoo.org/~cardoe/mythtv/autostart.html"
+ fi
+
+ if ! use frontendonly; then
+ echo
+ elog "To always have MythBackend running and available run the following:"
+ elog "rc-update add mythbackend default"
+ echo
+ ewarn "Your recordings folder must be owned by the user 'mythtv' now"
+ ewarn "chown -R mythtv /path/to/store"
+ fi
+
+ if use autostart; then
+ echo
+ elog "Please add the following to your /etc/inittab file at the end of"
+ elog "the TERMINALS section"
+ elog "c8:2345:respawn:/sbin/mingetty --autologin mythtv tty8"
+ fi
+
}