X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fhomescreen.pro;h=7e93e02883fd28e3e4ee6efe8016613442ae0a73;hb=a920d9537132f3778c137edee8d6741102919787;hp=061d2fb0c1605e812b64b4cd01cb3a2df185538d;hpb=79e0139fb399b5af1342783ed6abb61aff6e28dd;p=apps%2Fhomescreen.git diff --git a/homescreen/homescreen.pro b/homescreen/homescreen.pro index 061d2fb..7e93e02 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 -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.19-protocols) +WAYLANDCLIENTSOURCES += $$AGL_SHELL_PATH/agl-shell.xml + +target.path = $${PREFIX}/usr/bin +target.files += $${OUT_PWD}/$${TARGET} +target.CONFIG = no_check_exist executable + +INSTALLS += target