summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--tvguideng.c1
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 65c60e1..931e01c 100644
--- a/Makefile
+++ b/Makefile
@@ -47,10 +47,11 @@ SOFILE = libvdr-$(PLUGIN).so
### Includes and Defines (add further entries here):
+DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+
INCLUDES += $(shell pkg-config --cflags libskindesignerapi)
LIBS += $(shell pkg-config --libs libskindesignerapi)
-
-DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+DEFINES += -DLIBSKINDESIGNERAPIVERSION='"$(shell pkg-config --modversion libskindesignerapi)"'
### The object files (add further files here):
diff --git a/tvguideng.c b/tvguideng.c
index 933d196..3f08bb0 100644
--- a/tvguideng.c
+++ b/tvguideng.c
@@ -64,6 +64,7 @@ bool cPluginTvguideng::Initialize(void) {
bool cPluginTvguideng::Start(void) {
skindesignerapi::cPluginStructure plugStruct;
plugStruct.name = "tvguideng";
+ plugStruct.libskindesignerAPIVersion = LIBSKINDESIGNERAPIVERSION;
plugStruct.SetView(viRootView, "root.xml");
plugStruct.SetViewElement(viRootView, verBackgroundHor, "background_hor");
plugStruct.SetViewElement(viRootView, verBackgroundVer, "background_ver");