diff options
| author | louis <louis.braun@gmx.de> | 2015-04-03 09:18:57 +0200 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2015-04-03 09:18:57 +0200 |
| commit | a7f081f83fa66d8e24e83a970ff1de7a796a5046 (patch) | |
| tree | 96c8c967285e7e3e10e01204acbffb594917d810 | |
| parent | 92d75fc8fce2742ec317b8b6f834722c24a85478 (diff) | |
| download | vdr-plugin-weatherforecast-a7f081f83fa66d8e24e83a970ff1de7a796a5046.tar.gz vdr-plugin-weatherforecast-a7f081f83fa66d8e24e83a970ff1de7a796a5046.tar.bz2 | |
lib versioning
| -rw-r--r-- | Makefile | 1 | ||||
| -rw-r--r-- | weatherforecast.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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"); |
