Skip to content

Commit

Permalink
Merge pull request #4 from hudokkow/platform
Browse files Browse the repository at this point in the history
Switch to libplatform
  • Loading branch information
hudokkow committed May 5, 2015
2 parents 9e66fb4 + ebe128f commit 92cb021
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 7 deletions.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Expand Up @@ -8,18 +8,20 @@ enable_language(CXX)

find_package(kodi REQUIRED)
find_package(kodiplatform REQUIRED)
find_package(platform REQUIRED)
find_package(TinyXML REQUIRED)
find_package(JsonCpp REQUIRED)

include_directories(${kodiplatform_INCLUDE_DIRS}
${platform_INCLUDE_DIRS}
${KODI_INCLUDE_DIR}
${PROJECT_SOURCE_DIR}/lib
${TINYXML_INCLUDE_DIRS}
${JSONCPP_INCLUDE_DIRS})

add_subdirectory(lib/libstalkerclient)

set(DEPLIBS ${kodiplatform_LIBRARIES} stalkerclient ${TINYXML_LIBRARIES} ${JSONCPP_LIBRARIES})
set(DEPLIBS ${platform_LIBRARIES} stalkerclient ${TINYXML_LIBRARIES} ${JSONCPP_LIBRARIES})

if(WIN32)
list(APPEND DEPLIBS ws2_32)
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Expand Up @@ -2,7 +2,7 @@ Source: kodi-pvr-stalker
Priority: extra
Maintainer: Nobody <nobody@kodi.tv>
Build-Depends: debhelper (>= 9.0.0), cmake, kodi-pvr-dev,
libkodiplatform-dev, kodi-addon-dev,
libkodiplatform-dev (>= 16.0.0), kodi-addon-dev,
libjsoncpp-dev, libtinyxml-dev
Standards-Version: 3.9.4
Section: libs
Expand Down
2 changes: 1 addition & 1 deletion pvr.stalker/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.stalker"
version="0.7.0"
version="0.7.1"
name="Stalker Client"
provider-name="dvbken">
<requires>
Expand Down
3 changes: 3 additions & 0 deletions pvr.stalker/changelog.txt
@@ -1,3 +1,6 @@
0.7.1 (05-05-2015)
- updated to use new libplatform-dev

0.7.0 (04-30-2015)
- updated to PVR API version 1.9.6
- isengard related changes
Expand Down
2 changes: 1 addition & 1 deletion src/HTTPSocket.cpp
Expand Up @@ -22,7 +22,7 @@

#include "HTTPSocket.h"

#include "kodi/sockets/tcp.h"
#include "platform/sockets/tcp.h"

#include "client.h"

Expand Down
2 changes: 1 addition & 1 deletion src/SAPI.cpp
Expand Up @@ -24,7 +24,7 @@

#include <algorithm>

#include "kodi/os.h"
#include "platform/os.h"

#include "libstalkerclient/param.h"
#include "libstalkerclient/stb.h"
Expand Down
2 changes: 1 addition & 1 deletion src/SData.cpp
Expand Up @@ -25,7 +25,7 @@
#include <cmath>

#include "tinyxml.h"
#include "kodi/os.h"
#include "platform/os.h"

#include "SAPI.h"

Expand Down
2 changes: 1 addition & 1 deletion src/client.cpp
Expand Up @@ -24,7 +24,7 @@

#include "kodi/xbmc_pvr_dll.h"
#include "kodi/libKODI_guilib.h"
#include "kodi/util/util.h"
#include "platform/util/util.h"

#include "SData.h"

Expand Down

0 comments on commit 92cb021

Please sign in to comment.