Add mce-dev into control build templates for dbus support
[vlc-remote] / src / src.pro
1 # -------------------------------------------------
2 # Project created by QtCreator 2010-07-29T19:02:39
3 # -------------------------------------------------
4 QT += core \
5     gui \
6     network \
7     xml \
8     maemo5 \
9     dbus
10 TARGET = vlc-remote
11 TEMPLATE = app
12 SOURCES += main.cpp \
13     playlistmainwindow.cpp \
14     playermainwindow.cpp \
15     configdialog.cpp \
16     aboutdialog.cpp \
17     accountdialog.cpp \
18     newaccountdialog.cpp \
19     browsemainwindow.cpp \
20     vlcbrowseelement.cpp \
21     vlcplaylistelementsimple.cpp \
22     vlcstatus.cpp \
23     appsettings.cpp \
24     favouritesmainwindow.cpp \
25     settingsdialog.cpp
26 HEADERS += playlistmainwindow.h \
27     playermainwindow.h \
28     configdialog.h \
29     aboutdialog.h \
30     accountdialog.h \
31     newaccountdialog.h \
32     browsemainwindow.h \
33     vlcbrowseelement.h \
34     vlcplaylistelementsimple.h \
35     vlcstatus.h \
36     appsettings.h \
37     favouritesmainwindow.h \
38     settingsdialog.h
39 FORMS += playlistmainwindow.ui \
40     playermainwindow.ui \
41     configdialog.ui \
42     aboutdialog.ui \
43     accountdialog.ui \
44     browsemainwindow.ui \
45     favouritesmainwindow.ui \
46     settingsdialog.ui
47 OTHER_FILES += vlc-remote.desktop
48 RESOURCES += ressources.qrc
49 TRANSLATIONS = vlcremote_fr_FR.ts
50
51 unix {
52   #VARIABLES
53   isEmpty(PREFIX) {
54     PREFIX = /usr
55   }
56   BINDIR = $$PREFIX/bin
57   DATADIR =$$PREFIX/share
58
59   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
60
61   #MAKE INSTALL
62
63   INSTALLS += target desktop icon26 icon48 icon64
64
65   target.path =$$BINDIR
66
67   desktop.path = $$DATADIR/applications/hildon
68   desktop.files += $${TARGET}.desktop
69
70   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
71   icon26.files += data/26x26/$${TARGET}.png
72
73   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
74   icon48.files += data/48x48/$${TARGET}.png
75
76   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
77   icon64.files += data/64x64/$${TARGET}.png
78 }