blob: 34e0171736632f683b41dffb5a06633686e8ccc6 (
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
|
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets concurrent
TARGET = lumina-fileinfo
TEMPLATE = app
isEmpty(PREFIX) {
PREFIX = /usr/local
}
target.path = $$DESTDIR$$PREFIX/bin
isEmpty(LIBPREFIX) {
LIBPREFIX = $$PREFIX/lib
}
SOURCES += main.cpp\
MainUI.cpp
HEADERS += MainUI.h
FORMS += MainUI.ui
#RESOURCES+= lumina-fileinfo.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-fileinfo_af.ts \
i18n/lumina-fileinfo_ar.ts \
i18n/lumina-fileinfo_az.ts \
i18n/lumina-fileinfo_bg.ts \
i18n/lumina-fileinfo_bn.ts \
i18n/lumina-fileinfo_bs.ts \
i18n/lumina-fileinfo_ca.ts \
i18n/lumina-fileinfo_cs.ts \
i18n/lumina-fileinfo_cy.ts \
i18n/lumina-fileinfo_da.ts \
i18n/lumina-fileinfo_de.ts \
i18n/lumina-fileinfo_el.ts \
i18n/lumina-fileinfo_en_GB.ts \
i18n/lumina-fileinfo_en_ZA.ts \
i18n/lumina-fileinfo_es.ts \
i18n/lumina-fileinfo_et.ts \
i18n/lumina-fileinfo_eu.ts \
i18n/lumina-fileinfo_fa.ts \
i18n/lumina-fileinfo_fi.ts \
i18n/lumina-fileinfo_fr.ts \
i18n/lumina-fileinfo_fr_CA.ts \
i18n/lumina-fileinfo_gl.ts \
i18n/lumina-fileinfo_he.ts \
i18n/lumina-fileinfo_hi.ts \
i18n/lumina-fileinfo_hr.ts \
i18n/lumina-fileinfo_hu.ts \
i18n/lumina-fileinfo_id.ts \
i18n/lumina-fileinfo_is.ts \
i18n/lumina-fileinfo_it.ts \
i18n/lumina-fileinfo_ja.ts \
i18n/lumina-fileinfo_ka.ts \
i18n/lumina-fileinfo_ko.ts \
i18n/lumina-fileinfo_lt.ts \
i18n/lumina-fileinfo_lv.ts \
i18n/lumina-fileinfo_mk.ts \
i18n/lumina-fileinfo_mn.ts \
i18n/lumina-fileinfo_ms.ts \
i18n/lumina-fileinfo_mt.ts \
i18n/lumina-fileinfo_nb.ts \
i18n/lumina-fileinfo_nl.ts \
i18n/lumina-fileinfo_pa.ts \
i18n/lumina-fileinfo_pl.ts \
i18n/lumina-fileinfo_pt.ts \
i18n/lumina-fileinfo_pt_BR.ts \
i18n/lumina-fileinfo_ro.ts \
i18n/lumina-fileinfo_ru.ts \
i18n/lumina-fileinfo_sk.ts \
i18n/lumina-fileinfo_sl.ts \
i18n/lumina-fileinfo_sr.ts \
i18n/lumina-fileinfo_sv.ts \
i18n/lumina-fileinfo_sw.ts \
i18n/lumina-fileinfo_ta.ts \
i18n/lumina-fileinfo_tg.ts \
i18n/lumina-fileinfo_th.ts \
i18n/lumina-fileinfo_tr.ts \
i18n/lumina-fileinfo_uk.ts \
i18n/lumina-fileinfo_uz.ts \
i18n/lumina-fileinfo_vi.ts \
i18n/lumina-fileinfo_zh_CN.ts \
i18n/lumina-fileinfo_zh_HK.ts \
i18n/lumina-fileinfo_zh_TW.ts \
i18n/lumina-fileinfo_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
}
|