Change-Id: I2153f9291e6be41f542664564cdaf7ef799d6712
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Name: ico-uxf-homescreen
Summary: Sample homescreen and system controller
Version: 0.9.22
-Release: 1.1
+Release: 0
Group: Graphics & UI Framework/Automotive UI
License: Apache-2.0
URL: ""
%prep
%setup -q -n %{name}-%{version}
+mkdir -p weston
+cp -av /usr/share/genivi-shell/protocol/*.xml weston/
+
+ls weston/*.xml | while read protocol ; do
+
+ /usr/bin/wayland-scanner client-header \
+ < "${protocol}" > "${protocol/.xml/}-client-protocol.h"
+
+ /usr/bin/wayland-scanner code \
+ < "${protocol}" > "${protocol/.xml/.c}"
+
+done
+
+ls weston/
+
+
%build
%autogen
make %{?_smp_mflags}