Kodi Binary ADDON Installation

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Dan_FFM Offline
Junior Member
Posts: 9
Joined: Feb 2017
Reputation: 0
Post: #1
Hello, I have a little question,
after building the binary add-ons, how I do install these addons?
(make binary-addons)
or do I need after building the addon's rebuild kodi?

Best Thanks Smile
find quote
Tadly Offline
Team-Kodi Member
Posts: 280
Joined: Mar 2012
Reputation: 9
Post: #2
are you using cmake to build your add-on?

If so
Code:
project(<add-on id>)
...
find_package(Kodi REQUIRED)
...
# DEPLIBS is a list of dependencies
build_addon(${PROJECT_NAME} ADDON DEPLIBS)

On the root level (where your CMakeLists.txt is located) you want a directory <add-on id>.
This directory holds:
  1. your addon.xml
  2. icon.png (fanart.jpg)
  3. resources subdir (which can hold your settings.xml etc.)

If you're building using make you can just manually create a typical add-on structure and put your built binary in it's root level. (or elsewhere, you have to reference it from within your addon.xml anyway)

You may just take visualization.waveform as a template if you're confused with my explanation Smile
This project is relatively small
find quote
peak3d Offline
Team-Kodi Member
Posts: 96
Joined: Mar 2015
Reputation: 6
Post: #3
@Dan_FFM

pls provide the necessary information about your build environment:

- build-host (if cross-compile)
- target-system
- cmake / auto-tools build
- the location of your kodi checkout folder
- the list of binary addons
find quote