[v0.3.32] enable evas surface on tv platform 87/97387/1
authorNAMJEONGYOON <just.nam@samsung.com>
Fri, 11 Nov 2016 07:54:52 +0000 (16:54 +0900)
committerNAMJEONGYOON <just.nam@samsung.com>
Mon, 14 Nov 2016 05:10:39 +0000 (14:10 +0900)
Change-Id: I89b4ba773ef1e888cd579e8d4b7f560f3161ac19

packaging/capi-media-player.spec

index 764f8e4..ba22a3d 100644 (file)
@@ -26,7 +26,7 @@ BuildRequires:  pkgconfig(libtbm)
 BuildRequires:  pkgconfig(eom)
 BuildRequires:  pkgconfig(storage)
 BuildRequires:  pkgconfig(capi-system-info)
-%if "%{?profile}" != "tv"
+%if "%{TIZEN_PRODUCT_TV}" != "1"
 BuildRequires:  pkgconfig(mm-evas-renderer)
 %endif
 
@@ -60,7 +60,7 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %if "%{?profile}" == "tv"
     -DTIZEN_TV=YES \
 %endif
-%if "%{?profile}" == "tv"
+%if "%{TIZEN_PRODUCT_TV}" == "1"
        -DTIZEN_FEATURE_EVAS_RENDERER=Off
 %else
        -DTIZEN_FEATURE_EVAS_RENDERER=On