From 9c1fe111c1e39885e3f5b46ed4484f6aa1e5997f Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Wed, 19 Oct 2016 04:39:16 +0000 Subject: [PATCH] Remove Profile Build Dependency (TV) 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 --- Makefile.am | 4 ---- configure.ac | 12 ------------ packaging/gst-plugins-base.spec | 22 +++++++++++++++------- 3 files changed, 15 insertions(+), 23 deletions(-) diff --git a/Makefile.am b/Makefile.am index a17bab4..70e4499 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,11 +6,7 @@ else SUBDIRS_EXT = endif -if TV_PROFILE -SUBDIRS_TOOLS = -else SUBDIRS_TOOLS = tools -endif SUBDIRS = \ pkgconfig \ diff --git a/configure.ac b/configure.ac index 1213b93..bd82923 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/packaging/gst-plugins-base.spec b/packaging/gst-plugins-base.spec index 3383a39..9896d03 100644 --- a/packaging/gst-plugins-base.spec +++ b/packaging/gst-plugins-base.spec @@ -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) -- 2.7.4