summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2016-03-20 13:05:06 +0100
committerlouis <louis.braun@gmx.de>2016-03-20 13:05:06 +0100
commit3af04d6b1a2404fa1dba23efbfb9e0505b0146a3 (patch)
tree52871655c7bcf8e06b73addb5d8d7901faa67cf4
parent1d6c2566bc45fc338f9073c1a60aa39bd756d1ff (diff)
downloadvdr-plugin-skindesigner-3af04d6b1a2404fa1dba23efbfb9e0505b0146a3.tar.gz
vdr-plugin-skindesigner-3af04d6b1a2404fa1dba23efbfb9e0505b0146a3.tar.bz2
added makefile option to disable skininstaller
-rw-r--r--Makefile3
-rw-r--r--setup.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b7ac9d0..807a054 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/setup.c b/setup.c
index 4eecf69..813d03a 100644
--- a/setup.c
+++ b/setup.c
@@ -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 -----------------------------------------------------------