1
0
mirror of https://github.com/DigitalDevices/pvr.octonet.git synced 2023-10-10 13:36:57 +02:00
Go to file
Julian Scheel aa0d1678d0 Add travis build instructions
Automated build for linux and os x.

Signed-off-by: Julian Scheel <julian@jusst.de>
2016-11-04 11:26:48 +01:00
depends/common/jsoncpp depdends: Import JsonCpp 2016-02-02 11:03:40 +01:00
pvr.octonet Update to PVR 5.2.0/Kodi 17 2016-09-27 16:05:03 +02:00
src Remove kodi prefix from includes 2016-11-04 11:00:39 +01:00
.gitignore Ignore build directory 2016-10-05 10:40:23 +02:00
.travis.yml Add travis build instructions 2016-11-04 11:26:48 +01:00
CMakeLists.txt Build fixes for Windows 2016-10-05 16:46:40 +02:00
FindJsonCpp.cmake depdends: Import JsonCpp 2016-02-02 11:03:40 +01:00
README.md readme: Describe building on Windows 2016-11-03 18:02:13 +01:00

Octonet PVR

DigitalDevices [Octonet] (http://www.digital-devices.eu/shop/de/netzwerk-tv/) PVR client addon for [Kodi] (http://kodi.tv)

Building

Windows

  1. Create a file project/cmake/addons/addons/kodi.pvr.octonet/kodi.pvr.octonet.txt containing a single line kodi.pvr.octonet file://C:\some\path. The path doesn't matter and doesn't need to actually exist.

  2. Use a shell that has environment variables setup by Visual Studio for the native x86 toolchain. Run the following in a new build directory and adjust paths accordingly:

cmake -G "NMake Makefiles" ^
    -DCMAKE_BUILD_TYPE=Release ^
    -DADDONS_TO_BUILD="kodi.pvr.octonet" ^
    -DADDON_SRC_PREFIX="path_to_where_kodi.pvr.octonet_is" ^
    -DCMAKE_INSTALL_PREFIX="some_subdirectory" ^
    -DPACKAGE_ZIP=ON ^
    "path_to_kodi\project\cmake\addons"

Make sure ADDON_SRC_PREFIX points to the parent directory of kodi.pvr.octonet.

  1. Build the addon by running nmake. Run nmake package-addons to package a zip file of the addon.