1
0
mirror of https://github.com/DigitalDevices/pvr.octonet.git synced 2023-10-10 13:36:57 +02:00
pvr.octonet/README.md

38 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

# Octonet PVR
2016-11-28 12:14:56 +01:00
Digital Devices [Octonet](http://www.digital-devices.eu/shop/de/netzwerk-tv/) PVR client addon for [Kodi](http://kodi.tv)
2016-11-03 18:01:49 +01:00
| Platform | Status |
|----------|--------|
2021-09-19 09:56:27 +02:00
| Linux + OS X (github) | [![Build and run tests](https://github.com/kodi-pvr/pvr.octonet/actions/workflows/build.yml/badge.svg?branch=Nexus)](https://github.com/kodi-pvr/pvr.octonet/actions/workflows/build.yml) |
| Windows (AppVeyor) | [![Build status](https://ci.appveyor.com/api/projects/status/m7dhmpmuf5coir5h?svg=true)](https://ci.appveyor.com/project/julianscheel/pvr-octonet) |
2016-11-03 18:01:49 +01:00
# Building
2016-11-28 12:14:56 +01:00
These instructions work on all supported platforms for the most part. Obviously, paths need to be
adjusted according to your OS (`/` vs `\`). We use Linux paths here as an example.
2016-11-03 18:01:49 +01:00
2016-11-28 12:14:56 +01:00
Clone the `pvr.octonet` repository:
2016-11-03 18:01:49 +01:00
```
2016-11-28 12:14:56 +01:00
$ git clone https://github.com/DigitalDevices/pvr.octonet.git
2016-11-03 18:01:49 +01:00
```
2016-11-28 12:14:56 +01:00
Clone the Kodi repository:
2016-11-03 18:01:49 +01:00
2016-11-28 12:14:56 +01:00
```
2019-04-21 17:40:25 +02:00
$ git clone --branch master https://github.com/xbmc/xbmc.git
2016-11-28 12:14:56 +01:00
```
```
$ cd pvr.octonet
$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release -DADDONS_TO_BUILD="pvr.octonet" -DADDON_SRC_PREFIX="path to parent of pvr.octonet" -DCMAKE_INSTALL_PREFIX="install" -DPACKAGE_ZIP=ON "path to kodi/cmake/addons"
2016-11-28 12:14:56 +01:00
```
On Windows, you should add `-G "NMake Makefiles"` to the CMake invocation. Make sure that
`ADDON_SRC_PREFIX` does _not_ point directly to `pvr.octonet` but instead to its parent directory.
Finally, build the plugin with `make` (or `nmake` on Windows). The plugin should be in an `install`
subdirectory.