aboutsummaryrefslogtreecommitdiff
path: root/lumina-config/lumina-config.pro
blob: f7df7cdfd19c3c1a1cc66690f2f9046bf7e8165b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129

QT       += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets x11extras network

TARGET = lumina-config
isEmpty(PREFIX) {
 PREFIX = /usr/local
}
target.path = $$PREFIX/bin

isEmpty(LIBPREFIX) {
 LIBPREFIX = $$PREFIX/lib
}

TEMPLATE = app

SOURCES += main.cpp \
	   mainUI.cpp \
	   LPlugins.cpp \
	   ColorDialog.cpp \
	   ThemeDialog.cpp \
	   GetPluginDialog.cpp \
	   PanelWidget.cpp

HEADERS  += mainUI.h \
		LPlugins.h \
		KeyCatch.h \
		AppDialog.h \
		ColorDialog.h \
		ThemeDialog.h \
		GetPluginDialog.h \
		PanelWidget.h

FORMS    += mainUI.ui \
		KeyCatch.ui \
		AppDialog.ui \
		ColorDialog.ui \
		ThemeDialog.ui \
		GetPluginDialog.ui \
		PanelWidget.ui


# RESOURCES+= lumina-config.qrc

INCLUDEPATH += ../libLumina $$PREFIX/include

LIBS += -L../libLumina -L$$LIBPREFIX -lLuminaUtils

isEmpty(QT5LIBDIR) {
 QT5LIBDIR = $$PREFIX/lib/qt5
}

LRELEASE = $$QT5LIBDIR/bin/lrelease


QMAKE_LIBDIR	= ../libLumina
DEPENDPATH	+= ../libLumina

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=$$PREFIX/share/Lumina-DE/i18n/
dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$$PREFIX/share/Lumina-DE/i18n/

INSTALLS += target dotrans

NO_I18N{
  INSTALLS -= dotrans
}
bgstack15