CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(settings-tv-ref)
-IF (with_wayland)
- ADD_DEFINITIONS("-DWAYLAND")
-ENDIF (with_wayland)
-
INCLUDE(FindPkgConfig)
pkg_check_modules(HOMEPANEL_PKGS REQUIRED
application-common
-%bcond_with x
-%bcond_with wayland
-
Name: org.tizen.settings-tv-ref
Summary: Setting Reference Application
Version: 0.2
%define _ugedjedir /usr/ug/res/edje
%define _jsonhelperfile %{_jsonoutputdir}/helper.json
+%if "%{?_with_wayland}" == "1"
+ExcludeArch: armv7l i586 i686 x86_64 aarch64
+%endif
+
%description
Description: settings-tv-ref application
-DDESKTOP_ICONDIR=%{_desktop_icondir} \
-DDESKTOP_ICON=%{name}.png \
-DDESKTOP_ICON_4X2=%{name}_4x2.png \
- -DJSONHELPERFILE=%{_jsonhelperfile} \
- %if %{with wayland} && !%{with x}
- -Dwith_wayland=TRUE
- %else
- -Dwith_x=TRUE
- %endif
+ -DJSONHELPERFILE=%{_jsonhelperfile}
make %{?jobs:-j%jobs}
%install