--- mythtv-0.16.20050115.ebuild 2005-02-09 16:39:32.746528984 +0100 +++ mythtv-0.16.20050209.ebuild 2005-02-09 16:39:32.772525032 +0100 @@ -129,13 +129,14 @@ fi if use cle266 ; then - sed -e 's:#EXTRA_LIBS += -lviaXvMC -lXvMC:EXTRA_LIBS += -lviaXvMC -lXvMC:' \ + sed -e 's:#CONFIG += using_xvmc using_xvmc_vld:CONFIG += using_xvmc using_xvmc_vld:' \ + -e 's:#DEFINES += USING_XVMC USING_XVMC_VLD:DEFINES += USING_XVMC USING_XVMC_VLD:' \ + -e 's:#EXTRA_LIBS += -lviaXvMC -lXvMC:EXTRA_LIBS += -lviaXvMC -lXvMC:' \ -i 'settings.pro' || die "enable cle266 sed failed" fi - if ! use cle266 ; then - sed -e 's:CONFIG += using_xvmc using_xvmc_vld:#CONFIG += using_xvmc using_xvmc_vld:' \ - -e 's:DEFINES += USING_XVMC USING_XVMC_VLD:#DEFINES += USING_XVMC USING_XVMC_VLD:' \ + if ! use cle266 ; then # needed because nvidia and cle266 are not compatible + sed -e 's:EXTRA_LIBS += -lviaXvMC -lXvMC:#EXTRA_LIBS += -lviaXvMC -lXvMC:' \ -i 'settings.pro' || die "disable VLD XvMC sed failed" fi