forked from nemomobile-ux/glacier-contacts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
glacier-contacts.pro
72 lines (59 loc) · 1.86 KB
/
glacier-contacts.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
68
69
70
71
72
VERSION = 0.7.0
PROJECT_NAME = glacier-contacts
TEMPLATE = app
CONFIG += ordered mobility hide_symbols
MOBILITY += contacts
QT += quick
TARGET = $$PROJECT_NAME
CONFIG -= app_bundle # OS X
LIBS += -lglacierapp
CONFIG += link_pkgconfig
SOURCES += src/main.cpp
OTHER_FILES += $${QML_FILES} $${JS_FILES}
target.path = /usr/bin/
INSTALLS += target
desktop.files = src/$${PROJECT_NAME}.desktop
desktop.path = /usr/share/applications
INSTALLS += desktop
icon.files = icon-app-contacts.png
icon.path = /usr/share/$${PROJECT_NAME}
INSTALLS += icon
privileges.files = src/glacier-contacts.privileges
privileges.path = /usr/share/mapplauncherd/privileges.d/
INSTALLS += privileges
qml.files = src/qml/*.qml
qml.files += src/qml/*.js
qml.path = /usr/share/$${PROJECT_NAME}/qml
INSTALLS += qml
# qml API we provide
api.files = src/qml/api/*
api.path = $$[QT_INSTALL_QML]/org/nemomobile/qmlcontacts
INSTALLS += api
TRANSLATIONS += translations/$${PROJECT_NAME}_en.ts\
translations/$${PROJECT_NAME}_ru.ts
i18n_files.files = translations
i18n_files.path = /usr/share/$$TARGET
INSTALLS += i18n_files
DISTFILES += \
src/qml/api/qmldir \
src/qml/api/ContactListWidget.qml \
src/qml/api/ContactListDelegate.qml \
src/qml/api/ContactAvatarImage.qml \
src/qml/AvatarPickerSheet.qml \
src/qml/ContactCardContentWidget.qml \
src/qml/ContactCardPage.qml \
src/qml/ContactEditorSheet.qml \
src/qml/ContactImportSheet.qml \
src/qml/ContactListPage.qml \
src/qml/DeleteContactDialog.qml \
src/qml/EditableList.qml \
src/qml/PhoneEditableList.qml \
src/qml/MessagesInterface.qml \
src/qml/SearchBox.qml \
src/glacier-contacts.desktop \
rpm/glacier-contacts.spec \
src/qml/glacier-contacts.qml \
translations/glacier-contacts_en.ts \
translations/glacier-contacts_ru.ts \
icon-app-contacts.png
PKGCONFIG += glacierapp