Added extra call to ask for applications details
[meego-garage:garage-client-services.git] / src / src.pro
1 # -------------------------------------------------
2 # Project created by QtCreator 2010-03-30T15:20:51
3 # -------------------------------------------------
4 QT += network \
5     dbus
6 QT -= gui
7 TARGET = garage-client-services
8 TEMPLATE = lib
9 VERSION = 0.0.1
10 unix {
11     #VARIABLES
12     isEmpty(PREFIX) {
13         PREFIX=/usr/local
14     }
15     isEmpty(DATADIR) {
16         DATADIR=$$PREFIX/share
17     }
18     isEmpty(LIBDIR) {
19         LIBDIR=$$PREFIX/lib
20     }
21     isEmpty(INCLUDEDIR) {
22         INCLUDEDIR=$$PREFIX/include
23     }
24     isEmpty(GARAGECACHEDIR) {
25         GARAGECACHEDIR=/var/tmp/garage-client-services
26     }
27 }
28 DEFINES += GARAGECLIENTSERVICES_LIBRARY GARAGECACHEDIR=$${GARAGECACHEDIR} DATADIR=$$DATADIR
29 SOURCES += image.cpp \
30     garageclientservices.cpp \
31     category.cpp \
32     catalog.cpp \
33     application.cpp \
34     errorhandler.cpp \
35     applicationmanager.cpp \
36     applicationstatusstorage.cpp \
37     garagesettings.cpp \
38     ocscategory.cpp \
39     ocscatalog.cpp \
40     ocsapplication.cpp \
41     basejob.cpp \
42     utils.cpp \
43     jobmanager.cpp \
44     jobtypes.cpp \
45     cachedresultbase.cpp \
46     packagekitcatalog.cpp \
47     packagekitapplication.cpp \
48     packagekitcategorylistjob.cpp \
49     packagekitapplicationsearchjob.cpp \
50     packagekitapplicationdetailsjob.cpp
51 HEADERS += image.h \
52     garage-client-services_global.h \
53     garageclientservices.h \
54     category.h \
55     catalog.h \
56     application.h \
57     errorhandler.h \
58     applicationmanager.h \
59     applicationstatusstorage.h \
60     garagesettings.h \
61     types.h \
62     ocscategory.h \
63     ocscatalog.h \
64     ocsapplication.h \
65     job.h \
66     basejob.h \
67     utils.h \
68     jobtypes.h \
69     review.h \
70     jobmanager.h \
71     cachedresultbase.h \
72     cachedresult.h \
73     packagekitcatalog.h \
74     packagekitapplication.h \
75     packagekitcategorylistjob.h \
76     packagekitapplicationsearchjob.h \
77     packagekitapplicationdetailsjob.h
78 target.path = $$LIBDIR
79 data.path = $$DATADIR/$$TARGET/data/
80 data.files = data/appstore_data.xml
81 gcsheaders.path = $$INCLUDEDIR/garage-client-services/
82 gcsheaders.files = $${HEADERS}
83 pcfiles.path = $$LIBDIR/pkgconfig/
84 pcfiles.files = garage-client-services.pc
85 INSTALLS += target \
86     data \
87     gcsheaders \
88     pcfiles
89 CONFIG += link_pkgconfig \
90     debug
91 PKGCONFIG += libproxy-1.0 \
92     libxml-2.0 \
93     packagekit-qt
94 INCLUDEPATH += $$INCLUDEDIR/PackageKit/packagekit-qt \
95     $$INCLUDEDIR/libxml2 \
96     /usr/include/ \
97     /usr/local/include
98 LIBS += -lpackagekit-qt \
99     -lxml2 \
100     -lproxy \
101     -lattica
102 FORMS +=