Removal of libhomescreen and appfw deps
[apps/homescreen.git] / homescreen / homescreen.pro
1 # Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH
2 # Copyright (c) 2017 TOYOTA MOTOR CORPORATION
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #      http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 TEMPLATE = app
17 TARGET = HomeScreen
18 QT = qml quick websockets gui-private
19 CONFIG += c++11 link_pkgconfig wayland-scanner
20 #DESTDIR = $${OUT_PWD}/../package/root/bin
21 DESTDIR = $${OUT_PWD}
22 #PKGCONFIG += qtappfw-weather qtappfw-network qtappfw-bt afb-helpers-qt wayland-client json-c
23 PKGCONFIG += wayland-client json-c
24
25 #LIBS += -lhomescreen
26
27 CONFIG(release, debug|release) {
28     QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET)
29 }
30
31 #SOURCES += \
32 #    src/main.cpp \
33 #    src/statusbarmodel.cpp \
34 #    src/statusbarserver.cpp \
35 #    src/applicationlauncher.cpp \
36 #    src/mastervolume.cpp \
37 #    src/homescreenhandler.cpp \
38 #    src/shell.cpp \
39 #    src/aglsocketwrapper.cpp \
40 #    src/chromecontroller.cpp
41
42 SOURCES += \
43     src/main.cpp \
44     src/applicationlauncher.cpp \
45     src/homescreenhandler.cpp \
46     src/shell.cpp \
47     src/aglsocketwrapper.cpp \
48
49 #HEADERS  += \
50 #    src/statusbarmodel.h \
51 #    src/statusbarserver.h \
52 #    src/applicationlauncher.h \
53 #    src/mastervolume.h \
54 #    src/homescreenhandler.h \
55 #    src/shell.h \
56 #    src/aglsocketwrapper.h \
57 #    src/chromecontroller.h \
58 #    src/constants.h
59
60 HEADERS  += \
61     src/applicationlauncher.h \
62     src/homescreenhandler.h \
63     src/shell.h \
64     src/aglsocketwrapper.h \
65     src/constants.h
66
67 OTHER_FILES += \
68     README.md
69
70 RESOURCES += \
71     qml/images/MediaPlayer/mediaplayer.qrc \
72     qml/images/MediaMusic/mediamusic.qrc \
73     qml/images/Weather/weather.qrc \
74     qml/images/Shortcut/shortcut.qrc \
75     qml/images/Status/status.qrc \
76     qml/images/images.qrc \
77     qml/qml.qrc \
78     qml/images/SpeechChrome/speechchrome.qrc
79
80
81 AGL_SHELL_PATH = $$system(pkg-config --variable=pkgdatadir agl-compositor-0.0.19-protocols)
82 WAYLANDCLIENTSOURCES += $$AGL_SHELL_PATH/agl-shell.xml