Fix build error with TV profile 49/135849/3
authorSangjin, Sim <sangjin0924.sim@samsung.com>
Tue, 27 Jun 2017 04:55:52 +0000 (13:55 +0900)
committerSangjin, Sim <sangjin0924.sim@samsung.com>
Tue, 27 Jun 2017 08:18:04 +0000 (17:18 +0900)
Signed-off-by: Sangjin, Sim <sangjin0924.sim@samsung.com>
Change-Id: I4e1010d5577ceb50df55b09940eed2401ad14f53
Signed-off-by: Sangjin, Sim <sangjin0924.sim@samsung.com>
Makefile.am
configure.ac
packaging/gst-plugins-base.spec

index 70e4499e0ac81e5369a2b454bd7e2dfadb4f4082..3e22b050cfaea01cef6d993f39af0f5a2eec7974 100644 (file)
@@ -6,7 +6,11 @@ else
 SUBDIRS_EXT =
 endif
 
+if HAVE_TV_PRODUCT
+SUBDIRS_TOOLS =
+else
 SUBDIRS_TOOLS = tools
+endif
 
 SUBDIRS =                      \
        pkgconfig               \
index bd82923885e5963628c644dfc2461b69168cee6e..02c13ae8e9af9318f8bcd518ab09108031d15c10 100644 (file)
@@ -167,6 +167,17 @@ AC_ARG_ENABLE(tbmbuf, AC_HELP_STRING([--enable-use-tbmbuf], [use tbm buf]),
         [BOARD_USE_TBM_BUF=yes])
 AM_CONDITIONAL([BOARD_USE_TBM_BUF], [test "x$BOARD_USE_TBM_BUF" = "xyes"])
 
+dnl Check for tv-product
+AC_ARG_ENABLE(tv, AC_HELP_STRING([--enable-tv], [use tv]),
+        [
+          case "${enableval}" in
+           yes) HAVE_TV_PRODUCT=yes ;;
+           no)  HAVE_TV_PRODUCT=no ;;
+           *)   AC_MSG_ERROR(bad value ${enableval} for --enable-tv) ;;
+          esac
+        ],)
+AM_CONDITIONAL([HAVE_TV_PRODUCT], [test "x$HAVE_TV_PRODUCT" = "xyes"])
+
 dnl check for gobject-introspection
 GOBJECT_INTROSPECTION_CHECK([1.31.1])
 
index aad3285c585dcd907d8718f8632a8a1e4fa071ae..fa6667a96540b1a4809eeec6b33ba2545cbff40a 100755 (executable)
@@ -17,7 +17,9 @@ BuildRequires:  pkgconfig(glib-2.0) >= 2.32
 BuildRequires:  pkgconfig(gstreamer-1.0)
 BuildRequires:  orc >= 0.4.16
 BuildRequires:  python
+%if "%{TIZEN_PRODUCT_TV}" != "1"
 BuildRequires:  update-desktop-files
+%endif
 BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 1.31.1
 BuildRequires:  pkgconfig(alsa) >= 0.9.1
 BuildRequires:  pkgconfig(freetype2) >= 2.0.9