Name: libscl-ui
Summary: A library for developing XML-based software keyboards
-Version: 0.6.50
+Version: 0.6.57
Release: 1
Group: Graphics & UI Framework/Input
License: Apache-2.0
BuildRequires: cmake
BuildRequires: pkgconfig(elementary)
%if %{with wayland}
+BuildRequires: pkgconfig(ecore-wayland)
%else
BuildRequires: pkgconfig(ecore-x)
BuildRequires: pkgconfig(x11)
rm -rf CMakeCache.txt
%if %{with wayland}
-cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir} -Dwith_wayland=TRUE
+%cmake . -Dwith_wayland=TRUE
%else
-cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR:PATH=%{_libdir}
+%cmake .
%endif
make %{?_smp_mflags}