diff options
| author | manuel <manuel@mausz.at> | 2015-03-04 00:23:39 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2015-03-04 00:23:39 +0100 |
| commit | 9d11b08ad61b1f0d6d7023ce403285d8662efaed (patch) | |
| tree | 5bc0c947d9e10d3e8c9dc1e6b26f3d6599f0cea1 /project/cmake/addons/README | |
| parent | c159d9f91f1573901868100a9464527a5a71575b (diff) | |
| download | kodi-pvr-build-9d11b08ad61b1f0d6d7023ce403285d8662efaed.tar.gz kodi-pvr-build-9d11b08ad61b1f0d6d7023ce403285d8662efaed.tar.bz2 kodi-pvr-build-9d11b08ad61b1f0d6d7023ce403285d8662efaed.zip | |
sync with upstream
Diffstat (limited to 'project/cmake/addons/README')
| -rw-r--r-- | project/cmake/addons/README | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/project/cmake/addons/README b/project/cmake/addons/README index c66e668..b901bb7 100644 --- a/project/cmake/addons/README +++ b/project/cmake/addons/README | |||
| @@ -3,14 +3,19 @@ KODI ADDONS | |||
| 3 | This directory contains the cmake-based buildsystem for addons. It looks into | 3 | This directory contains the cmake-based buildsystem for addons. It looks into |
| 4 | the "addons" sub-directory and parses all *.txt files recursively. Each addon | 4 | the "addons" sub-directory and parses all *.txt files recursively. Each addon |
| 5 | must have its own <addon-id>.txt file in a separate sub-directory which must | 5 | must have its own <addon-id>.txt file in a separate sub-directory which must |
| 6 | follow the defined format: | 6 | follow one of the defined format: |
| 7 | <addon-id> <git-url> <git-revision> | 7 | <addon-id> <git-url> <git-revision> |
| 8 | <addon-id> <tarball-url> | ||
| 9 | <addon-id> <file://path> | ||
| 8 | where | 10 | where |
| 9 | * <addon-id> must be identical to the addon's ID as defined in the addon's | 11 | * <addon-id> must be identical to the addon's ID as defined in the addon's |
| 10 | addon.xml | 12 | addon.xml |
| 11 | * <git-url> must be the URL of the git repository containing the addon. | 13 | * <git-url> must be the URL of the git repository containing the addon |
| 12 | * <git-revision> must be a valid git tag/branch/commit in the addon's git | 14 | * <git-revision> must be a valid git tag/branch/commit in the addon's git |
| 13 | repository which will be used for the build. | 15 | repository which will be used for the build. |
| 16 | * <tarball-url> must be the URL to a .tar.gz tarball containing the addon | ||
| 17 | * <file://path> must be a file:// based path to the directory containing the | ||
| 18 | addon | ||
| 14 | 19 | ||
| 15 | Reserved filenames (for additional information on how to build an addon) | 20 | Reserved filenames (for additional information on how to build an addon) |
| 16 | are: | 21 | are: |
| @@ -24,6 +29,9 @@ executing cmake with the -D<variable-name>=<value> option) to e.g. access | |||
| 24 | specific paths: | 29 | specific paths: |
| 25 | * ADDONS_TO_BUILD is a quoted, space delimited list of <addon-id>s that | 30 | * ADDONS_TO_BUILD is a quoted, space delimited list of <addon-id>s that |
| 26 | you want to build (default is "all"). | 31 | you want to build (default is "all"). |
| 32 | * ADDON_SRC_PREFIX can be used to override the addon repository location. | ||
| 33 | It must point to the locally available parent directory of the addon(s) to build | ||
| 34 | <addon-id> will be appended to this path automatically | ||
| 27 | * CMAKE_BUILD_TYPE specifies the type of the build. This can be either "Debug" | 35 | * CMAKE_BUILD_TYPE specifies the type of the build. This can be either "Debug" |
| 28 | or "Release" (default is "Release"). | 36 | or "Release" (default is "Release"). |
| 29 | * CMAKE_INSTALL_PREFIX points to the directory where the built addons and their | 37 | * CMAKE_INSTALL_PREFIX points to the directory where the built addons and their |
