blob: 0cf375c1d2f8ae233f21a164e1ae40aaab8d2921 (
plain)
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
|
TARGET = mastodon-notifications-client
QT -= gui
include($$PWD/../../common/common.pri)
TS_FILE = $$OUT_PWD/lipstick-jolla-home-mastodon-notifications.ts
EE_QM = $$OUT_PWD/lipstick-jolla-home-mastodon-notifications_eng_en.qm
ts.commands += lupdate $$PWD -ts $$TS_FILE
ts.CONFIG += no_check_exist no_link
ts.output = $$TS_FILE
ts.input = .
ts_install.files = $$TS_FILE
ts_install.path = /usr/share/translations/source
ts_install.CONFIG += no_check_exist
engineering_english.commands += lrelease -idbased $$TS_FILE -qm $$EE_QM
engineering_english.CONFIG += no_check_exist no_link
engineering_english.depends = ts
engineering_english.input = $$TS_FILE
engineering_english.output = $$EE_QM
engineering_english_install.path = /usr/share/translations
engineering_english_install.files = $$EE_QM
engineering_english_install.CONFIG += no_check_exist
QMAKE_EXTRA_TARGETS += ts engineering_english
PRE_TARGETDEPS += ts engineering_english
CONFIG += link_pkgconfig
PKGCONFIG += \
buteosocialcommon \
socialcache \
accounts-qt5 \
buteosyncfw5 \
libsignon-qt5 \
mlite5 \
nemonotifications-qt5
INCLUDEPATH += $$PWD
SOURCES += \
$$PWD/mastodondatatypesyncadaptor.cpp \
$$PWD/mastodonnotificationsplugin.cpp \
$$PWD/mastodonnotificationssyncadaptor.cpp
HEADERS += \
$$PWD/mastodondatatypesyncadaptor.h \
$$PWD/mastodonnotificationsplugin.h \
$$PWD/mastodonnotificationssyncadaptor.h
OTHER_FILES += \
$$PWD/mastodon-notifications.xml \
$$PWD/mastodon.Notifications.xml
TEMPLATE = lib
CONFIG += plugin
target.path = $$[QT_INSTALL_LIBS]/buteo-plugins-qt5/oopp
sync.path = /etc/buteo/profiles/sync
sync.files = mastodon.Notifications.xml
client.path = /etc/buteo/profiles/client
client.files = mastodon-notifications.xml
INSTALLS += target sync client ts_install engineering_english_install
|