[Release version 0.10.57] Return SECURITY_RESTRICTED error if DPM result is NOT_ALLOWED
[platform/core/multimedia/libmm-camcorder.git] / packaging / libmm-camcorder.spec
index 243a3a1..0ee398b 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:       libmm-camcorder
 Summary:    Camera and recorder library
-Version:    0.10.39
+Version:    0.10.57
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
@@ -27,10 +27,16 @@ BuildRequires:  pkgconfig(wayland-client)
 BuildRequires:  pkgconfig(vconf)
 BuildRequires:  pkgconfig(libtbm)
 BuildRequires:  pkgconfig(storage)
+%if "%{TIZEN_PRODUCT_TV}" != "1"
 BuildRequires:  pkgconfig(murphy-resource)
 BuildRequires:  pkgconfig(murphy-glib)
+%else
+BuildRequires:  pkgconfig(tv-resource-manager)
+BuildRequires:  pkgconfig(aul)
+%endif
 BuildRequires:  pkgconfig(ttrace)
 BuildRequires:  pkgconfig(libtzplatform-config)
+BuildRequires:  pkgconfig(dpm)
 
 %description
 Camera and recorder function supported library.
@@ -60,6 +66,12 @@ export CFLAGS+=" -D_LARGEFILE64_SOURCE -DSYSCONFDIR=\\\"%{_sysconfdir}\\\" -DTZ_
 %if %{with wayland}
        --enable-wayland \
 %endif
+%if "%{TIZEN_PRODUCT_TV}" != "1"
+       --enable-murphy \
+%else
+       --enable-rm \
+       --enable-product-tv \
+%endif
        --disable-static
 make %{?jobs:-j%jobs}