summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-04-03 09:18:57 +0200
committerlouis <louis.braun@gmx.de>2015-04-03 09:18:57 +0200
commita7f081f83fa66d8e24e83a970ff1de7a796a5046 (patch)
tree96c8c967285e7e3e10e01204acbffb594917d810
parent92d75fc8fce2742ec317b8b6f834722c24a85478 (diff)
downloadvdr-plugin-weatherforecast-a7f081f83fa66d8e24e83a970ff1de7a796a5046.tar.gz
vdr-plugin-weatherforecast-a7f081f83fa66d8e24e83a970ff1de7a796a5046.tar.bz2
lib versioning
-rw-r--r--Makefile1
-rw-r--r--weatherforecast.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2d96aa9..7e4b9d0 100644
--- a/Makefile
+++ b/Makefile
@@ -56,6 +56,7 @@ LIBS += $(shell pkg-config --cflags --libs jansson)
INCLUDES += $(shell pkg-config --cflags libskindesignerapi)
LIBS += $(shell pkg-config --libs libskindesignerapi)
+DEFINES += -DLIBSKINDESIGNERAPIVERSION='"$(shell pkg-config --modversion libskindesignerapi)"'
### The object files (add further files here):
diff --git a/weatherforecast.c b/weatherforecast.c
index f4576ea..e8da39d 100644
--- a/weatherforecast.c
+++ b/weatherforecast.c
@@ -94,6 +94,7 @@ bool cPluginWeatherforecast::Start(void) {
skindesignerapi::cPluginStructure plugStruct;
plugStruct.name = "weatherforecast";
+ plugStruct.libskindesignerAPIVersion = LIBSKINDESIGNERAPIVERSION;
plugStruct.SetMenu(meRoot, "weatherforecast.xml");
plugStruct.SetMenu(meDetailCurrent, "weatherforecastdetailcurrent.xml");
plugStruct.SetMenu(meDetailHourly, "weatherforecastdetailhourly.xml");