diff options
author | louis <louis.braun@gmx.de> | 2016-03-20 13:05:06 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2016-03-20 13:05:06 +0100 |
commit | 3af04d6b1a2404fa1dba23efbfb9e0505b0146a3 (patch) | |
tree | 52871655c7bcf8e06b73addb5d8d7901faa67cf4 | |
parent | 1d6c2566bc45fc338f9073c1a60aa39bd756d1ff (diff) | |
download | vdr-plugin-skindesigner-3af04d6b1a2404fa1dba23efbfb9e0505b0146a3.tar.gz vdr-plugin-skindesigner-3af04d6b1a2404fa1dba23efbfb9e0505b0146a3.tar.bz2 |
added makefile option to disable skininstaller
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | setup.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,8 @@ # $Id$ Makefile 1.0 2014/07/24 louis Exp $ # Config -CONFIG := #-DDOPROFILE # enable profiling code +CONFIG := #-DDOPROFILE # enable profiling code +CONFIG += -DUSE_SKININSTALLER # use skin installer in skindesigner setup # The official name of this plugin. PLUGIN = skindesigner @@ -360,6 +360,7 @@ void cSkinDesignerSetup::SkinSetup(void) { } void cSkinDesignerSetup::InstallSkins(void) { +#ifdef USE_SKININSTALLER Add(InfoItem(tr("Install new skins"))); config.InitSkinRepoIterator(); @@ -369,6 +370,7 @@ void cSkinDesignerSetup::InstallSkins(void) { continue; Add(new cSkinMenuItem(repo->Name(), *cString::sprintf("%s %s", tr("Preview Skin"), repo->Name().c_str()), itSkinRepo)); } +#endif } // --- cSkinMenuItem ----------------------------------------------------------- |