[spec] change build macro about tv 41/176941/1 accepted/tizen/unified/20180426.062436 submit/tizen/20180424.091503
authorEunhae Choi <eunhae1.choi@samsung.com>
Tue, 24 Apr 2018 09:09:20 +0000 (18:09 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Tue, 24 Apr 2018 09:09:48 +0000 (18:09 +0900)
Change-Id: Ic70f8014db098f2d13636bf2e3e1f1d008a1cd9e

packaging/gstreamer.spec

index dea1e50..7aa1ccf 100644 (file)
@@ -72,7 +72,7 @@ export CFLAGS="%{optflags} \
        -DTIZEN_FEATURE_MQ_MODIFICATION_EXTRA_SIZE_TIME\
        -DTIZEN_FEATURE_BASEPARSE_MODIFICATION\
        -DTIZEN_FEATURE_QUEUE_MODIFICATION\
-%if "%{TIZEN_PRODUCT_TV}" == "1"
+%if "%{tizen_profile_name}" == "tv"
        -DTIZEN_PROFILE_TV\
        -DRVU_LIVESTREAMING_OPTIMIZATION\
        -DTIZEN_FEATURE_TRUSTZONE\
@@ -91,7 +91,7 @@ export CFLAGS="%{optflags} \
         --disable-docbook\
         --disable-gtk-doc\
         --enable-dlog\
-%if "%{TIZEN_PRODUCT_TV}" == "1"
+%if "%{tizen_profile_name}" == "tv"
         --enable-tv-profile\
 %endif
         --disable-examples\