Remove Profile Build Dependency (TV) 40/92840/9 accepted/tizen/common/20170123.182408 accepted/tizen/ivi/20170125.084826 accepted/tizen/mobile/20170125.084735 accepted/tizen/tv/20170125.084757 accepted/tizen/wearable/20170125.084808 submit/tizen/20170123.123250
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 19 Oct 2016 04:39:16 +0000 (04:39 +0000)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 16 Jan 2017 08:02:15 +0000 (00:02 -0800)
This targets Tizen 4.0 (tizen branch)

- When this commit is being SR-ed, you need to create JIRA-TRE issue
of the following requests:
  - Add gst-plugins-base-profile_common for common profile
  - Add gst-plugins-base-profile_wearable for wearable profile
  - Add gst-plugins-base-profile_tv for tv profile
  - Add gst-plugins-base-profile_ivi for ivi profile
  - Add gst-plugins-base-profile_mobile for mobile profile

- This also removes doc (man) files from automatically installed to
devices.

Change-Id: If24d37dd86586fc61ef5eeec0447fa874f6d354b
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Makefile.am
configure.ac
packaging/gst-plugins-base.spec

index a17bab4..70e4499 100644 (file)
@@ -6,11 +6,7 @@ else
 SUBDIRS_EXT =
 endif
 
-if TV_PROFILE
-SUBDIRS_TOOLS =
-else
 SUBDIRS_TOOLS = tools
-endif
 
 SUBDIRS =                      \
        pkgconfig               \
index 1213b93..bd82923 100644 (file)
@@ -153,18 +153,6 @@ AM_CONDITIONAL(HAVE_CXX, test "x$working_cxx" = "xyes")
 AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
 AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
 
-dnl check for tv profile
-
-AC_ARG_ENABLE(tv, AC_HELP_STRING([--enable-tv], [enable tv profile]),
-        [
-          case "${enableval}" in
-           yes) TV_PROFILE=yes ;;
-           no)  TV_PROFILE=no ;;
-           *)   AC_MSG_ERROR(bad value ${enableval} for --enable-tv) ;;
-          esac
-        ],
-        [TV_PROFILE=no])
-AM_CONDITIONAL([TV_PROFILE], [test "x$TV_PROFILE" = "xyes"])
 
 dnl check for tbm buffer
 
index 3383a39..9896d03 100644 (file)
@@ -44,6 +44,10 @@ BuildRequires:  pkgconfig(libdri2)
 
 Requires:       gstreamer >= 1.0.0
 Supplements:    gstreamer
+Provides:      %{name}-profile_tv = %{version}-%{release}
+Provides:      %{name}-profile_common = %{version}-%{release}
+Provides:      %{name}-profile_wearable = %{version}-%{release}
+Provides:      %{name}-profile_ivi = %{version}-%{release}
 
 %description
 GStreamer is a streaming media framework based on graphs of filters
@@ -52,6 +56,14 @@ anything media-related, from real-time sound processing to playing
 videos. Its plug-in-based architecture means that new data types or
 processing capabilities can be added simply by installing new plug-ins.
 
+%package extension-adder
+Summary:       libgstadder.so for gst-plugins-base
+Requires:   %{name} = %{version}-%{release}
+Provides:   %{name}-profile_mobile = %{version}-%{release}
+%description extension-adder
+Libgstadder.so for gst-plugin-base. Supplicant for gst-plugin-base.
+This is for Tizen mobile profile.
+
 %package devel
 Summary:        Include files and Libraries
 Requires:       %{name} = %{version}
@@ -90,9 +102,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing\
         --enable-introspection\
         --disable-encoding\
         --disable-examples\
-%if "%{?profile}" != "mobile"
-        --disable-adder\
-%endif
 %if "%{TIZEN_PRODUCT_TV}" == "1"
         --enable-tv\
 %endif
@@ -125,10 +134,6 @@ mv %{name}-%{gst_branch}.lang %{name}.lang
 %define _lib_gstreamer_dir %{_libdir}/gstreamer-%{gst_branch}
 %define _libdebug_dir %{_libdir}/debug/usr/lib
 
-%if "%{?profile}" == "mobile"
-%{_lib_gstreamer_dir}/libgstadder.so
-%endif
-
 %{_lib_gstreamer_dir}/libgstalsa.so
 %{_lib_gstreamer_dir}/libgstapp.so
 %{_lib_gstreamer_dir}/libgstaudioconvert.so
@@ -190,6 +195,9 @@ mv %{name}-%{gst_branch}.lang %{name}.lang
 %dir %{_datadir}/gst-plugins-base/%{gst_branch}/
 %{_datadir}/gst-plugins-base/%{gst_branch}/license-translations.dict
 
+%files extension-adder
+%{_lib_gstreamer_dir}/libgstadder.so
+
 %files devel
 %manifest %{name}.manifest
 %defattr(-, root, root)