X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fhomescreen.pro;h=c713c760196dee4dc24ac720e4b8980c142af648;hb=20f629dd6d8628611d950073c4f7a0446c40365a;hp=ca9ea3b5ddb0eb45f2ced8b860175c8a1bfd9743;hpb=eb227c1da7bdd2d81c5a95881d7eef18369ca96a;p=apps%2Fhomescreen.git diff --git a/homescreen/homescreen.pro b/homescreen/homescreen.pro index ca9ea3b..c713c76 100644 --- a/homescreen/homescreen.pro +++ b/homescreen/homescreen.pro @@ -14,39 +14,29 @@ # limitations under the License. TEMPLATE = app -TARGET = HomeScreen -QT = qml quick websockets gui-private +TARGET = homescreen +QT = qml quick gui-private CONFIG += c++11 link_pkgconfig wayland-scanner -DESTDIR = $${OUT_PWD}/../package/root/bin -PKGCONFIG += qtappfw-weather qtappfw-network qtappfw-bt afb-helpers-qt wayland-client json-c - -LIBS += -lhomescreen - -CONFIG(release, debug|release) { - QMAKE_POST_LINK = $(STRIP) --strip-unneeded $(TARGET) -} +PKGCONFIG += wayland-client +PKGCONFIG += qtappfw-weather qtappfw-network qtappfw-bt qtappfw-vehicle-signals qtappfw-applauncher SOURCES += \ src/main.cpp \ + src/shell.cpp \ src/statusbarmodel.cpp \ src/statusbarserver.cpp \ src/applicationlauncher.cpp \ src/mastervolume.cpp \ - src/homescreenhandler.cpp \ - src/shell.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/shell.h \ - src/aglsocketwrapper.h \ - src/chromecontroller.h \ - src/constants.h + src/homescreenhandler.h OTHER_FILES += \ README.md @@ -58,9 +48,13 @@ RESOURCES += \ qml/images/Shortcut/shortcut.qrc \ qml/images/Status/status.qrc \ qml/images/images.qrc \ - qml/qml.qrc \ - qml/images/SpeechChrome/speechchrome.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 -WAYLANDCLIENTSOURCES += \ - protocol/agl-shell.xml +INSTALLS += target