-
Notifications
You must be signed in to change notification settings - Fork 0
/
Sailcord.pro
67 lines (53 loc) · 1.91 KB
/
Sailcord.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
56
57
58
59
60
61
62
63
64
65
66
67
# NOTICE:
#
# Application name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, the following needs to be done
# to match new name:
# - corresponding QML filename must be changed
# - desktop icon filename must be changed
# - desktop filename must be changed
# - icon definition filename in desktop file must be changed
# - translation filenames have to be changed
# The name of your application
TARGET = Sailcord
CONFIG += sailfishapp
SOURCES += src/Sailcord.cpp
DISTFILES += qml/Sailcord.qml \
qml/cover/CoverPage.qml \
qml/pages/FirstPage.qml \
qml/pages/SecondPage.qml \
rpm/Sailcord.changes.in \
rpm/Sailcord.changes.run.in \
rpm/Sailcord.spec \
rpm/Sailcord.yaml \
translations/*.ts \
Sailcord.desktop
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
# to disable building translations every time, comment out the
# following CONFIG line
CONFIG += sailfishapp_i18n
# German translation is enabled as an example. If you aren't
# planning to localize your app, remember to comment out the
# following TRANSLATIONS line. And also do not forget to
# modify the localized app name in the the .desktop file.
TRANSLATIONS += translations/Sailcord-de.ts
# Required 3rd party libraries for Discord to work. Not made by me
# Discord.py https://discordpy.readthedocs.io/en/latest
discord.path = /usr/share/$${TARGET}
discord.files = res/discord
# websockets-3.4
websockets.path = /usr/share/$${TARGET}
websockets.files = res/websockets
# aiohttp-1.0.5
aiohttp.path = /usr/share/$${TARGET}
aiohttp.files = res/aiohttp
# multidict
multidict.path = /usr/share/$${TARGET}
multidict.files = res/multidict
# async-timeout-2.0.1
async_timeout.path = /usr/share/$${TARGET}
async_timeout.files = res/async_timeout
# chardet-3.0.4
chardet.path = /usr/share/$${TARGET}
chardet.files = res/chardet
INSTALLS += discord websockets aiohttp multidict async_timeout chardet