X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Flibmm-camcorder.spec;h=dc46ff8eba39b772da90a12bff22385dfa8fb414;hb=refs%2Ftags%2Faccepted%2Ftizen%2Fivi%2F20160606.121123;hp=c7a682d67f6d0026b4edd34126e0856c05850d2c;hpb=65d96c0d9c5525d13d894f0567302c1b24d8e966;p=platform%2Fcore%2Fmultimedia%2Flibmm-camcorder.git diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec index c7a682d..dc46ff8 100644 --- a/packaging/libmm-camcorder.spec +++ b/packaging/libmm-camcorder.spec @@ -2,7 +2,7 @@ Name: libmm-camcorder Summary: Camera and recorder library -Version: 0.10.37 +Version: 0.10.53 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 @@ -27,9 +27,13 @@ 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) +%endif BuildRequires: pkgconfig(ttrace) +BuildRequires: pkgconfig(libtzplatform-config) +BuildRequires: pkgconfig(dpm) %description Camera and recorder function supported library. @@ -51,20 +55,23 @@ Camera and recorder function supported library for development. %build %if %{with wayland} -export CFLAGS+=" -DHAVE_WAYLAND" +export CFLAGS+=" -DHAVE_WAYLAND -DGST_USE_UNSTABLE_API" %endif -export CFLAGS+=" -D_LARGEFILE64_SOURCE" +export CFLAGS+=" -D_LARGEFILE64_SOURCE -DSYSCONFDIR=\\\"%{_sysconfdir}\\\" -DTZ_SYS_ETC=\\\"%{TZ_SYS_ETC}\\\"" ./autogen.sh %configure \ %if %{with wayland} --enable-wayland \ %endif +%if "%{TIZEN_PRODUCT_TV}" != "1" + --enable-murphy \ +%endif --disable-static make %{?jobs:-j%jobs} %install -mkdir -p %{buildroot}/usr/share/license -cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name} +mkdir -p %{buildroot}%{_datadir}/license +cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name} %make_install @@ -78,7 +85,7 @@ cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name} %defattr(-,root,root,-) %{_bindir}/* %{_libdir}/*.so.* -/usr/share/sounds/mm-camcorder/* +%{_datadir}/sounds/mm-camcorder/* %{_datadir}/license/%{name} %files devel