X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fhomescreen.pro;h=00ed5e72f6285112ef8bf2d4c1d6b31a2c38b18a;hb=refs%2Fchanges%2F55%2F27655%2F1;hp=061d2fb0c1605e812b64b4cd01cb3a2df185538d;hpb=fbdd80c3c6fd9b27ce1cbe21941baa8a643050fe;p=apps%2Fhomescreen.git diff --git a/homescreen/homescreen.pro b/homescreen/homescreen.pro index 061d2fb..00ed5e7 100644 --- a/homescreen/homescreen.pro +++ b/homescreen/homescreen.pro @@ -1,4 +1,5 @@ # Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH +# Copyright (c) 2017 TOYOTA MOTOR CORPORATION # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,41 +14,35 @@ # limitations under the License. TEMPLATE = app -TARGET = HomeScreen -QT = qml quick dbus -CONFIG += c++11 link_pkgconfig -PKGCONFIG += libpulse +TARGET = homescreen +QT = qml quick gui-private dbus +CONFIG += c++11 link_pkgconfig wayland-scanner +PKGCONFIG += wayland-client qtappfw-weather qtappfw-network qtappfw-bt qtappfw-vehicle-signals -include(../interfaces/interfaces.pri) +DBUS_INTERFACES = $$[QT_SYSROOT]/usr/share/dbus-1/interfaces/org.automotivelinux.AppLaunch.xml SOURCES += \ src/main.cpp \ - src/homescreencontrolinterface.cpp \ - src/layouthandler.cpp \ - src/applicationmodel.cpp \ - src/appinfo.cpp \ + src/shell.cpp \ src/statusbarmodel.cpp \ src/statusbarserver.cpp \ src/applicationlauncher.cpp \ src/mastervolume.cpp \ - src/paclient.cpp + src/homescreenhandler.cpp HEADERS += \ - src/homescreencontrolinterface.h \ - src/layouthandler.h \ + src/shell.h \ + src/constants.h \ src/statusbarmodel.h \ src/statusbarserver.h \ src/applicationlauncher.h \ - src/applicationmodel.h \ - src/appinfo.h \ src/mastervolume.h \ - src/paclient.h + src/homescreenhandler.h OTHER_FILES += \ README.md RESOURCES += \ - qml/images/Home/home.qrc \ qml/images/MediaPlayer/mediaplayer.qrc \ qml/images/MediaMusic/mediamusic.qrc \ qml/images/Weather/weather.qrc \ @@ -55,3 +50,12 @@ RESOURCES += \ qml/images/Status/status.qrc \ qml/images/images.qrc \ qml/qml.qrc + +AGL_SHELL_PATH = $$system(pkg-config --variable=pkgdatadir agl-compositor-0.0.20-protocols) +WAYLANDCLIENTSOURCES += $$AGL_SHELL_PATH/agl-shell.xml $$AGL_SHELL_PATH/agl-shell-desktop.xml + +target.path = $${PREFIX}/usr/bin +target.files += $${OUT_PWD}/$${TARGET} +target.CONFIG = no_check_exist executable + +INSTALLS += target