Skip to content

Commit

Permalink
Merge pull request #22 from AlwinEsch/Matrix-change
Browse files Browse the repository at this point in the history
[Matrix] update CMakeLists.txt to 3.5 and change include way
  • Loading branch information
flubshi authored Aug 25, 2019
2 parents 5ec63f1 + 76d617d commit 62bcdf9
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 19 deletions.
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# build artifacts
build/
pvr.*/addon.xml

# Debian build files
debian/changelog
debian/files
debian/*.log
debian/*.substvars
debian/.debhelper/
debian/tmp/
debian/kodi-pvr-*/
obj-x86_64-linux-gnu/

# commonly used editors
# vim
*.swp

# Eclipse
*.project
*.cproject
.classpath
*.sublime-*
.settings/

# KDevelop 4
*.kdev4

# Visual Studio
.vs/

# gedit
*~

# CLion
/.idea

# clion
.idea/
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ matrix:
sudo: required
compiler: clang
- os: osx
osx_image: xcode9
- os: osx
osx_image: xcode9.4
osx_image: xcode10.2

#
# The addon source is automatically checked out in $TRAVIS_BUILD_DIR,
Expand Down
7 changes: 2 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
cmake_minimum_required(VERSION 3.5)
project(pvr.waipu)

cmake_minimum_required(VERSION 2.6)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR})

enable_language(CXX)

find_package(Kodi REQUIRED)
find_package(p8-platform REQUIRED)
find_package(RapidJSON 1.0.2 REQUIRED)

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

set(DEPLIBS ${p8-platform_LIBRARIES})
Expand Down
14 changes: 7 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: BuildNr.{build}

image: Visual Studio 2015
image: Visual Studio 2017

shallow_clone: true

Expand All @@ -10,16 +10,16 @@ environment:
app_id: pvr.waipu

matrix:
- GENERATOR: "Visual Studio 14"
- GENERATOR: "Visual Studio 15"
CONFIG: Release
- GENERATOR: "Visual Studio 14 Win64"
- GENERATOR: "Visual Studio 15 Win64"
CONFIG: Release
- GENERATOR: "Visual Studio 14 Win64"
- GENERATOR: "Visual Studio 15 Win64"
CONFIG: Release
WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.16299.0"
- GENERATOR: "Visual Studio 14 ARM"
WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.17763.0"
- GENERATOR: "Visual Studio 15 ARM"
CONFIG: Release
WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.16299.0"
WINSTORE: -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0.17763.0"

build_script:
- cd ..
Expand Down
3 changes: 2 additions & 1 deletion pvr.waipu/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.waipu"
version="1.0.7"
version="1.0.8"
name="waipu.tv PVR Client"
provider-name="flubshi">
<requires>@ADDON_DEPENDS@
Expand Down Expand Up @@ -29,6 +29,7 @@
<screenshot>resources/screenshots/screenshot-02.jpg</screenshot>
</assets>
<news>
- 1.0.8 Update build sytem version; change header include way
- 1.0.7 Add workaround for O2 Accounts
- 1.0.6 Improved error handling related to login problems (no network, invalid credentials)
- 1.0.5 Settings check requirements: handle network issues
Expand Down
2 changes: 1 addition & 1 deletion src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/

#include "client.h"
#include "xbmc_pvr_dll.h"
#include "kodi/xbmc_pvr_dll.h"
#include "WaipuData.h"
#include <p8-platform/util/util.h>

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

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

extern bool m_bCreated;
extern std::string g_strUserPath;
Expand Down

0 comments on commit 62bcdf9

Please sign in to comment.