[mythtv-users] gentoo emerge and editing settings.pro

Dennis Cartier pvr at trigger.net
Fri Jan 2 06:41:15 EST 2004


Jelle Kalf wrote:
> first of all, DVB support seems flaky under gentoo, that's why it was commented.
> 
> second of all you'll find a section in /usr/portage/media-tv/mythtv/mythtv-0.13-r1.ebuild which is:
> 
>     # Needs a VIA supported kernel driver.
>     #if [ "`use via`" ] ; then
>     #   sed -e "s:#CONFIG += using_via:CONFIG += using_via:"
>     #       -e "s:#EXTRA_LIBS += -lddmpeg:EXTRA_LIBS += -lddmpeg:"
>     #       -i "settings.pro" || die "enable lirc sed failed"
>     #fi
> 
> change it to:
> 
>     # Needs a VIA supported kernel driver.
>     #if [ "`use via`" ] ; then
>         sed -e "s:#CONFIG += using_via:CONFIG += using_via:" \
>             -e "s:#EXTRA_LIBS += -lddmpeg:EXTRA_LIBS += -lddmpeg:" \
>             -i "settings.pro" || die "enable lirc sed failed"
>     #fi
> 
> Don't forget the \ at the end of each line !!
> now you are set to compile with VIA cle266 support. If you also want to run DVB support scroll up a bit and do the same with DVB.
> 
> btw, in order to get that running with gentoo (the cle266 support) you'll need to have Ivor's libddmpeg installed as well. Collect the ebuild for that from http://epia.kalf.org/portage/media-libs/
> 
> ;)

Umm, It's been awhile since I changed to Gentoo, but would the standard 
way of enabling VIA support not be to add 'via' to the /etc/make.conf's 
  USE line? I would think that is what the above test was designed to check?

Doing it the way you have suggested will not survive an emerge sync if a 
new ebuild overwrites the old one.

Dennis



More information about the mythtv-users mailing list