X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Flibmm-camcorder.spec;h=95bf29d739b2337642da210fd294c0d24042c42c;hb=e7407c6534d24e7aeb6a0aa1d8d677789d4f6f27;hp=227c624c7f53edee1e8065d871455338bb35822b;hpb=1f695c046648c0285a0e5cacd1f5655405f5a08c;p=platform%2Fcore%2Fmultimedia%2Flibmm-camcorder.git diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec index 227c624..95bf29d 100644 --- a/packaging/libmm-camcorder.spec +++ b/packaging/libmm-camcorder.spec @@ -1,8 +1,6 @@ -%bcond_with wayland - Name: libmm-camcorder Summary: Camera and recorder library -Version: 0.10.16 +Version: 0.10.80 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 @@ -20,16 +18,21 @@ BuildRequires: pkgconfig(mmutil-jpeg) BuildRequires: pkgconfig(gstreamer-base-1.0) BuildRequires: pkgconfig(gstreamer-video-1.0) BuildRequires: pkgconfig(gstreamer-app-1.0) -%if %{with wayland} 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. @@ -50,21 +53,21 @@ Camera and recorder function supported library for development. %build -%if %{with wayland} -export CFLAGS+=" -DHAVE_WAYLAND" -%endif -export CFLAGS+=" -D_LARGEFILE64_SOURCE" +export CFLAGS+=" -D_LARGEFILE64_SOURCE -DGST_USE_UNSTABLE_API -DSYSCONFDIR=\\\"%{_sysconfdir}\\\" -DTZ_SYS_ETC=\\\"%{TZ_SYS_ETC}\\\"" ./autogen.sh %configure \ -%if %{with wayland} - --enable-wayland \ +%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 @@ -76,14 +79,12 @@ cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name} %files %manifest libmm-camcorder.manifest %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