2012-08-02 13:17:53 +00:00
|
|
|
!include("../Common/retroshare_plugin.pri"): error("Could not include file ../Common/retroshare_plugin.pri")
|
|
|
|
|
|
|
|
CONFIG += qt uic qrc resources
|
|
|
|
|
2013-10-20 00:56:34 +00:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
|
|
# Qt 5
|
|
|
|
QT += widgets
|
|
|
|
}
|
|
|
|
|
2012-08-02 13:17:53 +00:00
|
|
|
SOURCES = FeedReaderPlugin.cpp \
|
|
|
|
services/p3FeedReader.cc \
|
|
|
|
services/p3FeedReaderThread.cc \
|
|
|
|
services/rsFeedReaderItems.cc \
|
|
|
|
gui/FeedReaderDialog.cpp \
|
2012-12-25 23:53:55 +00:00
|
|
|
gui/FeedReaderMessageWidget.cpp \
|
2012-08-02 13:17:53 +00:00
|
|
|
gui/AddFeedDialog.cpp \
|
2012-08-13 21:35:11 +00:00
|
|
|
gui/PreviewFeedDialog.cpp \
|
2012-08-02 13:17:53 +00:00
|
|
|
gui/FeedReaderNotify.cpp \
|
2012-08-13 21:35:11 +00:00
|
|
|
gui/FeedReaderConfig.cpp \
|
|
|
|
gui/FeedReaderStringDefs.cpp \
|
2013-01-08 22:07:52 +00:00
|
|
|
gui/FeedReaderFeedNotify.cpp \
|
2012-12-20 13:30:16 +00:00
|
|
|
gui/FeedReaderUserNotify.cpp \
|
2013-01-08 22:07:52 +00:00
|
|
|
gui/FeedReaderFeedItem.cpp \
|
2012-08-13 21:35:11 +00:00
|
|
|
util/CURLWrapper.cpp \
|
|
|
|
util/XMLWrapper.cpp \
|
2012-09-04 23:53:04 +00:00
|
|
|
util/HTMLWrapper.cpp \
|
|
|
|
util/XPathWrapper.cpp
|
2012-08-02 13:17:53 +00:00
|
|
|
|
|
|
|
HEADERS = FeedReaderPlugin.h \
|
|
|
|
interface/rsFeedReader.h \
|
|
|
|
services/p3FeedReader.h \
|
|
|
|
services/p3FeedReaderThread.h \
|
|
|
|
services/rsFeedReaderItems.h \
|
|
|
|
gui/FeedReaderDialog.h \
|
2012-12-25 23:53:55 +00:00
|
|
|
gui/FeedReaderMessageWidget.h \
|
2012-08-02 13:17:53 +00:00
|
|
|
gui/AddFeedDialog.h \
|
2012-08-13 21:35:11 +00:00
|
|
|
gui/PreviewFeedDialog.h \
|
2012-08-02 13:17:53 +00:00
|
|
|
gui/FeedReaderNotify.h \
|
2012-08-13 21:35:11 +00:00
|
|
|
gui/FeedReaderConfig.h \
|
|
|
|
gui/FeedReaderStringDefs.h \
|
2013-01-08 22:07:52 +00:00
|
|
|
gui/FeedReaderFeedNotify.h \
|
2012-12-20 13:30:16 +00:00
|
|
|
gui/FeedReaderUserNotify.h \
|
2013-01-08 22:07:52 +00:00
|
|
|
gui/FeedReaderFeedItem.h \
|
2012-08-13 21:35:11 +00:00
|
|
|
util/CURLWrapper.h \
|
|
|
|
util/XMLWrapper.h \
|
2012-09-04 23:53:04 +00:00
|
|
|
util/HTMLWrapper.h \
|
|
|
|
util/XPathWrapper.h
|
2012-08-02 13:17:53 +00:00
|
|
|
|
|
|
|
FORMS = gui/FeedReaderDialog.ui \
|
2012-12-25 23:53:55 +00:00
|
|
|
gui/FeedReaderMessageWidget.ui \
|
2012-08-02 13:17:53 +00:00
|
|
|
gui/AddFeedDialog.ui \
|
2012-08-13 21:35:11 +00:00
|
|
|
gui/PreviewFeedDialog.ui \
|
2013-01-08 22:07:52 +00:00
|
|
|
gui/FeedReaderConfig.ui \
|
|
|
|
gui/FeedReaderFeedItem.ui
|
2012-08-02 13:17:53 +00:00
|
|
|
|
|
|
|
TARGET = FeedReader
|
|
|
|
|
|
|
|
RESOURCES = gui/FeedReader_images.qrc \
|
2013-01-22 00:11:43 +00:00
|
|
|
lang/FeedReader_lang.qrc
|
|
|
|
|
2012-12-20 18:36:58 +00:00
|
|
|
TRANSLATIONS += \
|
2013-12-13 15:08:36 +00:00
|
|
|
lang/FeedReader_ca_ES.ts \
|
2012-12-20 18:36:58 +00:00
|
|
|
lang/FeedReader_cs.ts \
|
|
|
|
lang/FeedReader_da.ts \
|
|
|
|
lang/FeedReader_de.ts \
|
2013-06-04 23:39:07 +00:00
|
|
|
lang/FeedReader_el.ts \
|
2012-12-20 18:36:58 +00:00
|
|
|
lang/FeedReader_en.ts \
|
|
|
|
lang/FeedReader_es.ts \
|
|
|
|
lang/FeedReader_fi.ts \
|
|
|
|
lang/FeedReader_fr.ts \
|
|
|
|
lang/FeedReader_hu.ts \
|
|
|
|
lang/FeedReader_it.ts \
|
|
|
|
lang/FeedReader_ja_JP.ts \
|
|
|
|
lang/FeedReader_ko.ts \
|
2013-06-04 23:39:07 +00:00
|
|
|
lang/FeedReader_nl.ts \
|
2012-12-20 18:36:58 +00:00
|
|
|
lang/FeedReader_pl.ts \
|
|
|
|
lang/FeedReader_ru.ts \
|
|
|
|
lang/FeedReader_sv.ts \
|
|
|
|
lang/FeedReader_tr.ts \
|
|
|
|
lang/FeedReader_zh_CN.ts
|
2012-08-02 13:17:53 +00:00
|
|
|
|
2012-08-04 01:15:40 +00:00
|
|
|
linux-* {
|
|
|
|
LIBXML2_DIR = /usr/include/libxml2
|
|
|
|
|
|
|
|
INCLUDEPATH += $${LIBXML2_DIR}
|
|
|
|
|
2013-01-22 00:11:43 +00:00
|
|
|
LIBS += -lcurl -lxml2 -lxslt
|
2012-08-04 01:15:40 +00:00
|
|
|
}
|
|
|
|
|
2012-08-02 13:17:53 +00:00
|
|
|
win32 {
|
2013-01-22 00:11:43 +00:00
|
|
|
DEFINES += CURL_STATICLIB LIBXML_STATIC LIBXSLT_STATIC LIBEXSLT_STATIC
|
2012-08-02 13:17:53 +00:00
|
|
|
|
2013-12-28 23:49:50 +00:00
|
|
|
CURL_DIR = ../../../curl-7.34.0
|
|
|
|
LIBXML2_DIR = ../../../libxml2-2.9.1
|
2013-01-22 00:11:43 +00:00
|
|
|
LIBXSLT_DIR = ../../../libxslt-1.1.28
|
2012-08-02 13:17:53 +00:00
|
|
|
|
2013-01-22 00:11:43 +00:00
|
|
|
INCLUDEPATH += $${CURL_DIR}/include $${LIBXML2_DIR}/include $${LIBXSLT_DIR} $${LIBICONV_DIR}/include
|
2012-08-02 13:17:53 +00:00
|
|
|
|
2014-02-12 22:03:20 +00:00
|
|
|
# Change order of the libraries
|
|
|
|
LIBS = -lcurl -lxml2 -lz -lxslt -lws2_32 -lwldap32 -lssl -lcrypto -lgdi32 -lwsock32 $${LIBS}
|
2012-08-02 13:17:53 +00:00
|
|
|
}
|
2013-08-25 21:06:29 +00:00
|
|
|
|
|
|
|
openbsd-* {
|
|
|
|
LIBXML2_DIR = /usr/local/include/libxml2
|
|
|
|
|
|
|
|
INCLUDEPATH += $${LIBXML2_DIR}
|
|
|
|
|
|
|
|
LIBS += -lcurl -lxml2 -lxslt
|
|
|
|
}
|
|
|
|
|