Skip to content

Commit

Permalink
Merge pull request #427 from AlwinEsch/Leia-change
Browse files Browse the repository at this point in the history
[Leia] update CMakeLists.txt to 3.5, change header include and increase version to 4.4.19
  • Loading branch information
AlwinEsch authored Aug 29, 2019
2 parents d301b2b + 6d99ff5 commit d5488d2
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 23 deletions.
7 changes: 2 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
cmake_minimum_required(VERSION 3.5)
project(pvr.hts)

cmake_minimum_required(VERSION 2.6)

enable_language(CXX)

find_package(Kodi REQUIRED)
find_package(kodiplatform REQUIRED)
find_package(p8-platform REQUIRED)

include_directories(${kodiplatform_INCLUDE_DIRS}
${p8-platform_INCLUDE_DIRS}
${KODI_INCLUDE_DIR}
${KODI_INCLUDE_DIR}/.. # Hack way with "/..", need bigger Kodi cmake rework to match right include ways
${PROJECT_SOURCE_DIR}/lib)

add_definitions(-DUSE_DEMUX)
Expand Down
5 changes: 1 addition & 4 deletions lib/libhts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
cmake_minimum_required(VERSION 3.5)
PROJECT(hts)

ENABLE_LANGUAGE(C)

CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

SET(SOURCES htsbuf.c
htsmsg_binary.c
htsmsg.c
Expand Down
2 changes: 1 addition & 1 deletion pvr.hts/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.hts"
version="4.4.18"
version="4.4.19"
name="Tvheadend HTSP Client"
provider-name="Adam Sutton, Sam Stenvall, Lars Op den Kamp, Kai Sommerfeld">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
4 changes: 4 additions & 0 deletions pvr.hts/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
4.4.19
- Update build system version and cleanup
- Change kodi header include way

4.4.18
- Predictive tuning: Fix unability to retune to a channel that was closed immediately before.

Expand Down
4 changes: 2 additions & 2 deletions src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
*/

#include "client.h"
#include "xbmc_pvr_dll.h"
#include "libKODI_guilib.h"
#include "kodi/xbmc_pvr_dll.h"
#include "kodi/libKODI_guilib.h"
#include "p8-platform/util/util.h"
#include "Tvheadend.h"
#include "tvheadend/Settings.h"
Expand Down
4 changes: 2 additions & 2 deletions src/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*/

#include "p8-platform/os.h"
#include "libXBMC_addon.h"
#include "libXBMC_pvr.h"
#include "kodi/libXBMC_addon.h"
#include "kodi/libXBMC_pvr.h"

extern ADDON::CHelper_libXBMC_addon* XBMC;
extern CHelper_libXBMC_pvr* PVR;
2 changes: 1 addition & 1 deletion src/tvheadend/AutoRecordings.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extern "C"
#include "libhts/htsmsg.h"
}

#include "libXBMC_pvr.h"
#include "kodi/libXBMC_pvr.h"
#include "entity/AutoRecording.h"

namespace tvheadend
Expand Down
2 changes: 1 addition & 1 deletion src/tvheadend/HTSPConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extern "C" {
#include "libhts/htsmsg.h"
}

#include "libXBMC_pvr.h"
#include "kodi/libXBMC_pvr.h"

#include "p8-platform/sockets/tcp.h"
#include "p8-platform/threads/mutex.h"
Expand Down
2 changes: 1 addition & 1 deletion src/tvheadend/HTSPDemuxer.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ extern "C" {
#include "libhts/htsmsg.h"
}

#include "libXBMC_pvr.h"
#include "kodi/libXBMC_pvr.h"

#include "p8-platform/threads/mutex.h"
#include "p8-platform/util/buffer.h"
Expand Down
2 changes: 1 addition & 1 deletion src/tvheadend/HTSPTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <string>
#include <vector>

#include "libXBMC_pvr.h"
#include "kodi/libXBMC_pvr.h"

#include "entity/Event.h"

Expand Down
2 changes: 1 addition & 1 deletion src/tvheadend/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <string>

#include "HTSPTypes.h"
#include "xbmc_addon_types.h"
#include "kodi/xbmc_addon_types.h"

namespace tvheadend {

Expand Down
2 changes: 1 addition & 1 deletion src/tvheadend/TimeRecordings.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extern "C"
#include "libhts/htsmsg.h"
}

#include "libXBMC_pvr.h"
#include "kodi/libXBMC_pvr.h"
#include "entity/TimeRecording.h"

namespace tvheadend
Expand Down
2 changes: 1 addition & 1 deletion src/tvheadend/entity/Event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "Event.h"

#include "p8-platform/util/StringUtils.h"
#include "xbmc_epg_types.h"
#include "kodi/xbmc_epg_types.h"

using namespace tvheadend::entity;

Expand Down
2 changes: 1 addition & 1 deletion src/tvheadend/entity/Recording.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <algorithm>
#include <map>
#include <string>
#include "xbmc_pvr_types.h"
#include "kodi/xbmc_pvr_types.h"
#include "Entity.h"
#include "../utilities/LifetimeMapper.h"

Expand Down
2 changes: 1 addition & 1 deletion src/tvheadend/status/DescrambleInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "DescrambleInfo.h"

#include "xbmc_pvr_types.h"
#include "kodi/xbmc_pvr_types.h"

using namespace tvheadend::status;

Expand Down

0 comments on commit d5488d2

Please sign in to comment.