2 Summary: Camera and recorder library
5 Group: Multimedia/Libraries
7 Source0: %{name}-%{version}.tar.gz
8 Requires(post): /sbin/ldconfig
9 Requires(postun): /sbin/ldconfig
10 BuildRequires: pkgconfig(glib-2.0)
11 BuildRequires: pkgconfig(gio-2.0)
12 BuildRequires: pkgconfig(capi-system-info)
13 BuildRequires: pkgconfig(mm-common)
14 BuildRequires: pkgconfig(libexif)
15 BuildRequires: pkgconfig(mmutil-imgp)
16 BuildRequires: pkgconfig(mmutil-jpeg)
17 BuildRequires: pkgconfig(gstreamer-1.0)
18 BuildRequires: pkgconfig(gstreamer-base-1.0)
19 BuildRequires: pkgconfig(gstreamer-allocators-1.0)
20 BuildRequires: pkgconfig(gstreamer-video-1.0)
21 BuildRequires: pkgconfig(gstreamer-app-1.0)
22 BuildRequires: pkgconfig(vconf)
23 BuildRequires: pkgconfig(libtbm)
24 BuildRequires: pkgconfig(storage)
25 BuildRequires: pkgconfig(aul)
26 BuildRequires: pkgconfig(resource-center-api)
27 %if "%{tizen_profile_name}" == "tv"
28 BuildRequires: pkgconfig(tv-resource-manager)
29 BuildRequires: pkgconfig(tv-resource-information)
30 BuildRequires: pkgconfig(capi-boost-tv)
31 %if (("%{_vd_cfg_product_type}" != "AUDIO") && ("%{_vd_cfg_target_repository}" != "emulator"))
32 BuildRequires: pkgconfig(camera-conf-mgr-tv)
35 BuildRequires: pkgconfig(resource-manager)
36 BuildRequires: pkgconfig(resource-information)
38 BuildRequires: pkgconfig(ttrace)
39 BuildRequires: pkgconfig(libtzplatform-config)
40 BuildRequires: pkgconfig(dpm)
41 BuildRequires: pkgconfig(dlog)
42 BuildRequires: pkgconfig(hal-api-camera)
43 %if "%{gtests}" == "1"
44 BuildRequires: pkgconfig(gmock)
48 Camera and recorder function supported library.
52 Summary: Camera and recorder library for development
55 Requires: %{name} = %{version}-%{release}
58 Camera and recorder function supported library for development.
67 export CFLAGS+=" -fprofile-arcs -ftest-coverage"
68 export LDFLAGS+=" -lgcov"
70 export CFLAGS+=" -D_LARGEFILE64_SOURCE -DGST_USE_UNSTABLE_API -DSYSCONFDIR=\\\"%{_hal_sysconfdir}\\\" -DTZ_SYS_ETC=\\\"%{TZ_SYS_ETC}\\\""
73 %if "%{tizen_profile_name}" == "tv"
77 %if (("%{_vd_cfg_product_type}" != "AUDIO") && ("%{_vd_cfg_target_repository}" != "emulator"))
78 --enable-camera-conf-mgr-tv \
83 %if "%{gtests}" == "1"
96 %postun -p /sbin/ldconfig
99 %manifest libmm-camcorder.manifest
100 %license LICENSE.APLv2
101 %defattr(-,root,root,-)
103 %{_datadir}/sounds/mm-camcorder/*
104 %if "%{gtests}" == "1"
105 %{_bindir}/gtests-libmm-camcorder
109 %defattr(-,root,root,-)
110 %{_includedir}/mmf/mm_camcorder.h
111 %{_libdir}/pkgconfig/mm-camcorder.pc