include("$${PWD}/../../OS-detect.pri") QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets x11extras network TARGET = lumina-config target.path = $${L_BINDIR} TEMPLATE = app #include all the special classes from the Lumina tree include(../../core/libLumina/LDesktopUtils.pri) #includes LUtils include(../../core/libLumina/LuminaXDG.pri) include(../../core/libLumina/LuminaSingleApplication.pri) include(../../core/libLumina/LuminaThemes.pri) SOURCES += main.cpp \ mainWindow.cpp \ LPlugins.cpp \ ColorDialog.cpp \ ThemeDialog.cpp \ GetPluginDialog.cpp \ ScriptDialog.cpp \ PanelWidget.cpp HEADERS += mainWindow.h \ LPlugins.h \ AppDialog.h \ ColorDialog.h \ ThemeDialog.h \ GetPluginDialog.h \ ScriptDialog.h \ PanelWidget.h FORMS += mainWindow.ui \ AppDialog.ui \ ColorDialog.ui \ ThemeDialog.ui \ GetPluginDialog.ui \ ScriptDialog.ui \ PanelWidget.ui include("pages/pages.pri") TRANSLATIONS = i18n/lumina-config_af.ts \ i18n/lumina-config_ar.ts \ i18n/lumina-config_az.ts \ i18n/lumina-config_bg.ts \ i18n/lumina-config_bn.ts \ i18n/lumina-config_bs.ts \ i18n/lumina-config_ca.ts \ i18n/lumina-config_cs.ts \ i18n/lumina-config_cy.ts \ i18n/lumina-config_da.ts \ i18n/lumina-config_de.ts \ i18n/lumina-config_el.ts \ i18n/lumina-config_en_GB.ts \ i18n/lumina-config_en_ZA.ts \ i18n/lumina-config_es.ts \ i18n/lumina-config_et.ts \ i18n/lumina-config_eu.ts \ i18n/lumina-config_fa.ts \ i18n/lumina-config_fi.ts \ i18n/lumina-config_fr.ts \ i18n/lumina-config_fr_CA.ts \ i18n/lumina-config_gl.ts \ i18n/lumina-config_he.ts \ i18n/lumina-config_hi.ts \ i18n/lumina-config_hr.ts \ i18n/lumina-config_hu.ts \ i18n/lumina-config_id.ts \ i18n/lumina-config_is.ts \ i18n/lumina-config_it.ts \ i18n/lumina-config_ja.ts \ i18n/lumina-config_ka.ts \ i18n/lumina-config_ko.ts \ i18n/lumina-config_lt.ts \ i18n/lumina-config_lv.ts \ i18n/lumina-config_mk.ts \ i18n/lumina-config_mn.ts \ i18n/lumina-config_ms.ts \ i18n/lumina-config_mt.ts \ i18n/lumina-config_nb.ts \ i18n/lumina-config_nl.ts \ i18n/lumina-config_pa.ts \ i18n/lumina-config_pl.ts \ i18n/lumina-config_pt.ts \ i18n/lumina-config_pt_BR.ts \ i18n/lumina-config_ro.ts \ i18n/lumina-config_ru.ts \ i18n/lumina-config_sk.ts \ i18n/lumina-config_sl.ts \ i18n/lumina-config_sr.ts \ i18n/lumina-config_sv.ts \ i18n/lumina-config_sw.ts \ i18n/lumina-config_ta.ts \ i18n/lumina-config_tg.ts \ i18n/lumina-config_th.ts \ i18n/lumina-config_tr.ts \ i18n/lumina-config_uk.ts \ i18n/lumina-config_uz.ts \ i18n/lumina-config_vi.ts \ i18n/lumina-config_zh_CN.ts \ i18n/lumina-config_zh_HK.ts \ i18n/lumina-config_zh_TW.ts \ i18n/lumina-config_zu.ts dotrans.path=$${L_SHAREDIR}/lumina-desktop/i18n/ dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/i18n/ desktop.files=lumina-config.desktop desktop.path=$${L_SHAREDIR}/applications/ INSTALLS += target desktop WITH_I18N{ INSTALLS += dotrans }