summaryrefslogtreecommitdiff
path: root/buteo-plugins/buteo-sync-plugin-mastodon-posts/buteo-sync-plugin-mastodon-posts.pro
blob: 2f3fb5e7cca5ee8362dfdd6dc6700c9a82d0b136 (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-posts-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/mastodonpostsplugin.cpp \
    $$PWD/mastodonpostssyncadaptor.cpp

HEADERS += \
    $$PWD/mastodondatatypesyncadaptor.h \
    $$PWD/mastodonpostsplugin.h \
    $$PWD/mastodonpostssyncadaptor.h

OTHER_FILES += \
    $$PWD/mastodon-posts.xml \
    $$PWD/mastodon.Posts.xml

TEMPLATE = lib
CONFIG += plugin
target.path = $$[QT_INSTALL_LIBS]/buteo-plugins-qt5/oopp

sync.path = /etc/buteo/profiles/sync
sync.files = mastodon.Posts.xml

client.path = /etc/buteo/profiles/client
client.files = mastodon-posts.xml

INSTALLS += target sync client