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
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
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}
--enable-introspection\
--disable-encoding\
--disable-examples\
-%if "%{?profile}" != "mobile"
- --disable-adder\
-%endif
%if "%{TIZEN_PRODUCT_TV}" == "1"
--enable-tv\
%endif
%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
%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)