From 0980f20c97762637f0277ce6017cd494b6b525f4 Mon Sep 17 00:00:00 2001 From: "gs86.lee" Date: Wed, 3 Feb 2016 14:07:41 +0900 Subject: [PATCH] Modify build macro : tizen_profile_name -> profile Change-Id: I4d9817327986be892bec2472ca16eb9d4080a365 --- CMakeLists.txt | 20 ++++++++++---------- packaging/boot-animation.spec | 6 +++--- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db535a6..4f86a4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,17 +14,17 @@ INCLUDE(FindPkgConfig) pkg_check_modules(pkgs REQUIRED elementary mm-bootsound -# utilX + #utilX vconf -# ecore-x - evas - ecore-evas - edje -# x11 - capi-appfw-preference - capi-system-info - capi-system-system-settings -) + #ecore-x + evas + ecore-evas + edje + #x11 + capi-appfw-preference + capi-system-info + capi-system-system-settings + ) FOREACH(flag ${pkgs_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") diff --git a/packaging/boot-animation.spec b/packaging/boot-animation.spec index 25fab85..5526373 100644 --- a/packaging/boot-animation.spec +++ b/packaging/boot-animation.spec @@ -1,12 +1,12 @@ #sbs-git:slp/pkgs/b/boot-animation boot-animation 0.2 d1bbca3948e4cdb6b2f9e75f176500f452fe6a33 -%if "%{?tizen_profile_name}" == "wearable" +%if "%{?profile}" == "wearable" %define micro_ani ON %else %define micro_ani OFF %endif -%if "%{?tizen_profile_name}" == "tv" +%if "%{?profile}" == "tv" ExcludeArch: %{arm} %ix86 x86_64 %endif @@ -51,7 +51,7 @@ Shows an animation and plays a sound when the device is booted or shutdown. %define ARCH emulator %endif -cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DUSE_MICRO_ANI=%{micro_ani} -DARCH=%{ARCH} -DTIZEN_PROFILE_NAME=%{tizen_profile_name} +cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DUSE_MICRO_ANI=%{micro_ani} -DARCH=%{ARCH} -DTIZEN_PROFILE_NAME=%{profile} make %{?jobs:-j%jobs} -- 2.7.4