-
Notifications
You must be signed in to change notification settings - Fork 1
/
ambience-sailorpinup.pro
executable file
·55 lines (44 loc) · 1.43 KB
/
ambience-sailorpinup.pro
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
TEMPLATE = aux
NAME=ambience-sailorpinup
OTHER_FILES = \
$${NAME}.ambience \
sounds.index \
images/* \
sounds/* \
translations/* \
rpm/* \
README
ambience.files = \
$${NAME}.ambience \
sounds.index
ambience.path = /usr/share/ambience/$${NAME}
images.files = images/*
images.path = $${ambience.path}/images
sounds.files = sounds/*
sounds.path = $${ambience.path}/sounds
TS_FILE = $$OUT_PWD/translations/$${NAME}.ts
EE_QM = $$OUT_PWD/translations/$${NAME}_eng_en.qm
ts.commands += lupdate $$IN_PWD/ -ts $$TS_FILE
ts.CONFIG += no_check_exist no_link
ts.output = $$TS_FILE
ts.input = .
ts_install.files = $$TS_FILE
ts_install.path = /usr/share/translations/source
ts_install.CONFIG += no_check_exist
# should add -markuntranslated "-" when proper translations are in place (or for testing)
engineering_english.commands += lrelease -idbased $$TS_FILE -qm $$EE_QM
engineering_english.CONFIG += no_check_exist no_link
engineering_english.depends = ts
engineering_english.input = $$TS_FILE
engineering_english.output = $$EE_QM
engineering_english_install.path = /usr/share/translations
engineering_english_install.files = $$EE_QM
engineering_english_install.CONFIG += no_check_exist
QMAKE_EXTRA_TARGETS += ts engineering_english
PRE_TARGETDEPS += ts engineering_english
INSTALLS += \
ambience \
images \
sounds \
ts_install \
engineering_english_install