Bug#999482: architecture-independent package contains arch-specific lib path

2021-11-11 Thread Vasyl Gello
Control: forwarded -1 https://github.com/xbmc/xbmc/pull/20506

Bug#999482: architecture-independent package contains arch-specific lib path

2021-11-11 Thread Vasyl Gello
Hi Hugh! I quickly dug Kodi's CMake machinery and it appears that KodiConfig.cmake is installed into /usr/share/kodi/cmake by https://github.com/xbmc/xbmc/blob/master/cmake/scripts/linux/Install.cmake#L176 What's more interesting, there is another KodiConfig.cmake generated in proper place, i.e

Bug#999482: architecture-independent package contains arch-specific lib path

2021-11-11 Thread Vasyl Gello
Hi Hugh! Thanks for spotting this! > The paths containing /usr/lib/x86_64-linux-gnu here later cause problems when >building addons on other architectures, as it overrides the addon install >path - a warning is logged: It is probably the reason why I had to implement path override in every add-o

Bug#999482: architecture-independent package contains arch-specific lib path

2021-11-11 Thread Hugh Cole-Baker
Package: kodi-addons-dev-common Version: 2:19.3+dfsg1-1 In this package with Architecture: all, there is a file, /usr/share/kodi/cmake/KodiConfig.cmake containing: ...cut... if(NOT KODI_LIB_DIR) set(KODI_LIB_DIR /usr/lib/x86_64-linux-gnu/kodi) endif() if(NOT KODI_DATA_DIR) set(KODI_DATA_DIR /