kind: manual depends: - genivi/genivi-demo-platform-libs.bst - qt5-tools.bst - qt5-tools-qtmultimedia.bst - qt5-tools-qtwebkit.bst - genivi/genivi.bst - wayland-generic.bst - genivi/weston-genivi.bst sources: - kind: git url: upstream:genivi/genivi-demo-platform-hmi track: master ref: fd2c954165b0c0f7f4d9e94e8c9c3c8541a53e79 config: configure-commands: - | sed -i 's/sd_journal_print(LOG_DEBUG,/printf("DEBUG: "/' $(find . -name '*.cpp' -o -name '*.h') - | sed -i 's/sd_journal_print(LOG_INFO,/printf("INFO: "/' $(find . -name '*.cpp' -o -name '*.h') - | sed -i 's/sd_journal_print(LOG_ERR,/printf("ERR: "/' $(find . -name '*.cpp' -o -name '*.h') - autoreconf -vfi && ./configure --prefix="%{prefix}" - cd app/gdp-hmi-background && qmake - cd app/gdp-hmi-launcher2 && qmake - cd app/gdp-hmi-panel && qmake - cd app/qml-example && qmake build-commands: - make - cd app/gdp-hmi-background && make - cd app/gdp-hmi-launcher2 && make - cd app/gdp-hmi-panel && make - cd app/qml-example && make install-commands: - make DESTDIR="%{install-root}" install - cd app/gdp-hmi-background && make INSTALL_ROOT="%{install-root}" install - cd app/gdp-hmi-launcher2 && make INSTALL_ROOT="%{install-root}" install - cd app/gdp-hmi-panel && make INSTALL_ROOT="%{install-root}" install - cd app/qml-example && make INSTALL_ROOT="%{install-root}" install - mkdir -p "%{install-root}"/usr/share/gdp - cp -a app/gdp-hmi-background/assets/* "%{install-root}"/usr/share/gdp/ - cp -a app/gdp-hmi-launcher2/content/images/* "%{install-root}"/usr/share/gdp/ - cp -a app/gdp-hmi-panel/assets/* "%{install-root}"/usr/share/gdp/ - mkdir -p "%{install-root}/usr/lib/systemd/user" - mkdir -p "%{install-root}/usr/lib/systemd/user/default.target.wants" - | cat >"%{install-root}/usr/lib/systemd/user/gdp-hmi-launcher2.service" <"%{install-root}/usr/lib/systemd/user/gdp-hmi-background.service" <"%{install-root}/usr/lib/systemd/user/gdp-hmi-controller.service" <"%{install-root}/usr/lib/systemd/user/gdp-hmi-panel.service" <"%{install-root}/usr/lib/systemd/user/EGLWLMockNavigation.service" < "%{install-root}/usr/lib/systemd/user/EGLWLInputEventExample.service" < "%{install-root}/usr/lib/systemd/user/qml-example.service" < "%{install-root}/usr/lib/systemd/user/PowerOff.service" <