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=773271e35681be56fc7656f89b94663b08033162;hpb=f3de2f5cad06a772ee55f58694d559a7cb012c02;p=apps%2Fhomescreen.git diff --git a/homescreen/homescreen.pro b/homescreen/homescreen.pro index 773271e..00ed5e7 100644 --- a/homescreen/homescreen.pro +++ b/homescreen/homescreen.pro @@ -14,35 +14,30 @@ # limitations under the License. TEMPLATE = app -TARGET = HomeScreen -QT = qml quick dbus websockets -CONFIG += c++11 link_pkgconfig -DESTDIR = $${OUT_PWD}/../package/root/bin -PKGCONFIG += qlibwindowmanager qtappfw afb-helpers-qt +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 -LIBS += -lhomescreen - -include(../interfaces/interfaces.pri) +DBUS_INTERFACES = $$[QT_SYSROOT]/usr/share/dbus-1/interfaces/org.automotivelinux.AppLaunch.xml SOURCES += \ src/main.cpp \ + src/shell.cpp \ src/statusbarmodel.cpp \ src/statusbarserver.cpp \ src/applicationlauncher.cpp \ src/mastervolume.cpp \ - src/homescreenhandler.cpp \ - src/aglsocketwrapper.cpp \ - src/chromecontroller.cpp + src/homescreenhandler.cpp HEADERS += \ + src/shell.h \ + src/constants.h \ src/statusbarmodel.h \ src/statusbarserver.h \ src/applicationlauncher.h \ src/mastervolume.h \ - src/homescreenhandler.h \ - src/aglsocketwrapper.h \ - src/chromecontroller.h \ - src/constants.h + src/homescreenhandler.h OTHER_FILES += \ README.md @@ -54,5 +49,13 @@ RESOURCES += \ qml/images/Shortcut/shortcut.qrc \ qml/images/Status/status.qrc \ qml/images/images.qrc \ - qml/qml.qrc \ - qml/images/SpeechChrome/speechchrome.qrc \ No newline at end of file + 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