summaryrefslogtreecommitdiff
path: root/buteo-plugins/buteo-sync-plugin-mastodon-notifications/buteo-sync-plugin-mastodon-notifications.pro
blob: c14e8783134c80e5b2751d93634970fe23a1ab4c (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
TARGET = mastodon-notifications-client

QT -= gui

include($$PWD/../../common/common.pri)

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