TARGET = backend_mpv
TEMPLATE = lib
-include(../../core/core.pri)
+include(../../core/backendapi.pri)
include(../backendbuildconfig.pri)
DEFINES += BACKEND_MPV_LIBRARY QT_DEPRECATED_WARNINGS
backendmpv.h \
backend_mpv_global.h
+DISTFILES += \
+ backend_mpv.json
+
unix {
LIBS += $$system(pkg-config --libs mpv)
}
INSTALLS += target
}
-DISTFILES += \
- backend_mpv.json
#include <QtPlugin>
#include "backend_mpv_global.h"
-#include "backendpluginbase.h"
+#include "aniplayer/backendpluginbase.h"
struct mpv_handle;
struct mpv_opengl_cb_context;
QT -= gui
TEMPLATE = lib
-include(../../core/core.pri)
+include(../../core/backendapi.pri)
include(../backendbuildconfig.pri)
DEFINES += BACKEND_NULL_LIBRARY QT_DEPRECATED_WARNINGS
HEADERS += backendnull.h\
backend_null_global.h
+DISTFILES += \
+ backend_null.json
+
unix {
target.path = $${PREFIX}/lib/aniplayer/backendplugins
INSTALLS += target
#include <QtPlugin>
#include "backend_null_global.h"
-#include "backendpluginbase.h"
+#include "aniplayer/backendpluginbase.h"
class QTimer;
--- /dev/null
+INCLUDEPATH += $$PWD/include\r
+include(../buildconfig.pri)
\ No newline at end of file
+++ /dev/null
-#include "backendpluginbase.h"
-
-INCLUDEPATH += $$PWD
+INCLUDEPATH += $$PWD/include
include(../buildconfig.pri)
HEADERS += \
player.h \
- backendpluginbase.h \
+ include/aniplayer/backendpluginbase.h \
+ include/aniplayer/playerplugininterface.h \
pluginmanager.h \
videoelement.h \
- playerplugininterface.h \
timeformatter.h \
instancemanager.h
#include <QQmlEngine>
#include <QUrl>
-#include "backendpluginbase.h"
+#include "aniplayer/backendpluginbase.h"
#include "pluginmanager.h"
class Player : public QObject,
+++ /dev/null
-#include "playerplugininterface.h"
#include <QQuickFramebufferObject>
#include "player.h"
-#include "playerplugininterface.h"
+#include "aniplayer/playerplugininterface.h"
class VideoElement : public QQuickFramebufferObject,
public VideoUpdateInterface {