修改内容:
1、为了不和本机产生修改了包名
2、替换了依赖编译的下载源为国内镜像 :
http://mirrors.kodi.tv/build-deps/sources ->
http://mirrors.ustc.edu.cn/xbmc/build-deps/sources 3、主要生效部分代码为(参考内容为
https://github.com/xbmc/xbmc/pull/17024):
int aml_present = open("/sys/class/audiodsp/digital_raw", O_RDONLY);
if (aml_present >= 0) {
close(aml_present);
} else {
if( (StringUtils::StartsWithNoCase(CJNIBuild::HARDWARE, "amlogic") && CJNIAudioManager::GetSDKVersion() == 23)) {
m_info.m_streamTypes.push_back(CAEStreamInfo::STREAM_TYPE_AC3);
return;
}
}
4、详细修改内容见:
https://github.com/soonco/xbmc/compare/19.5-Matrix...19.5-Matrix-T968 和
https://github.com/soonco/xbmc/compare/20.0-Nexus...20.0-Nexus-T968