-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathubuntu-twitchtube.pro
44 lines (32 loc) · 1.17 KB
/
ubuntu-twitchtube.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
TEMPLATE = app
TARGET = TwitchTube
load(ubuntu-click)
include(common.pri)
# specify the manifest file, this file is required for click
# packaging and for the IDE to create runconfigurations
UBUNTU_MANIFEST_FILE=ubuntu/manifest.json.in
# specify translation domain, this must be equal with the
# app name in the manifest file
UBUNTU_TRANSLATION_DOMAIN="twitchtube.aldrog"
DEFINES += OS_UBUNTU
RESOURCES += ubuntu-ui/TwitchTube.qrc
QML_FILES += $$files(ubuntu-ui/*.qml,true) \
$$files(ubuntu-ui/*.js,true)
CONF_FILES += ubuntu/TwitchTube.apparmor \
ubuntu/TwitchTube.png
OTHER_FILES += $${CONF_FILES} \
$${QML_FILES} \
ubuntu/TwitchTube.desktop
#specify where the config files are installed to
config_files.path = /TwitchTube
config_files.files += $${CONF_FILES}
INSTALLS += config_files
#install the desktop file, a translated version is
#automatically created in the build directory
desktop_file.path = /TwitchTube
desktop_file.files = ubuntu/TwitchTube.desktop
desktop_file.CONFIG += no_check_exist
INSTALLS+=desktop_file
# Default rules for deployment.
target.path = $${UBUNTU_CLICK_BINARY_PATH}
INSTALLS += target