[spec] change build macro about tv 44/176944/1 accepted/tizen/unified/20180426.062439 submit/tizen/20180424.091503
authorEunhae Choi <eunhae1.choi@samsung.com>
Tue, 24 Apr 2018 09:10:47 +0000 (18:10 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Tue, 24 Apr 2018 09:10:47 +0000 (18:10 +0900)
Change-Id: Ie1883210fefc161b916a72d1928992c7c45edb66

packaging/gst-plugins-bad.spec

index 1ec62f8..4b52d07 100644 (file)
@@ -82,7 +82,7 @@ export CFLAGS+=" -Wall -g -fPIC\
        --disable-static\
        --disable-examples\
        --enable-experimental\
-%if "%{TIZEN_PRODUCT_TV}" == "1"
+%if "%{tizen_profile_name}" == "tv"
        --enable-tv\
        --disable-autoconvert\
        --disable-camerabin2\
@@ -189,7 +189,7 @@ rm -rf $RPM_BUILD_ROOT
 %manifest %{name}.manifest
 %defattr(-, root, root)
 %license COPYING.LIB
-%if "%{TIZEN_PRODUCT_TV}" != "1"
+%if "%{tizen_profile_name}" != "tv"
 %{_libdir}/gstreamer-%{gst_branch}/libgstautoconvert.so
 %{_libdir}/gstreamer-%{gst_branch}/libgstcamerabin.so
 %{_libdir}/gstreamer-%{gst_branch}/libgstcoloreffects.so
@@ -234,7 +234,7 @@ rm -rf $RPM_BUILD_ROOT
 %manifest %{name}.manifest
 %defattr(-, root, root)
 %{_includedir}/gstreamer-%{gst_branch}
-%if "%{TIZEN_PRODUCT_TV}" != "1"
+%if "%{tizen_profile_name}" != "tv"
 %{_libdir}/gstreamer-%{gst_branch}/include/gst/gl/gstglconfig.h
 %endif
 %{_libdir}/*.so