From: Eunhae Choi Date: Tue, 24 Apr 2018 09:10:35 +0000 (+0900) Subject: [spec] change build macro about tv X-Git-Tag: accepted/tizen/unified/20180426.062433^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70b97b5622544e0c8488bda09ed82065e401e755;hp=22b27affdc028a1425667de2ee94369bfacca0de;p=platform%2Fupstream%2Fgst-plugins-good.git [spec] change build macro about tv Change-Id: Iee9337804425fafa84a469167154985dbeeab254 --- diff --git a/packaging/gst-plugins-good.spec b/packaging/gst-plugins-good.spec index fd6aed1..11ef7e7 100644 --- a/packaging/gst-plugins-good.spec +++ b/packaging/gst-plugins-good.spec @@ -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