X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fhomescreen.pro;h=c713c760196dee4dc24ac720e4b8980c142af648;hb=20f629dd6d8628611d950073c4f7a0446c40365a;hp=1ca59b6d042c0b95ee99faa8369190d8c3be1d17;hpb=0592a405aa68f3baf6773795efa5522e4ee16779;p=apps%2Fhomescreen.git diff --git a/homescreen/homescreen.pro b/homescreen/homescreen.pro index 1ca59b6..c713c76 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,36 +14,34 @@ # limitations under the License. TEMPLATE = app -TARGET = HomeScreen -QT = qml quick dbus -CONFIG += c++11 - -include(../interfaces/interfaces.pri) +TARGET = homescreen +QT = qml quick gui-private +CONFIG += c++11 link_pkgconfig wayland-scanner +PKGCONFIG += wayland-client +PKGCONFIG += qtappfw-weather qtappfw-network qtappfw-bt qtappfw-vehicle-signals qtappfw-applauncher 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/applicationlauncher.cpp \ + src/mastervolume.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/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 \ @@ -50,3 +49,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