projects
/
platform
/
core
/
multimedia
/
libmm-camcorder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new util function to get video caps
[platform/core/multimedia/libmm-camcorder.git]
/
packaging
/
libmm-camcorder.spec
diff --git
a/packaging/libmm-camcorder.spec
b/packaging/libmm-camcorder.spec
old mode 100644
(file)
new mode 100755
(executable)
index
f4c5eb4
..
6e08b7b
--- a/
packaging/libmm-camcorder.spec
+++ b/
packaging/libmm-camcorder.spec
@@
-1,6
+1,6
@@
Name: libmm-camcorder
Summary: Camera and recorder library
Name: libmm-camcorder
Summary: Camera and recorder library
-Version: 0.10.
191
+Version: 0.10.
269
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
@@
-24,7
+24,12
@@
BuildRequires: pkgconfig(libtbm)
BuildRequires: pkgconfig(storage)
%if "%{tizen_profile_name}" == "tv"
BuildRequires: pkgconfig(tv-resource-manager)
BuildRequires: pkgconfig(storage)
%if "%{tizen_profile_name}" == "tv"
BuildRequires: pkgconfig(tv-resource-manager)
+BuildRequires: pkgconfig(tv-resource-information)
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(resource-center-api)
+%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
%else
BuildRequires: pkgconfig(mm-resource-manager)
%endif
@@
-55,12
+60,19
@@
Camera and recorder function supported library for development.
%build
%build
-export CFLAGS+=" -D_LARGEFILE64_SOURCE -DGST_USE_UNSTABLE_API -DSYSCONFDIR=\\\"%{_sysconfdir}\\\" -DTZ_SYS_ETC=\\\"%{TZ_SYS_ETC}\\\""
+%if 0%{?gcov:1}
+export CFLAGS+=" -fprofile-arcs -ftest-coverage"
+export LDFLAGS+=" -lgcov"
+%endif
+export CFLAGS+=" -D_LARGEFILE64_SOURCE -DGST_USE_UNSTABLE_API -DSYSCONFDIR=\\\"%{_hal_sysconfdir}\\\" -DTZ_SYS_ETC=\\\"%{TZ_SYS_ETC}\\\""
./autogen.sh
%configure \
%if "%{tizen_profile_name}" == "tv"
--enable-rm \
--enable-product-tv \
./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
%else
--enable-mm-resource-manager \
%endif