2015-07-14, 08:17
Building master from source with the rpm %configure macro will install kodi into the correct directories (/usr and /usr/lib64).
When building kodiplatform it goes into those directories as well, using:
However when building an addon such as pvr.demo the addons will endup in the wrong directory /usr/lib instead.
I'm sure this is not intentional.
It looks like /usr/lib64/kodi/addon-helpers.cmake has /lib hardcoded, if thats indeed the place that matters. But perhaps some variables are not initialized correctly.
When building kodiplatform it goes into those directories as well, using:
Code:
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix}
However when building an addon such as pvr.demo the addons will endup in the wrong directory /usr/lib instead.
I'm sure this is not intentional.
It looks like /usr/lib64/kodi/addon-helpers.cmake has /lib hardcoded, if thats indeed the place that matters. But perhaps some variables are not initialized correctly.