-%bcond_with wayland
-
Name: e-mod-tizen-keyrouter
Version: 0.1.29
Release: 1
BuildRequires: pkgconfig(enlightenment)
BuildRequires: gettext
BuildRequires: pkgconfig(ttrace)
-%if %{with wayland}
BuildRequires: pkgconfig(wayland-server)
BuildRequires: pkgconfig(tizen-extension-server)
BuildRequires: pkgconfig(cynara-client)
BuildRequires: pkgconfig(cynara-creds-socket)
BuildRequires: pkgconfig(capi-system-device)
-%endif
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: xkb-tizen-data
export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib"
%autogen
-%if %{with wayland}
%configure --prefix=/usr \
--enable-wayland-only \
--enable-cynara \
TZ_SYS_RO_APP=%{TZ_SYS_RO_APP}
-%endif
make