aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-06-14 09:40:15 -0400
committerKen Moore <moorekou@gmail.com>2016-06-14 09:40:15 -0400
commita399c140305d5100f8dd9ca720e1c104451d874f (patch)
tree9403ef24fd6bf49a35b30d00343de286e014e646 /src-qt5/core-utils
parentA few changes: (diff)
downloadlumina-a399c140305d5100f8dd9ca720e1c104451d874f.tar.gz
lumina-a399c140305d5100f8dd9ca720e1c104451d874f.tar.bz2
lumina-a399c140305d5100f8dd9ca720e1c104451d874f.zip
Large update to the project files:
1) Move from "NO_I18N" to "WITH_I18N". This will ensure that the source version of the localizations are not installed unless explicitly requested (since the "real" localization files are in the lumina-i18n repo - these source files are theauto-generated ones before getting sent up to the pootle localization system). 2) Add a few more .desktop files for the various Lumina utilities.
Diffstat (limited to 'src-qt5/core-utils')
-rw-r--r--src-qt5/core-utils/lumina-config/lumina-config.pro9
-rw-r--r--src-qt5/core-utils/lumina-search/lumina-search.pro6
-rw-r--r--src-qt5/core-utils/lumina-xconfig/lumina-xconfig.pro9
3 files changed, 15 insertions, 9 deletions
diff --git a/src-qt5/core-utils/lumina-config/lumina-config.pro b/src-qt5/core-utils/lumina-config/lumina-config.pro
index 1f5d3f10..5beb22a8 100644
--- a/src-qt5/core-utils/lumina-config/lumina-config.pro
+++ b/src-qt5/core-utils/lumina-config/lumina-config.pro
@@ -109,8 +109,11 @@ TRANSLATIONS = i18n/lumina-config_af.ts \
dotrans.path=$${L_SHAREDIR}/Lumina-DE/i18n/
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/Lumina-DE/i18n/
-INSTALLS += target dotrans
+desktop.files=lumina-config.desktop
+desktop.path=$${L_SHAREDIR}/applications/
-NO_I18N{
- INSTALLS -= dotrans
+INSTALLS += target desktop
+
+WITH_I18N{
+ INSTALLS += dotrans
}
diff --git a/src-qt5/core-utils/lumina-search/lumina-search.pro b/src-qt5/core-utils/lumina-search/lumina-search.pro
index 2ba8b7c4..72dd75e6 100644
--- a/src-qt5/core-utils/lumina-search/lumina-search.pro
+++ b/src-qt5/core-utils/lumina-search/lumina-search.pro
@@ -95,8 +95,8 @@ dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_RO
desktop.files=lumina-search.desktop
desktop.path=$${L_SHAREDIR}/applications/
-INSTALLS += target dotrans desktop
+INSTALLS += target desktop
-NO_I18N{
- INSTALLS -= dotrans
+WITH_I18N{
+ INSTALLS += dotrans
}
diff --git a/src-qt5/core-utils/lumina-xconfig/lumina-xconfig.pro b/src-qt5/core-utils/lumina-xconfig/lumina-xconfig.pro
index 2661c19b..22a47d8a 100644
--- a/src-qt5/core-utils/lumina-xconfig/lumina-xconfig.pro
+++ b/src-qt5/core-utils/lumina-xconfig/lumina-xconfig.pro
@@ -90,8 +90,11 @@ TRANSLATIONS = i18n/lumina-xconfig_af.ts \
dotrans.path=$${L_SHAREDIR}/Lumina-DE/i18n/
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/Lumina-DE/i18n/
-INSTALLS += target dotrans
+desktop.files=lumina-xconfig.desktop
+desktop.path=$${L_SHAREDIR}/applications/
-NO_I18N{
- INSTALLS -= dotrans
+INSTALLS += target desktop
+
+WITH_I18N{
+ INSTALLS += dotrans
}
bgstack15