Source /tmp/session_bus_address.user before invoking dbus-send in postinst script
[harmattan/cameraplus] / lib / lib.pro
1 TEMPLATE = lib
2 TARGET = qtcamera
3 DEPENDPATH += .
4 INCLUDEPATH += .
5
6 include(../cameraplus.pri)
7
8 QT += opengl
9
10 CONFIG += link_pkgconfig
11
12 PKGCONFIG = gstreamer-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10 gstreamer-tag-0.10 \
13             gstreamer-pbutils-0.10
14
15 harmattan:PKGCONFIG += meego-gstreamer-interfaces-0.10
16 nemo:PKGCONFIG += nemo-gstreamer-interfaces-0.10
17
18 HEADERS += qtcamconfig.h qtcamera.h qtcamscanner.h qtcamdevice.h qtcamviewfinder.h \
19            qtcammode.h qtcamgstreamermessagehandler.h qtcamgstreamermessagelistener.h \
20            qtcamviewfinderrenderer.h qtcamimagesettings.h qtcamvideosettings.h \
21            qtcamimagemode.h qtcamvideomode.h qtcammetadata.h qtcamcapability.h \
22            qtcamzoom.h qtcamflash.h qtcamscene.h qtcamevcomp.h qtcamvideotorch.h \
23            qtcamwhitebalance.h qtcamcolortone.h qtcamflickerreduction.h \
24            qtcamnoisereduction.h qtcamiso.h qtcamaperture.h qtcamexposure.h \
25            qtcamvideomute.h qtcamnotifications.h qtcamfocus.h qtcamautofocus.h \
26            qtcamanalysisbin.h qtcampropertysetter.h qtcamroi.h qtcamquirks.h
27
28 SOURCES += qtcamconfig.cpp qtcamera.cpp qtcamscanner.cpp qtcamdevice.cpp qtcamviewfinder.cpp \
29            qtcammode.cpp qtcamgstreamermessagehandler.cpp qtcamgstreamermessagelistener.cpp \
30            qtcamviewfinderrenderer.cpp qtcamimagesettings.cpp qtcamvideosettings.cpp \
31            qtcamimagemode.cpp qtcamvideomode.cpp qtcammetadata.cpp qtcamcapability.cpp \
32            qtcamzoom.cpp qtcamflash.cpp qtcamscene.cpp qtcamevcomp.cpp qtcamvideotorch.cpp \
33            qtcamwhitebalance.cpp qtcamcolortone.cpp qtcamflickerreduction.cpp \
34            qtcamnoisereduction.cpp qtcamiso.cpp qtcamaperture.cpp qtcamexposure.cpp \
35            qtcamvideomute.cpp qtcamnotifications.cpp qtcamfocus.cpp qtcamautofocus.cpp \
36            qtcamanalysisbin.cpp qtcampropertysetter.cpp qtcamroi.cpp qtcamquirks.cpp
37
38 HEADERS += qtcammode_p.h qtcamdevice_p.h qtcamcapability_p.h qtcamautofocus_p.h \
39            qtcamnotifications_p.h qtcamflash_p.h qtcamroi_p.h
40
41 LIBS += -lgstphotography-0.10
42
43 HEADERS += gst/gstcopy.h
44 SOURCES += gst/gstcopy.cpp
45
46 harmattan:SOURCES += qtcamviewfinderrenderermeego.cpp
47 harmattan:HEADERS += qtcamviewfinderrenderermeego.h
48
49 qt4:SOURCES += qtcamgraphicsviewfinder.cpp
50 qt4:HEADERS += qtcamgraphicsviewfinder.h
51
52 target.path = /usr/lib/
53 INSTALLS += target