summaryrefslogtreecommitdiff
path: root/libsowatch/libsowatch.pro
blob: e042e7aa6cc3b097191e2b0be88fdec4ca740813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#-------------------------------------------------
#
# Project created by QtCreator 2011-09-16T23:45:06
#
#-------------------------------------------------

QT        += gui declarative

CONFIG    += link_pkgconfig
PKGCONFIG += gconf-2.0

TARGET    = sowatch
TEMPLATE  = lib
VERSION   = 1.0.0

DEFINES += SOWATCH_LIBRARY

SOURCES += \
    watchserver.cpp \
    watchpaintengine.cpp \
    watchlet.cpp \
    watch.cpp \
    graphicswatchlet.cpp \
    declarativewatchwrapper.cpp \
    declarativewatchlet.cpp \
    watchplugininterface.cpp \
    notification.cpp \
	weathernotification.cpp \
    notificationplugininterface.cpp \
    notificationprovider.cpp \
    watchletplugininterface.cpp \
	registry.cpp \
    watchscanner.cpp \
    allwatchscanner.cpp \
    configkey.cpp \
    gconfkey.cpp \
    notificationsmodel.cpp \
    watchletsmodel.cpp

HEADERS += \
    watchserver.h \
    watchpaintengine.h \
    watchlet.h \
    watch.h \
    sowatch.h \
    graphicswatchlet.h \
    declarativewatchwrapper.h \
    declarativewatchlet.h \
    sowatch_global.h \
    watchplugininterface.h \
    notification.h \
	weathernotification.h \
    notificationplugininterface.h \
    notificationprovider.h \
    watchletplugininterface.h \
	registry.h \
    watchscanner.h \
    allwatchscanner.h \
    configkey.h \
    gconfkey.h \
    notificationsmodel.h \
    watchletsmodel.h

TRANSLATIONS += libsowatch_en.ts libsowatch_es.ts

install_headers.files = $$HEADERS
install_translations.files = libsowatch*.qm

install_headers.path = /usr/include/sowatch
!isEmpty(MEEGO_VERSION_MAJOR)|maemo5 {
	target.path = /opt/sowatch/lib
	install_translations.path = /opt/sowatch/i18n
} else {
	target.path = /usr/lib
	install_translations.path = /usr/share/sowatch/i18n
}

INSTALLS += install_headers install_translations target