Set media.name to '*'.
[harmattan/cameraplus] / lib / lib.pro
index 1356612..fd6b936 100644 (file)
@@ -3,38 +3,51 @@ TARGET = qtcamera
 DEPENDPATH += .
 INCLUDEPATH += .
 
+include(../cameraplus.pri)
+
 QT += opengl
 
-CONFIG += link_pkgconfig debug
+CONFIG += link_pkgconfig
 
 PKGCONFIG = gstreamer-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10 gstreamer-tag-0.10 \
-            gstreamer-pbutils-0.10 meego-gstreamer-interfaces-0.10
+            gstreamer-pbutils-0.10
+
+harmattan:PKGCONFIG += meego-gstreamer-interfaces-0.10
+nemo:PKGCONFIG += nemo-gstreamer-interfaces-0.10
 
 HEADERS += qtcamconfig.h qtcamera.h qtcamscanner.h qtcamdevice.h qtcamviewfinder.h \
            qtcammode.h qtcamgstreamermessagehandler.h qtcamgstreamermessagelistener.h \
-           qtcamgraphicsviewfinder.h qtcamviewfinderrenderer.h \
-           qtcamviewfinderrenderergeneric.h qtcamimagesettings.h qtcamvideosettings.h \
+           qtcamviewfinderrenderer.h qtcamimagesettings.h qtcamvideosettings.h \
            qtcamimagemode.h qtcamvideomode.h qtcammetadata.h qtcamcapability.h \
            qtcamzoom.h qtcamflash.h qtcamscene.h qtcamevcomp.h qtcamvideotorch.h \
            qtcamwhitebalance.h qtcamcolortone.h qtcamflickerreduction.h \
            qtcamnoisereduction.h qtcamiso.h qtcamaperture.h qtcamexposure.h \
-           qtcammute.h
+           qtcamvideomute.h qtcamnotifications.h qtcamfocus.h qtcamautofocus.h \
+           qtcamanalysisbin.h qtcampropertysetter.h qtcamroi.h qtcamquirks.h
 
 SOURCES += qtcamconfig.cpp qtcamera.cpp qtcamscanner.cpp qtcamdevice.cpp qtcamviewfinder.cpp \
            qtcammode.cpp qtcamgstreamermessagehandler.cpp qtcamgstreamermessagelistener.cpp \
-           qtcamgraphicsviewfinder.cpp qtcamviewfinderrenderer.cpp \
-           qtcamviewfinderrenderergeneric.cpp qtcamimagesettings.cpp qtcamvideosettings.cpp \
+           qtcamviewfinderrenderer.cpp qtcamimagesettings.cpp qtcamvideosettings.cpp \
            qtcamimagemode.cpp qtcamvideomode.cpp qtcammetadata.cpp qtcamcapability.cpp \
            qtcamzoom.cpp qtcamflash.cpp qtcamscene.cpp qtcamevcomp.cpp qtcamvideotorch.cpp \
            qtcamwhitebalance.cpp qtcamcolortone.cpp qtcamflickerreduction.cpp \
            qtcamnoisereduction.cpp qtcamiso.cpp qtcamaperture.cpp qtcamexposure.cpp \
-           qtcammute.cpp
+           qtcamvideomute.cpp qtcamnotifications.cpp qtcamfocus.cpp qtcamautofocus.cpp \
+           qtcamanalysisbin.cpp qtcampropertysetter.cpp qtcamroi.cpp qtcamquirks.cpp
 
-HEADERS += qtcammode_p.h qtcamdevice_p.h qtcamcapability_p.h
+HEADERS += qtcammode_p.h qtcamdevice_p.h qtcamcapability_p.h qtcamautofocus_p.h \
+           qtcamnotifications_p.h qtcamflash_p.h qtcamroi_p.h
 
 LIBS += -lgstphotography-0.10
 
-isEqual(MEEGO_EDITION, harmattan) {
-SOURCES += qtcamviewfinderrenderermeego.cpp
-HEADERS += qtcamviewfinderrenderermeego.h
-}
+HEADERS += gst/gstcopy.h
+SOURCES += gst/gstcopy.cpp
+
+harmattan:SOURCES += qtcamviewfinderrenderermeego.cpp
+harmattan:HEADERS += qtcamviewfinderrenderermeego.h
+
+qt4:SOURCES += qtcamgraphicsviewfinder.cpp
+qt4:HEADERS += qtcamgraphicsviewfinder.h
+
+target.path = /usr/lib/
+INSTALLS += target