Name: libmm-camcorder
Summary: Camera and recorder library
-Version: 0.10.141
+Version: 0.10.214
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(mm-common)
-BuildRequires: pkgconfig(mm-sound)
BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(mmutil-imgp)
BuildRequires: pkgconfig(mmutil-jpeg)
+BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-base-1.0)
+BuildRequires: pkgconfig(gstreamer-allocators-1.0)
BuildRequires: pkgconfig(gstreamer-video-1.0)
BuildRequires: pkgconfig(gstreamer-app-1.0)
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(libtbm)
BuildRequires: pkgconfig(storage)
-%if "%{TIZEN_PRODUCT_TV}" != "1"
-BuildRequires: pkgconfig(murphy-resource)
-BuildRequires: pkgconfig(murphy-glib)
-%else
+%if "%{tizen_profile_name}" == "tv"
BuildRequires: pkgconfig(tv-resource-manager)
+BuildRequires: pkgconfig(tv-resource-information)
BuildRequires: pkgconfig(aul)
+%if (("%{_vd_cfg_product_type}" != "AUDIO") && ("%{_vd_cfg_target_repository}" != "emulator"))
+BuildRequires: pkgconfig(camera-conf-mgr-tv)
+%endif
+%else
+BuildRequires: pkgconfig(mm-resource-manager)
%endif
BuildRequires: pkgconfig(ttrace)
BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: pkgconfig(dpm)
BuildRequires: pkgconfig(dlog)
+%if "%{gtests}" == "1"
+BuildRequires: pkgconfig(gmock)
+%endif
%description
Camera and recorder function supported library.
%build
+%if 0%{?gcov:1}
+export CFLAGS+=" -fprofile-arcs -ftest-coverage"
+export LDFLAGS+=" -lgcov"
+%endif
export CFLAGS+=" -D_LARGEFILE64_SOURCE -DGST_USE_UNSTABLE_API -DSYSCONFDIR=\\\"%{_sysconfdir}\\\" -DTZ_SYS_ETC=\\\"%{TZ_SYS_ETC}\\\""
./autogen.sh
%configure \
-%if "%{TIZEN_PRODUCT_TV}" != "1"
- --enable-murphy \
-%else
+%if "%{tizen_profile_name}" == "tv"
--enable-rm \
--enable-product-tv \
+%if (("%{_vd_cfg_product_type}" != "AUDIO") && ("%{_vd_cfg_target_repository}" != "emulator"))
+ --enable-camera-conf-mgr-tv \
+%endif
+%else
+ --enable-mm-resource-manager \
+%endif
+%if "%{gtests}" == "1"
+ --enable-gtests \
%endif
--disable-static
make %{?jobs:-j%jobs}
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%{_datadir}/sounds/mm-camcorder/*
+%if "%{gtests}" == "1"
+%{_bindir}/gtests-libmm-camcorder
+%endif
%files devel
%defattr(-,root,root,-)