mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
imageinfo.cpp: adopt to last libstb changes
This commit is contained in:
@@ -25,8 +25,8 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_CONFIG_HAL_H
|
#if USE_STB_HAL
|
||||||
#include <version_hal.h>
|
#include <version_hal.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gui/imageinfo.h>
|
#include <gui/imageinfo.h>
|
||||||
@@ -357,11 +357,13 @@ void CImageInfo::InitInfoData()
|
|||||||
v_info.push_back({g_Locale->getText(LOCALE_IMAGEINFO_VCS), VCS});
|
v_info.push_back({g_Locale->getText(LOCALE_IMAGEINFO_VCS), VCS});
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_CONFIG_HAL_H
|
#if USE_STB_HAL
|
||||||
|
hal_libversion_t ver;
|
||||||
|
hal_get_lib_version(&ver);
|
||||||
//libstb-hal version
|
//libstb-hal version
|
||||||
v_info.push_back({"libstb_hal:", getPackageString()});
|
v_info.push_back({"libstb-hal:", ver.vVersion});
|
||||||
//libstb-hal git status
|
//libstb-hal git status
|
||||||
v_info.push_back({g_Locale->getText(LOCALE_IMAGEINFO_VCS), getPackageVersionGit()});
|
v_info.push_back({g_Locale->getText(LOCALE_IMAGEINFO_VCS), ver.vGitDescribe});
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//internal api versions
|
//internal api versions
|
||||||
|
Reference in New Issue
Block a user