blob: f7370055ff1ca639c417dd34a8bbdfeb3d693224 (
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
|
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets x11extras
CONFIG += debug_and_release
TARGET = lumina-wm
isEmpty(PREFIX) {
PREFIX = /usr/local
}
target.path = $$DESTDIR$$PREFIX/bin
isEmpty(LIBPREFIX) {
LIBPREFIX = $$PREFIX/lib
}
LIBS += -L../libLumina -L$$LIBPREFIX -lLuminaUtils -lxcb -lxcb-damage -lxcb-composite -lxcb-screensaver -lxcb-util
QMAKE_LIBDIR = ../libLumina
DEPENDPATH += ../libLumina
TEMPLATE = app
isEmpty(QT5LIBDIR) {
QT5LIBDIR = $$PREFIX/lib/qt5
}
LRELEASE = $$QT5LIBDIR/bin/lrelease
SOURCES += main.cpp \
WMSession.cpp \
LScreenSaver.cpp \
LXcbEventFilter.cpp \
LWindow.cpp
HEADERS += GlobalDefines.h \
WMSession.h \
LScreenSaver.h \
LXcbEventFilter.h \
LWindow.h
FORMS +=
INCLUDEPATH += ../libLumina $$PREFIX/include
TRANSLATIONS = i18n/lumina-wm_af.ts \
i18n/lumina-wm_ar.ts \
i18n/lumina-wm_az.ts \
i18n/lumina-wm_bg.ts \
i18n/lumina-wm_bn.ts \
i18n/lumina-wm_bs.ts \
i18n/lumina-wm_ca.ts \
i18n/lumina-wm_cs.ts \
i18n/lumina-wm_cy.ts \
i18n/lumina-wm_da.ts \
i18n/lumina-wm_de.ts \
i18n/lumina-wm_el.ts \
i18n/lumina-wm_en_GB.ts \
i18n/lumina-wm_en_ZA.ts \
i18n/lumina-wm_es.ts \
i18n/lumina-wm_et.ts \
i18n/lumina-wm_eu.ts \
i18n/lumina-wm_fa.ts \
i18n/lumina-wm_fi.ts \
i18n/lumina-wm_fr.ts \
i18n/lumina-wm_fr_CA.ts \
i18n/lumina-wm_gl.ts \
i18n/lumina-wm_he.ts \
i18n/lumina-wm_hi.ts \
i18n/lumina-wm_hr.ts \
i18n/lumina-wm_hu.ts \
i18n/lumina-wm_id.ts \
i18n/lumina-wm_is.ts \
i18n/lumina-wm_it.ts \
i18n/lumina-wm_ja.ts \
i18n/lumina-wm_ka.ts \
i18n/lumina-wm_ko.ts \
i18n/lumina-wm_lt.ts \
i18n/lumina-wm_lv.ts \
i18n/lumina-wm_mk.ts \
i18n/lumina-wm_mn.ts \
i18n/lumina-wm_ms.ts \
i18n/lumina-wm_mt.ts \
i18n/lumina-wm_nb.ts \
i18n/lumina-wm_nl.ts \
i18n/lumina-wm_pa.ts \
i18n/lumina-wm_pl.ts \
i18n/lumina-wm_pt.ts \
i18n/lumina-wm_pt_BR.ts \
i18n/lumina-wm_ro.ts \
i18n/lumina-wm_ru.ts \
i18n/lumina-wm_sk.ts \
i18n/lumina-wm_sl.ts \
i18n/lumina-wm_sr.ts \
i18n/lumina-wm_sv.ts \
i18n/lumina-wm_sw.ts \
i18n/lumina-wm_ta.ts \
i18n/lumina-wm_tg.ts \
i18n/lumina-wm_th.ts \
i18n/lumina-wm_tr.ts \
i18n/lumina-wm_uk.ts \
i18n/lumina-wm_uz.ts \
i18n/lumina-wm_vi.ts \
i18n/lumina-wm_zh_CN.ts \
i18n/lumina-wm_zh_HK.ts \
i18n/lumina-wm_zh_TW.ts \
i18n/lumina-wm_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
}
|