-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve rebranding situation for binary addon building #17810
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is OK for me 👍.
As long there the addons manually becomes changed for 😄.
To have it here is OK, only to use then hack ways on addons to allow it without changes, would not good for me.
cmake/addons/CMakeLists.txt
Outdated
@@ -156,8 +156,11 @@ if(ADDON_SRC_PREFIX) | |||
message(STATUS "Overriding addon source directory prefix: ${ADDON_SRC_PREFIX}") | |||
endif() | |||
|
|||
include(../../cmake/scripts/common/Macros.cmake) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use then here also like on line 83, with:
include(${CORE_SOURCE_DIR}/cmake/scripts/common/Macros.cmake)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx, I tried different other variables but somehow missed this one...
Yeah - no plans to go any further with it. |
jenkins build this with addons please |
@AlwinEsch most addons worked fine, so I assume my PR doesn't cause any breakage: |
I'll merge this soon if there are no objections. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't improve the rebranding situation, it makes it worse. With this PR you have to change every binary add-on.
That's not correct, you have to change every binary addon already. |
Example:
This PR makes sure it finds everything from your rebrand instead of mixing everything from kodi into the builds, which is an improvement already! |
with this change every call to find_package(kodi) in addons will fail |
Why? |
After internal discussion and some more digging. |
@a1rwulf this needs a rebase |
This pull request is now marked stale because it has been open over a year without activity. Remove the stale label or add a comment to reset the stale state. |
Description
This improves the ability to use binary addons in rebrands.
How Has This Been Tested?
Tested by building a rebranded version for Android.
See following repos for an example:
https://github.com/a1rwulf/xbmc/commits/addons-rebrand-testing
https://github.com/a1rwulf/pvr.iptvsimple/commits/Playa
Types of change
Checklist: