4f0450c7a504f706dc270159914bac758d77da0f
[irwi] / src / src.pro
1 TEMPLATE = app
2
3 SOURCES += main.cpp
4 SOURCES += mainwidget.cpp
5 SOURCES += irctrl.cpp
6 SOURCES += settingsdlg.cpp
7 HEADERS += mainwidget.h
8 HEADERS += irctrl.h
9 HEADERS += settingsdlg.h
10
11 include(qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.pri)
12
13 desktop.path = /usr/share/applications/hildon-home
14 desktop.files = irwi.desktop
15
16 target.path = /usr/lib/hildon-desktop
17 #INSTALLS += target desktop
18
19 QT += network
20
21   unix {
22     #VARIABLES
23     isEmpty(PREFIX) {
24         PREFIX = /usr/local
25   }
26
27 BINDIR = $$PREFIX/bin
28 DATADIR =$$PREFIX/share
29
30 DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
31
32 #MAKE INSTALL
33
34 INSTALLS += target desktop service iconxpm icon26 icon48 icon64
35
36   target.path =$$BINDIR
37
38   desktop.path = $$DATADIR/applications/hildon
39   desktop.files += $${TARGET}.desktop
40
41   service.path = $$DATADIR/dbus-1/services
42   service.files += $${TARGET}.service
43
44   iconxpm.path = $$DATADIR/pixmap
45   iconxpm.files += ../data/maemo/$${TARGET}.xpm
46
47   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
48   icon26.files += ../data/26x26/$${TARGET}.png
49
50   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
51   icon48.files += ../data/48x48/$${TARGET}.png
52
53   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
54   icon64.files += ../data/64x64/$${TARGET}.png
55 }
56