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 %if "%{tizen_profile_name}" == "tv"
26 BuildRequires: pkgconfig(tv-resource-manager)
27 BuildRequires: pkgconfig(tv-resource-information)
28 BuildRequires: pkgconfig(aul)
29 BuildRequires: pkgconfig(resource-center-api)
30 %if (("%{_vd_cfg_product_type}" != "AUDIO") && ("%{_vd_cfg_target_repository}" != "emulator"))
31 BuildRequires: pkgconfig(camera-conf-mgr-tv)
34 BuildRequires: pkgconfig(mm-resource-manager)
36 BuildRequires: pkgconfig(ttrace)
37 BuildRequires: pkgconfig(libtzplatform-config)
38 BuildRequires: pkgconfig(dpm)
39 BuildRequires: pkgconfig(dlog)
40 %if "%{gtests}" == "1"
41 BuildRequires: pkgconfig(gmock)
45 Camera and recorder function supported library.
49 Summary: Camera and recorder library for development
52 Requires: %{name} = %{version}-%{release}
55 Camera and recorder function supported library for development.
64 export CFLAGS+=" -fprofile-arcs -ftest-coverage"
65 export LDFLAGS+=" -lgcov"
67 export CFLAGS+=" -D_LARGEFILE64_SOURCE -DGST_USE_UNSTABLE_API -DSYSCONFDIR=\\\"%{_hal_sysconfdir}\\\" -DTZ_SYS_ETC=\\\"%{TZ_SYS_ETC}\\\""
70 %if "%{tizen_profile_name}" == "tv"
73 %if (("%{_vd_cfg_product_type}" != "AUDIO") && ("%{_vd_cfg_target_repository}" != "emulator"))
74 --enable-camera-conf-mgr-tv \
77 --enable-mm-resource-manager \
79 %if "%{gtests}" == "1"
92 %postun -p /sbin/ldconfig
95 %manifest libmm-camcorder.manifest
96 %license LICENSE.APLv2
97 %defattr(-,root,root,-)
99 %{_datadir}/sounds/mm-camcorder/*
100 %if "%{gtests}" == "1"
101 %{_bindir}/gtests-libmm-camcorder
105 %defattr(-,root,root,-)
106 %{_includedir}/mmf/mm_camcorder.h
107 %{_libdir}/pkgconfig/mm-camcorder.pc