@ -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: " )
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> " ;
< < " <a href= \" http://www1.mplayerhq.hu/design7/dload.html#binary_codecs \" >http://www1.mplayerhq.hu/design7/dload.html#binary_codecs</a>.</font> " ;
*/
*/
//LIBDVDCSS
//LIBDVDCSS
info < < " <br><hr><b> " < < " libdvdcss " < < " ...</b><br> " ;
info < < " <br><hr><b> " < < " libdvdcss " < < " ...</b><br> " ;
bool dvdcss = false ;
bool dvdcss = false ;
TQDir d ( " /usr/lib " ) ;
TQStringList libDirs ;
TQStringList entries = d . entryList ( " libdvdcss.so* " ) ;
TQStringList entries ;
if ( entries . count ( ) )
TQDir d ;
dvdcss = true ;
libDirs
else
< < " / " 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* " ) ;
entries = d . entryList ( " libdvdcss.so* " ) ;
if ( entries . count ( ) )
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 )
if ( ! dvdcss )