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

packaging/gst-plugins-good.spec

index fd6aed1..11ef7e7 100644 (file)
@@ -35,7 +35,7 @@ BuildRequires:  pkgconfig(xv)
 %endif
 
 BuildRequires:  pkgconfig(zlib)
-%if "%{TIZEN_PRODUCT_TV}" != "1"
+%if "%{tizen_profile_name}" != "tv"
 BuildRequires:  pkgconfig(libv4l2)
 %endif
 BuildRequires:  pkgconfig(vconf)
@@ -89,7 +89,7 @@ export CFLAGS+=" -DTIZEN_FEATURE_V4L2SRC_SCAN_DEVICE_NODE\
 %if ! 0%{?ENABLE_AALIB}
        --disable-aalib\
 %endif
-%if "%{TIZEN_PRODUCT_TV}" != "1"
+%if "%{tizen_profile_name}" != "tv"
        --with-libv4l2 \
 %endif
        --disable-gtk-doc\
@@ -99,7 +99,7 @@ export CFLAGS+=" -DTIZEN_FEATURE_V4L2SRC_SCAN_DEVICE_NODE\
        --disable-taglib\
        --disable-wavpack\
        --enable-experimental\
-%if "%{TIZEN_PRODUCT_TV}" == "1"
+%if "%{tizen_profile_name}" == "tv"
        --disable-equalizer\
        --disable-flv\
        --disable-videobox\
@@ -186,7 +186,7 @@ make %{?_smp_mflags} CFLAGS+="-Wno-error" CXXFLAGS+="-Wno-error"
 
 %{_libdir}/gstreamer-%{gst_branch}/libgstvideocrop.so
 %{_libdir}/gstreamer-%{gst_branch}/libgstvideofilter.so
-%if "%{TIZEN_PRODUCT_TV}" != "1"
+%if "%{tizen_profile_name}" != "tv"
 %{_libdir}/gstreamer-%{gst_branch}/libgstflv.so
 %{_libdir}/gstreamer-%{gst_branch}/libgstequalizer.so
 %{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer10Bands.prs