Name: libmm-camcorder
Summary: Camera and recorder library
-Version: 0.10.180
+Version: 0.10.214
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
BuildRequires: pkgconfig(storage)
%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
%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_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