summaryrefslogtreecommitdiff
path: root/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph
blob: 66d2c4f10143d9a1c274f57ba5d43cf0fed0fcc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: genivi-demo-platform-hmi
kind: chunk
pre-configure-commands:
- |
  git apply - << "EOF"
  diff --git a/configure.ac b/configure.ac
  index f0c7ba2..4ff1462 100644
  --- a/configure.ac
  +++ b/configure.ac
  @@ -61,10 +61,10 @@ PKG_CHECK_MODULES([CLIENT], [
   AC_CHECK_HEADERS([ilm/ilm_types.h])
   AC_CHECK_LIB(ilmClient, ilm_UpdateInputEventAcceptanceOn,
   	[ILM_LIBS="-lilmCommon -lilmClient"],
  -	[AC_MSG_ERROR([Can't find correct ilmClient library.])])
  +	[AC_MSG_ERROR([Can't find correct ilmClient library.])], -lilmControl)
   AC_CHECK_LIB(ilmControl, ilm_SetKeyboardFocusOn,
   	[ILM_LIBS="$ILM_LIBS -lilmControl"],
  -	[AC_MSG_ERROR([Can't find correct ilmControl library.])])
  +	[AC_MSG_ERROR([Can't find correct ilmControl library.])], -lilmClient)
   AC_SUBST(ILM_LIBS)
   
   WAYLAND_PREFIX=`$PKG_CONFIG --variable=prefix wayland-client`
  EOF
configure-commands:
- autoreconf -vfi && ./configure --prefix=$PREFIX
- cd app/gdp-hmi-background && qmake -r gdp-hmi-background.pro
- cd app/gdp-hmi-launcher && qmake -r gdp-hmi-launcher.pro
- cd app/gdp-hmi-panel && qmake -r gdp-hmi-panel.pro
build-commands:
- make
- cd app/gdp-hmi-background && make
- cd app/gdp-hmi-launcher && make
- cd app/gdp-hmi-panel && make
install-commands:
- make DESTDIR=$DESTDIR install
- cd app/gdp-hmi-background && make INSTALL_ROOT=$DESTDIR install
- cd app/gdp-hmi-launcher && make INSTALL_ROOT=$DESTDIR install
- cd app/gdp-hmi-panel && make INSTALL_ROOT=$DESTDIR install
- mkdir -p $DESTDIR/usr/share/gdp
- cp -a app/*/assets/* $DESTDIR/usr/share/gdp/