| 1 | TARGET = phonon_gstreamer
|
|---|
| 2 | DESTDIR = $$QT_BUILD_TREE/plugins/phonon_backend
|
|---|
| 3 |
|
|---|
| 4 | DEPENDPATH += .
|
|---|
| 5 | INCLUDEPATH += .
|
|---|
| 6 |
|
|---|
| 7 | QT += phonon
|
|---|
| 8 | contains(QT_CONFIG, opengl):QT += opengl
|
|---|
| 9 |
|
|---|
| 10 | # GStreamer
|
|---|
| 11 | QMAKE_CXXFLAGS += $$QT_CFLAGS_GSTREAMER
|
|---|
| 12 | LIBS += $$QT_LIBS_GSTREAMER -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lgstaudio-0.10
|
|---|
| 13 |
|
|---|
| 14 | PHONON_GSTREAMER_DIR = $$QT_SOURCE_TREE/src/3rdparty/phonon/gstreamer
|
|---|
| 15 |
|
|---|
| 16 | HEADERS += $$PHONON_GSTREAMER_DIR/common.h \
|
|---|
| 17 | $$PHONON_GSTREAMER_DIR/audiooutput.h \
|
|---|
| 18 | $$PHONON_GSTREAMER_DIR/artssink.h \
|
|---|
| 19 | $$PHONON_GSTREAMER_DIR/abstractrenderer.h \
|
|---|
| 20 | $$PHONON_GSTREAMER_DIR/backend.h \
|
|---|
| 21 | $$PHONON_GSTREAMER_DIR/devicemanager.h \
|
|---|
| 22 | $$PHONON_GSTREAMER_DIR/effect.h \
|
|---|
| 23 | $$PHONON_GSTREAMER_DIR/effectmanager.h \
|
|---|
| 24 | $$PHONON_GSTREAMER_DIR/gsthelper.h \
|
|---|
| 25 | $$PHONON_GSTREAMER_DIR/mediaobject.h \
|
|---|
| 26 | $$PHONON_GSTREAMER_DIR/medianode.h \
|
|---|
| 27 | $$PHONON_GSTREAMER_DIR/medianodeevent.h \
|
|---|
| 28 | $$PHONON_GSTREAMER_DIR/widgetrenderer.h \
|
|---|
| 29 | $$PHONON_GSTREAMER_DIR/videowidget.h \
|
|---|
| 30 | $$PHONON_GSTREAMER_DIR/glrenderer.h \
|
|---|
| 31 | $$PHONON_GSTREAMER_DIR/qwidgetvideosink.h \
|
|---|
| 32 | $$PHONON_GSTREAMER_DIR/phononsrc.h \
|
|---|
| 33 | $$PHONON_GSTREAMER_DIR/streamreader.h \
|
|---|
| 34 | $$PHONON_GSTREAMER_DIR/message.h \
|
|---|
| 35 | $$PHONON_GSTREAMER_DIR/audioeffect.h \
|
|---|
| 36 | $$PHONON_GSTREAMER_DIR/volumefadereffect.h
|
|---|
| 37 |
|
|---|
| 38 | SOURCES += $$PHONON_GSTREAMER_DIR/audiooutput.cpp \
|
|---|
| 39 | $$PHONON_GSTREAMER_DIR/abstractrenderer.cpp \
|
|---|
| 40 | $$PHONON_GSTREAMER_DIR/artssink.cpp \
|
|---|
| 41 | $$PHONON_GSTREAMER_DIR/backend.cpp \
|
|---|
| 42 | $$PHONON_GSTREAMER_DIR/devicemanager.cpp \
|
|---|
| 43 | $$PHONON_GSTREAMER_DIR/effect.cpp \
|
|---|
| 44 | $$PHONON_GSTREAMER_DIR/effectmanager.cpp \
|
|---|
| 45 | $$PHONON_GSTREAMER_DIR/gsthelper.cpp \
|
|---|
| 46 | $$PHONON_GSTREAMER_DIR/mediaobject.cpp \
|
|---|
| 47 | $$PHONON_GSTREAMER_DIR/medianode.cpp \
|
|---|
| 48 | $$PHONON_GSTREAMER_DIR/medianodeevent.cpp \
|
|---|
| 49 | $$PHONON_GSTREAMER_DIR/widgetrenderer.cpp \
|
|---|
| 50 | $$PHONON_GSTREAMER_DIR/videowidget.cpp \
|
|---|
| 51 | $$PHONON_GSTREAMER_DIR/glrenderer.cpp \
|
|---|
| 52 | $$PHONON_GSTREAMER_DIR/qwidgetvideosink.cpp \
|
|---|
| 53 | $$PHONON_GSTREAMER_DIR/phononsrc.cpp \
|
|---|
| 54 | $$PHONON_GSTREAMER_DIR/streamreader.cpp \
|
|---|
| 55 | $$PHONON_GSTREAMER_DIR/message.cpp \
|
|---|
| 56 | $$PHONON_GSTREAMER_DIR/audioeffect.cpp \
|
|---|
| 57 | $$PHONON_GSTREAMER_DIR/volumefadereffect.cpp
|
|---|
| 58 |
|
|---|
| 59 | !embedded {
|
|---|
| 60 | HEADERS += $$PHONON_GSTREAMER_DIR/x11renderer.h
|
|---|
| 61 | SOURCES += $$PHONON_GSTREAMER_DIR/x11renderer.cpp
|
|---|
| 62 | }
|
|---|
| 63 |
|
|---|
| 64 | target.path = $$[QT_INSTALL_PLUGINS]/phonon_backend
|
|---|
| 65 | INSTALLS += target
|
|---|
| 66 |
|
|---|
| 67 | include(../../qpluginbase.pri)
|
|---|