blob: 53e2dd2dffbce423bb7704c8742a11dcac9aaafe (
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
|
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets multimedia multimediawidgets network
TARGET = lumina-fm
isEmpty(PREFIX) {
PREFIX = /usr/local
}
target.path = $$PREFIX/bin
isEmpty(LIBPREFIX) {
LIBPREFIX = $$PREFIX/lib
}
TEMPLATE = app
SOURCES += main.cpp \
MainUI.cpp \
FODialog.cpp \
BMMDialog.cpp \
BackgroundWorker.cpp
HEADERS += MainUI.h \
FODialog.h \
BMMDialog.h \
MimeIconProvider.h \
BackgroundWorker.h \
DDFileSystemModel.h
FORMS += MainUI.ui \
FODialog.ui \
BMMDialog.ui
# RESOURCES+= lumina-fm.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-fm_af.ts \
i18n/lumina-fm_ar.ts \
i18n/lumina-fm_az.ts \
i18n/lumina-fm_bg.ts \
i18n/lumina-fm_bn.ts \
i18n/lumina-fm_bs.ts \
i18n/lumina-fm_ca.ts \
i18n/lumina-fm_cs.ts \
i18n/lumina-fm_cy.ts \
i18n/lumina-fm_da.ts \
i18n/lumina-fm_de.ts \
i18n/lumina-fm_el.ts \
i18n/lumina-fm_en_GB.ts \
i18n/lumina-fm_en_ZA.ts \
i18n/lumina-fm_es.ts \
i18n/lumina-fm_et.ts \
i18n/lumina-fm_eu.ts \
i18n/lumina-fm_fa.ts \
i18n/lumina-fm_fi.ts \
i18n/lumina-fm_fr.ts \
i18n/lumina-fm_fr_CA.ts \
i18n/lumina-fm_gl.ts \
i18n/lumina-fm_he.ts \
i18n/lumina-fm_hi.ts \
i18n/lumina-fm_hr.ts \
i18n/lumina-fm_hu.ts \
i18n/lumina-fm_id.ts \
i18n/lumina-fm_is.ts \
i18n/lumina-fm_it.ts \
i18n/lumina-fm_ja.ts \
i18n/lumina-fm_ka.ts \
i18n/lumina-fm_ko.ts \
i18n/lumina-fm_lt.ts \
i18n/lumina-fm_lv.ts \
i18n/lumina-fm_mk.ts \
i18n/lumina-fm_mn.ts \
i18n/lumina-fm_ms.ts \
i18n/lumina-fm_mt.ts \
i18n/lumina-fm_nb.ts \
i18n/lumina-fm_nl.ts \
i18n/lumina-fm_pa.ts \
i18n/lumina-fm_pl.ts \
i18n/lumina-fm_pt.ts \
i18n/lumina-fm_pt_BR.ts \
i18n/lumina-fm_ro.ts \
i18n/lumina-fm_ru.ts \
i18n/lumina-fm_sk.ts \
i18n/lumina-fm_sl.ts \
i18n/lumina-fm_sr.ts \
i18n/lumina-fm_sv.ts \
i18n/lumina-fm_sw.ts \
i18n/lumina-fm_ta.ts \
i18n/lumina-fm_tg.ts \
i18n/lumina-fm_th.ts \
i18n/lumina-fm_tr.ts \
i18n/lumina-fm_uk.ts \
i18n/lumina-fm_uz.ts \
i18n/lumina-fm_vi.ts \
i18n/lumina-fm_zh_CN.ts \
i18n/lumina-fm_zh_HK.ts \
i18n/lumina-fm_zh_TW.ts \
i18n/lumina-fm_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/
desktop.files=lumina-fm.desktop
desktop.path=$$PREFIX/share/applications/
INSTALLS += target dotrans desktop
|