X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Flibmm-camcorder.spec;h=21a6735d1a857cf760d73a3f2c3048b192cd14c4;hb=27c314b4e55f792383d3fae076756d6adf94d939;hp=ddf2eb8a2abaf2ceb36833d0cb0b45a9ccc6a9d3;hpb=5fd54be7675819d40e32dcbf45161ce1c63d6b62;p=platform%2Fcore%2Fmultimedia%2Flibmm-camcorder.git diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec index ddf2eb8..21a6735 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.45 +Version: 0.10.125 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 @@ -20,15 +18,16 @@ 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(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) @@ -52,21 +51,19 @@ Camera and recorder function supported library for development. %build -%if %{with wayland} -export CFLAGS+=" -DHAVE_WAYLAND -DGST_USE_UNSTABLE_API" -%endif -export CFLAGS+=" -D_LARGEFILE64_SOURCE -DSYSCONFDIR=\\\"%{_sysconfdir}\\\" -DTZ_SYS_ETC=\\\"%{TZ_SYS_ETC}\\\"" +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}%{_datadir}/license -cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name} %make_install @@ -77,11 +74,10 @@ cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name} %files %manifest libmm-camcorder.manifest +%license LICENSE.APLv2 %defattr(-,root,root,-) -%{_bindir}/* %{_libdir}/*.so.* %{_datadir}/sounds/mm-camcorder/* -%{_datadir}/license/%{name} %files devel %defattr(-,root,root,-)