summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-04-03 09:19:15 +0200
committerlouis <louis.braun@gmx.de>2015-04-03 09:19:15 +0200
commit81e0f0223a1e80fad4f36486b29a8716f65b4a4a (patch)
treefaf03287c44893aef4cdd2ee34160bcd19e5192b
parent759af0a48df36faf4ffda0d515cabcd6ffd9ee6e (diff)
downloadvdr-plugin-tvguideng-81e0f0223a1e80fad4f36486b29a8716f65b4a4a.tar.gz
vdr-plugin-tvguideng-81e0f0223a1e80fad4f36486b29a8716f65b4a4a.tar.bz2
lib versioning
-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");