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

packaging/gst-plugins-base.spec

index 907776d..8d96c55 100755 (executable)
@@ -17,7 +17,7 @@ BuildRequires:  pkgconfig(glib-2.0) >= 2.32
 BuildRequires:  pkgconfig(gstreamer-1.0)
 BuildRequires:  orc >= 0.4.16
 BuildRequires:  python
-%if "%{TIZEN_PRODUCT_TV}" != "1"
+%if "%{tizen_profile_name}" != "tv"
 BuildRequires:  update-desktop-files
 %endif
 BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 1.31.1
@@ -91,7 +91,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing\
  -DTIZEN_FEATURE_VIDEO_MODIFICATION\
  -DTIZEN_FEATURE_SUBPARSE_MODIFICATION\
  -DTIZEN_FEATURE_VOLUME_MODIFICATION\
-%if "%{TIZEN_PRODUCT_TV}" == "1"
+%if "%{tizen_profile_name}" == "tv"
  -DTIZEN_PROFILE_TV\
  -DTIZEN_FEATURE_TRUSTZONE\
 %endif
@@ -106,7 +106,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing\
         --enable-introspection\
         --disable-encoding\
         --disable-examples\
-%if "%{TIZEN_PRODUCT_TV}" == "1"
+%if "%{tizen_profile_name}" == "tv"
         --enable-tv\
 %endif
         --enable-tbm