X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Flibmm-camcorder.spec;h=0ee398b20e86087efbcaf37407b3202c70b041be;hb=c43cdfa7e6afebaa24c6b9c835f72a91a3dd7424;hp=f4bd03b94c1899ed95a548e3ec358051416ad09c;hpb=214e0641acc706f27b5f3b4b339fbc919c8c0211;p=platform%2Fcore%2Fmultimedia%2Flibmm-camcorder.git diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec index f4bd03b..0ee398b 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.21 +Version: 0.10.57 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 @@ -24,14 +24,19 @@ BuildRequires: pkgconfig(gstreamer-app-1.0) BuildRequires: pkgconfig(gstreamer-wayland-1.0) BuildRequires: pkgconfig(wayland-client) %endif -BuildRequires: pkgconfig(sndfile) -BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(vconf) -BuildRequires: gstreamer-devel 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. @@ -53,20 +58,26 @@ 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 \ +%else + --enable-rm \ + --enable-product-tv \ +%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 @@ -80,12 +91,11 @@ 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 %defattr(-,root,root,-) %{_includedir}/mmf/mm_camcorder.h -%{_includedir}/mmf/mm_camcorder_client.h %{_libdir}/pkgconfig/mm-camcorder.pc %{_libdir}/*.so