-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtomatotasktracker-desktop-unixinstall.pri
62 lines (48 loc) · 2.7 KB
/
tomatotasktracker-desktop-unixinstall.pri
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
unix {
docs.files = \
$$PWD/ABOUT \
$$PWD/AUTHORS \
$$PWD/CHANGELOG \
$$PWD/LIBRARIES \
$$PWD/LICENSE \
$$PWD/LICENSE.GPL-3+ \
$$PWD/translations/docs/* \
sounds.files = \
$$PWD/res/sounds/*.wav \
translations.files = \
$$PWD/translations/*.qm \
icons.files = \
$$PWD/res/icons/hicolor/128x128/* \
desktopfiles.files = \
$$PWD/res/desktopfiles/$${TARGET}.desktop \
contains(DEFINES, APP_PORTABLE) {
INSTALLS += target docs sounds translations icons
target.path = /
docs.path = /
sounds.path = /sounds
icons.path = /icons
translations.path = /translations
}
!contains(DEFINES, APP_PORTABLE) {
INSTALLS += target docs sounds translations icons desktopfiles \
appicon1024 appicon512 appicon128 appicon64 appicon32
target.path = /usr/bin/
docs.path = /usr/share/$${TARGET}/
sounds.path = /usr/share/$${TARGET}/sounds/
translations.path = /usr/share/$${TARGET}/translations/
icons.path = /usr/share/$${TARGET}/icons/
desktopfiles.path = /usr/share/applications/
appicon1024.files = $$PWD/res/icons/hicolor/1024x1024/$${TARGET}.png
appicon1024.path = /usr/share/icons/hicolor/1024x1024/apps/
appicon512.files = $$PWD/res/icons/hicolor/512x512/$${TARGET}.png
appicon512.path = /usr/share/icons/hicolor/512x512/apps/
appicon128.files = $$PWD/res/icons/hicolor/128x128/$${TARGET}.png
appicon128.path = /usr/share/icons/hicolor/128x128/apps/
appicon64.files = $$PWD/res/icons/hicolor/64x64/$${TARGET}.png
appicon64.path = /usr/share/icons/hicolor/64x64/apps/
appicon32.files = $$PWD/res/icons/hicolor/32x32/$${TARGET}.png
appicon32.path = /usr/share/icons/hicolor/32x32/apps/
# you should to determine the location of resources
DEFINES += "APP_RESOURCES_PREFIX='/usr/share/$${TARGET}'"
}
}