-
Notifications
You must be signed in to change notification settings - Fork 10
/
telescope.pro
45 lines (34 loc) · 1.36 KB
/
telescope.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
TEMPLATE = subdirs
load(ubuntu-click)
SUBDIRS += app asteroidsyncservice
# specify the manifest file, this file is required for click
# packaging and for the IDE to create runconfigurations
UBUNTU_MANIFEST_FILE=manifest.json.in
# specify translation domain, this must be equal with the
# app name in the manifest file
UBUNTU_TRANSLATION_DOMAIN="telescope.asteroidos"
# specify the source files that should be included into
# the translation file, from those files a translation
# template is created in po/template.pot, to create a
# translation copy the template to e.g. de.po and edit the sources
UBUNTU_TRANSLATION_SOURCES+= \
$$files(app/qml/*.qml,true)
# specifies all translations files and makes sure they are
# compiled and installed into the right place in the click package
UBUNTU_PO_FILES+=$$files(po/*.po)
ASSETS_FILES += assets/icon.svg
ARCH_TRIPLET=$$(ARCH_TRIPLET)
QMAKE_SUBSTITUTES += telescope.desktop.in
#specify where the config files are installed to
assets_files.path = /assets
assets_files.files += $${ASSETS_FILES}
message($$assets_files.files)
INSTALLS+=assets_files
OTHER_FILES += asteroidsyncserviced.apparmor \
telescope.apparmor \
telescope.desktop
#specify where the config files are installed to
config_files.path = /
config_files.files += $${OTHER_FILES}
message($$config_files.files)
INSTALLS+=config_files