@ -116,25 +116,28 @@ void InstWizard::internalWizard()
info < < " <font color= \" DarkRed \" > " < < i18n ( " No WIN32 codecs found in /usr/lib/win32. You're not able to play Windows Media 9 files, newer Real Media files and some less common formats. Download the codecs here: " )
< < " <a href= \" http://www1.mplayerhq.hu/design7/dload.html#binary_codecs \" >http://www1.mplayerhq.hu/design7/dload.html#binary_codecs</a>.</font> " ;
*/
//LIBDVDCSS
info < < " <br><hr><b> " < < " libdvdcss " < < " ...</b><br> " ;
bool dvdcss = false ;
TQDir d ( " /usr/lib " ) ;
TQStringList entries = d . entryList ( " libdvdcss.so* " ) ;
if ( entries . count ( ) )
dvdcss = true ;
else
TQStringList libDirs ;
TQStringList entries ;
TQDir d ;
libDirs
< < " / " SYSTEM_LIBDIR
< < " /usr/ " SYSTEM_LIBDIR
< < " /usr/local/ " SYSTEM_LIBDIR
< < " /lib "
< < " /usr/lib "
< < " /usr/local/lib " ;
for ( TQStringList : : ConstIterator it = libDirs . begin ( ) ; it ! = libDirs . end ( ) ; + + it )
{
d = TQDir ( " /usr/local/lib " ) ;
d = TQDir ( * it ) ;
entries = d . entryList ( " libdvdcss.so* " ) ;
if ( entries . count ( ) )
dvdcss = true ;
else
{
d = TQDir ( " /usr/lib64 " ) ;
entries = d . entryList ( " libdvdcss.so* " ) ;
if ( entries . count ( ) )
dvdcss = true ;
dvdcss = true ;
break ;
}
}
if ( ! dvdcss )