2013-12-28 18:49:50 -05:00
|
|
|
win32 {
|
|
|
|
# Fix double defined symbols BIO_* (Find a better solution)
|
|
|
|
LIBS += -lcrypto
|
|
|
|
}
|
|
|
|
|
2012-08-02 09:17:53 -04:00
|
|
|
!include("../Common/retroshare_plugin.pri"): error("Could not include file ../Common/retroshare_plugin.pri")
|
|
|
|
|
|
|
|
CONFIG += qt uic qrc resources
|
|
|
|
|
2013-10-19 20:56:34 -04:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
|
|
# Qt 5
|
|
|
|
QT += widgets
|
|
|
|
}
|
|
|
|
|
2012-08-02 09:17:53 -04:00
|
|
|
SOURCES = FeedReaderPlugin.cpp \
|
|
|
|
services/p3FeedReader.cc \
|
|
|
|
services/p3FeedReaderThread.cc \
|
|
|
|
services/rsFeedReaderItems.cc \
|
|
|
|
gui/FeedReaderDialog.cpp \
|
2012-12-25 18:53:55 -05:00
|
|
|
gui/FeedReaderMessageWidget.cpp \
|
2012-08-02 09:17:53 -04:00
|
|
|
gui/AddFeedDialog.cpp \
|
2012-08-13 17:35:11 -04:00
|
|
|
gui/PreviewFeedDialog.cpp \
|
2012-08-02 09:17:53 -04:00
|
|
|
gui/FeedReaderNotify.cpp \
|
2012-08-13 17:35:11 -04:00
|
|
|
gui/FeedReaderConfig.cpp \
|
|
|
|
gui/FeedReaderStringDefs.cpp \
|
2013-01-08 17:07:52 -05:00
|
|
|
gui/FeedReaderFeedNotify.cpp \
|
2012-12-20 08:30:16 -05:00
|
|
|
gui/FeedReaderUserNotify.cpp \
|
2013-01-08 17:07:52 -05:00
|
|
|
gui/FeedReaderFeedItem.cpp \
|
2012-08-13 17:35:11 -04:00
|
|
|
util/CURLWrapper.cpp \
|
|
|
|
util/XMLWrapper.cpp \
|
2012-09-04 19:53:04 -04:00
|
|
|
util/HTMLWrapper.cpp \
|
|
|
|
util/XPathWrapper.cpp
|
2012-08-02 09:17:53 -04:00
|
|
|
|
|
|
|
HEADERS = FeedReaderPlugin.h \
|
|
|
|
interface/rsFeedReader.h \
|
|
|
|
services/p3FeedReader.h \
|
|
|
|
services/p3FeedReaderThread.h \
|
|
|
|
services/rsFeedReaderItems.h \
|
|
|
|
gui/FeedReaderDialog.h \
|
2012-12-25 18:53:55 -05:00
|
|
|
gui/FeedReaderMessageWidget.h \
|
2012-08-02 09:17:53 -04:00
|
|
|
gui/AddFeedDialog.h \
|
2012-08-13 17:35:11 -04:00
|
|
|
gui/PreviewFeedDialog.h \
|
2012-08-02 09:17:53 -04:00
|
|
|
gui/FeedReaderNotify.h \
|
2012-08-13 17:35:11 -04:00
|
|
|
gui/FeedReaderConfig.h \
|
|
|
|
gui/FeedReaderStringDefs.h \
|
2013-01-08 17:07:52 -05:00
|
|
|
gui/FeedReaderFeedNotify.h \
|
2012-12-20 08:30:16 -05:00
|
|
|
gui/FeedReaderUserNotify.h \
|
2013-01-08 17:07:52 -05:00
|
|
|
gui/FeedReaderFeedItem.h \
|
2012-08-13 17:35:11 -04:00
|
|
|
util/CURLWrapper.h \
|
|
|
|
util/XMLWrapper.h \
|
2012-09-04 19:53:04 -04:00
|
|
|
util/HTMLWrapper.h \
|
|
|
|
util/XPathWrapper.h
|
2012-08-02 09:17:53 -04:00
|
|
|
|
|
|
|
FORMS = gui/FeedReaderDialog.ui \
|
2012-12-25 18:53:55 -05:00
|
|
|
gui/FeedReaderMessageWidget.ui \
|
2012-08-02 09:17:53 -04:00
|
|
|
gui/AddFeedDialog.ui \
|
2012-08-13 17:35:11 -04:00
|
|
|
gui/PreviewFeedDialog.ui \
|
2013-01-08 17:07:52 -05:00
|
|
|
gui/FeedReaderConfig.ui \
|
|
|
|
gui/FeedReaderFeedItem.ui
|
2012-08-02 09:17:53 -04:00
|
|
|
|
|
|
|
TARGET = FeedReader
|
|
|
|
|
|
|
|
RESOURCES = gui/FeedReader_images.qrc \
|
2013-01-21 19:11:43 -05:00
|
|
|
lang/FeedReader_lang.qrc
|
|
|
|
|
2012-12-20 13:36:58 -05:00
|
|
|
TRANSLATIONS += \
|
2013-12-13 10:08:36 -05:00
|
|
|
lang/FeedReader_ca_ES.ts \
|
2012-12-20 13:36:58 -05:00
|
|
|
lang/FeedReader_cs.ts \
|
|
|
|
lang/FeedReader_da.ts \
|
|
|
|
lang/FeedReader_de.ts \
|
2013-06-04 19:39:07 -04:00
|
|
|
lang/FeedReader_el.ts \
|
2012-12-20 13:36:58 -05: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 19:39:07 -04:00
|
|
|
lang/FeedReader_nl.ts \
|
2012-12-20 13:36:58 -05: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 09:17:53 -04:00
|
|
|
|
2012-08-03 21:15:40 -04:00
|
|
|
linux-* {
|
|
|
|
LIBXML2_DIR = /usr/include/libxml2
|
|
|
|
|
|
|
|
INCLUDEPATH += $${LIBXML2_DIR}
|
|
|
|
|
2013-01-21 19:11:43 -05:00
|
|
|
LIBS += -lcurl -lxml2 -lxslt
|
2012-08-03 21:15:40 -04:00
|
|
|
}
|
|
|
|
|
2012-08-02 09:17:53 -04:00
|
|
|
win32 {
|
2013-01-21 19:11:43 -05:00
|
|
|
DEFINES += CURL_STATICLIB LIBXML_STATIC LIBXSLT_STATIC LIBEXSLT_STATIC
|
2012-08-02 09:17:53 -04:00
|
|
|
|
2013-12-28 18:49:50 -05:00
|
|
|
CURL_DIR = ../../../curl-7.34.0
|
|
|
|
LIBXML2_DIR = ../../../libxml2-2.9.1
|
2013-01-21 19:11:43 -05:00
|
|
|
LIBXSLT_DIR = ../../../libxslt-1.1.28
|
2012-08-02 09:17:53 -04:00
|
|
|
|
2013-01-21 19:11:43 -05:00
|
|
|
INCLUDEPATH += $${CURL_DIR}/include $${LIBXML2_DIR}/include $${LIBXSLT_DIR} $${LIBICONV_DIR}/include
|
2012-08-02 09:17:53 -04:00
|
|
|
|
2013-01-21 19:11:43 -05:00
|
|
|
LIBS += -lcurl -lxml2 -lxslt -lws2_32 -lwldap32
|
2013-12-28 18:49:50 -05:00
|
|
|
LIBS += -lssl -lcrypto -lgdi32 -lwsock32
|
2012-08-02 09:17:53 -04:00
|
|
|
}
|
2013-08-25 17:06:29 -04:00
|
|
|
|
|
|
|
openbsd-* {
|
|
|
|
LIBXML2_DIR = /usr/local/include/libxml2
|
|
|
|
|
|
|
|
INCLUDEPATH += $${LIBXML2_DIR}
|
|
|
|
|
|
|
|
LIBS += -lcurl -lxml2 -lxslt
|
|
|
|
}
|
|
|
|
|