change tv featuring option
authorEunhae Choi <eunhae1.choi@samsung.com>
Tue, 3 Jan 2017 14:47:54 +0000 (23:47 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Tue, 3 Jan 2017 14:47:54 +0000 (23:47 +0900)
Change-Id: If8587d684d803dd394c07291a89154abb6e0f60f

packaging/gst-plugins-base.spec

index 059fa2a..b2d805d 100644 (file)
@@ -77,7 +77,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing\
  -DTIZEN_FEATURE_VIDEO_MODIFICATION\
  -DTIZEN_FEATURE_SUBPARSE_MODIFICATION\
  -DTIZEN_FEATURE_VOLUME_MODIFICATION\
-%if "%{?profile}" == "tv"
+%if "%{TIZEN_PRODUCT_TV}" == "1"
  -DTIZEN_PROFILE_TV\
  -DTIZEN_FEATURE_TRUSTZONE\
 %endif
@@ -93,7 +93,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing\
 %if "%{?profile}" != "mobile"
         --disable-adder\
 %endif
-%if "%{?profile}" == "tv"
+%if "%{TIZEN_PRODUCT_TV}" == "1"
         --enable-tv\
 %endif
         --enable-use-tbmbuf
@@ -116,7 +116,7 @@ mv %{name}-%{gst_branch}.lang %{name}.lang
 %defattr(-, root, root)
 %license COPYING.LIB
 
-%if "%{?profile}" != "tv"
+%if "%{TIZEN_PRODUCT_TV}" != "1"
 %{_bindir}/gst-device-monitor-%{gst_branch}
 %{_bindir}/gst-discoverer-%{gst_branch}
 %{_bindir}/gst-play-%{gst_branch}
@@ -149,7 +149,7 @@ mv %{name}-%{gst_branch}.lang %{name}.lang
 %{_lib_gstreamer_dir}/libgstvolume.so
 %{_lib_gstreamer_dir}/libgstvorbis.so
 
-%if "%{?profile}" != "tv"
+%if "%{TIZEN_PRODUCT_TV}" != "1"
 %doc %{_mandir}/man1/gst-device-monitor-*
 %doc %{_mandir}/man1/gst-discoverer-*
 %doc %{_mandir}/man1/gst-play-*