summaryrefslogtreecommitdiff
path: root/buteo-plugins/buteo-sync-plugin-fediverse-posts/buteo-sync-plugin-fediverse-posts.pro
blob: d9936b0be7de04365c2829c442de18cf5194ac5d (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
# SPDX-FileCopyrightText: 2013 - 2026 Jolla Ltd.
#
# SPDX-License-Identifier: BSD-3-Clause

TARGET = fediverse-posts-client

QT -= gui

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

CONFIG += link_pkgconfig
PKGCONFIG += mlite5 nemonotifications-qt5

INCLUDEPATH += $$PWD

SOURCES += \
    $$PWD/fediversedatatypesyncadaptor.cpp \
    $$PWD/fediversepostsplugin.cpp \
    $$PWD/fediversepostssyncadaptor.cpp

HEADERS += \
    $$PWD/fediversedatatypesyncadaptor.h \
    $$PWD/fediversepostsplugin.h \
    $$PWD/fediversepostssyncadaptor.h

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

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

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

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

INSTALLS += target sync client