summaryrefslogtreecommitdiff
path: root/buteo-plugins/buteo-sync-plugin-mastodon-notifications/buteo-sync-plugin-mastodon-notifications.pro
diff options
context:
space:
mode:
Diffstat (limited to 'buteo-plugins/buteo-sync-plugin-mastodon-notifications/buteo-sync-plugin-mastodon-notifications.pro')
-rw-r--r--buteo-plugins/buteo-sync-plugin-mastodon-notifications/buteo-sync-plugin-mastodon-notifications.pro37
1 files changed, 37 insertions, 0 deletions
diff --git a/buteo-plugins/buteo-sync-plugin-mastodon-notifications/buteo-sync-plugin-mastodon-notifications.pro b/buteo-plugins/buteo-sync-plugin-mastodon-notifications/buteo-sync-plugin-mastodon-notifications.pro
new file mode 100644
index 0000000..81060b1
--- /dev/null
+++ b/buteo-plugins/buteo-sync-plugin-mastodon-notifications/buteo-sync-plugin-mastodon-notifications.pro
@@ -0,0 +1,37 @@
+TARGET = mastodon-notifications-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/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