From f7801d1dfa80fb164ae08383edfed819b6743648 Mon Sep 17 00:00:00 2001 From: "h.udo" Date: Fri, 13 May 2016 15:31:42 +0100 Subject: [PATCH 1/3] Fix includes --- src/ChannelMaps.h | 2 +- src/DSPProcessFreeSurround.cpp | 4 ++-- src/DSPProcessFreeSurround.h | 2 +- src/FreeSurroundSettings.cpp | 8 ++++---- src/GUIDialogFreeSurround.cpp | 8 ++++---- src/addon.cpp | 2 +- src/addon.h | 6 +++--- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/ChannelMaps.h b/src/ChannelMaps.h index 9cf4989..4dc5207 100644 --- a/src/ChannelMaps.h +++ b/src/ChannelMaps.h @@ -28,7 +28,7 @@ #include #include -#include "kodi/kodi_adsp_types.h" +#include "kodi_adsp_types.h" /* * Identifier translation from FreeSurround to KODI ADSP diff --git a/src/DSPProcessFreeSurround.cpp b/src/DSPProcessFreeSurround.cpp index 468894e..16ede5a 100644 --- a/src/DSPProcessFreeSurround.cpp +++ b/src/DSPProcessFreeSurround.cpp @@ -22,8 +22,8 @@ #include #include -#include "kodi/libXBMC_addon.h" -#include "kodi/libKODI_adsp.h" +#include "libXBMC_addon.h" +#include "libKODI_adsp.h" #include "p8-platform/util/StdString.h" #include "addon.h" diff --git a/src/DSPProcessFreeSurround.h b/src/DSPProcessFreeSurround.h index bd2dddc..cbdf567 100644 --- a/src/DSPProcessFreeSurround.h +++ b/src/DSPProcessFreeSurround.h @@ -22,7 +22,7 @@ #include #include -#include "kodi/kodi_adsp_types.h" +#include "kodi_adsp_types.h" #include "FreeSurroundDecoder.h" #include "FreeSurroundSettings.h" diff --git a/src/FreeSurroundSettings.cpp b/src/FreeSurroundSettings.cpp index 6644448..fa9bd67 100644 --- a/src/FreeSurroundSettings.cpp +++ b/src/FreeSurroundSettings.cpp @@ -17,11 +17,11 @@ * */ -#include "kodi/libXBMC_addon.h" -#include "kodi/libKODI_adsp.h" -#include "kodi/libKODI_guilib.h" +#include "libXBMC_addon.h" +#include "libKODI_adsp.h" +#include "libKODI_guilib.h" -#include "kodi/util/XMLUtils.h" +#include "util/XMLUtils.h" #include "p8-platform/util/util.h" #include "p8-platform/util/StdString.h" diff --git a/src/GUIDialogFreeSurround.cpp b/src/GUIDialogFreeSurround.cpp index 872d9df..f61a722 100644 --- a/src/GUIDialogFreeSurround.cpp +++ b/src/GUIDialogFreeSurround.cpp @@ -17,11 +17,11 @@ * */ -#include "kodi/libXBMC_addon.h" -#include "kodi/libKODI_adsp.h" -#include "kodi/libKODI_guilib.h" +#include "libXBMC_addon.h" +#include "libKODI_adsp.h" +#include "libKODI_guilib.h" -#include "kodi/util/XMLUtils.h" +#include "util/XMLUtils.h" #include "p8-platform/util/util.h" #include "GUIDialogFreeSurround.h" diff --git a/src/addon.cpp b/src/addon.cpp index fb19fc7..5fc26d9 100644 --- a/src/addon.cpp +++ b/src/addon.cpp @@ -20,7 +20,7 @@ #include #include #include "addon.h" -#include "kodi/kodi_adsp_dll.h" +#include "kodi_adsp_dll.h" #include "p8-platform/util/util.h" #include "p8-platform/util/StdString.h" #include "GUIDialogFreeSurround.h" diff --git a/src/addon.h b/src/addon.h index 0f6d9b2..c8a76e9 100644 --- a/src/addon.h +++ b/src/addon.h @@ -18,9 +18,9 @@ * */ -#include "kodi/libXBMC_addon.h" -#include "kodi/libKODI_adsp.h" -#include "kodi/libKODI_guilib.h" +#include "libXBMC_addon.h" +#include "libKODI_adsp.h" +#include "libKODI_guilib.h" class CDSPProcess_FreeSurround; From 6420156e28241bc3fa65932a1a6dace8d2ffb904 Mon Sep 17 00:00:00 2001 From: "h.udo" Date: Fri, 13 May 2016 15:45:18 +0100 Subject: [PATCH 2/3] Automatically fill in platform and library name --- adsp.freesurround/{addon.xml => addon.xml.in} | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) rename adsp.freesurround/{addon.xml => addon.xml.in} (81%) diff --git a/adsp.freesurround/addon.xml b/adsp.freesurround/addon.xml.in similarity index 81% rename from adsp.freesurround/addon.xml rename to adsp.freesurround/addon.xml.in index 65438a5..00343f8 100644 --- a/adsp.freesurround/addon.xml +++ b/adsp.freesurround/addon.xml.in @@ -10,17 +10,13 @@ + library_@PLATFORM@="@LIBRARY_FILENAME@"/> Free Surround Audio DSP Processor FreeSurround is meant to be the KODI equivalent of your hi-fi receiver's Dolby ProLogic II button. It's purpose is to decode surround information from your stereo music and to produce multichannel output from it. This is a open source audio dsp processing system, based upon work from pro_optimizer on foobar2000 - all + @PLATFORM@ GNU GENERAL PUBLIC LICENSE. Version 3, June 2007 http://forum.kodi.tv/forumdisplay.php?fid=235 From 5ea1654c384025ddde2351df8c38af974b65f6d9 Mon Sep 17 00:00:00 2001 From: "h.udo" Date: Tue, 17 May 2016 00:01:31 +0100 Subject: [PATCH 3/3] [cmake] Rename find_package(kodi) to Kodi --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c12f2ae..3eb0712 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}) enable_language(CXX) -find_package(kodi REQUIRED) +find_package(Kodi REQUIRED) find_package(kodiplatform REQUIRED) find_package(p8-platform REQUIRED)