diff options
author | louis <louis.braun@gmx.de> | 2015-04-03 09:19:15 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-04-03 09:19:15 +0200 |
commit | 81e0f0223a1e80fad4f36486b29a8716f65b4a4a (patch) | |
tree | faf03287c44893aef4cdd2ee34160bcd19e5192b | |
parent | 759af0a48df36faf4ffda0d515cabcd6ffd9ee6e (diff) | |
download | vdr-plugin-tvguideng-81e0f0223a1e80fad4f36486b29a8716f65b4a4a.tar.gz vdr-plugin-tvguideng-81e0f0223a1e80fad4f36486b29a8716f65b4a4a.tar.bz2 |
lib versioning
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | tvguideng.c | 1 |
2 files changed, 4 insertions, 2 deletions
@@ -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"); |