From f5f2fbc21adf4f4fc1e37a4bdcf89cc66ea1a5c7 Mon Sep 17 00:00:00 2001 From: Eunhae Choi Date: Tue, 24 Apr 2018 18:10:09 +0900 Subject: [PATCH] [spec] change build macro about tv Change-Id: I73f9dd45f9815844f9133ba2e44abf2fd1ebde31 --- packaging/gst-plugins-base.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/gst-plugins-base.spec b/packaging/gst-plugins-base.spec index 907776d..8d96c55 100755 --- a/packaging/gst-plugins-base.spec +++ b/packaging/gst-plugins-base.spec @@ -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 -- 2.7.4