X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Flibmm-camcorder.spec;h=e204b353fee3517d6cbfdb8192c8c445cc4f44d5;hb=3e3fcb7eedc07a5c517bc85a74cbd94e961091a7;hp=5e53b92b38f16fb0376ae981a82fcc8ea2dc1053;hpb=6a0e412056d6529e1e90c29eb086501b86e6656f;p=platform%2Fcore%2Fmultimedia%2Flibmm-camcorder.git diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec index 5e53b92..e204b35 100644 --- a/packaging/libmm-camcorder.spec +++ b/packaging/libmm-camcorder.spec @@ -1,39 +1,50 @@ +%bcond_with wayland + Name: libmm-camcorder Summary: Camera and recorder library -Version: 0.9.1 +Version: 0.10.27 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 Source0: %{name}-%{version}.tar.gz -Requires(post): /usr/bin/vconftool Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(capi-system-info) BuildRequires: pkgconfig(mm-common) BuildRequires: pkgconfig(mm-sound) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(mmutil-imgp) -BuildRequires: pkgconfig(mm-log) +BuildRequires: pkgconfig(mmutil-jpeg) BuildRequires: pkgconfig(gstreamer-base-1.0) -BuildRequires: pkgconfig(sndfile) -BuildRequires: pkgconfig(camsrcjpegenc) +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(libpulse) BuildRequires: pkgconfig(vconf) -BuildRequires: gst-plugins-base-devel BuildRequires: gstreamer-devel +BuildRequires: pkgconfig(libtbm) +BuildRequires: pkgconfig(storage) +BuildRequires: pkgconfig(murphy-resource) +BuildRequires: pkgconfig(murphy-glib) +BuildRequires: pkgconfig(ttrace) %description -Camera and recorder library. +Camera and recorder function supported library. %package devel -Summary: Camera and recorder development library +Summary: Camera and recorder library for development Group: libdevel Version: %{version} Requires: %{name} = %{version}-%{release} %description devel -Camera and recorder development library. +Camera and recorder function supported library for development. %prep @@ -41,8 +52,16 @@ Camera and recorder development library. %build +%if %{with wayland} +export CFLAGS+=" -DHAVE_WAYLAND" +%endif +export CFLAGS+=" -D_LARGEFILE64_SOURCE" ./autogen.sh -%configure --disable-static +%configure \ +%if %{with wayland} + --enable-wayland \ +%endif + --disable-static make %{?jobs:-j%jobs} %install @@ -54,11 +73,6 @@ cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name} %post /sbin/ldconfig -vconftool set -t int memory/camera/state 0 -i -u 5000 -s system::vconf_multimedia -vconftool set -t int file/camera/shutter_sound_policy 0 -u 5000 -s system::vconf_inhouse -chsmack -a "device::camera" /usr/share/sounds/mm-camcorder/camera_resource -chsmack -a "pulseaudio::record" /usr/share/sounds/mm-camcorder/recorder_resource - %postun -p /sbin/ldconfig %files @@ -72,5 +86,6 @@ chsmack -a "pulseaudio::record" /usr/share/sounds/mm-camcorder/recorder_resource %files devel %defattr(-,root,root,-) %{_includedir}/mmf/mm_camcorder.h +%{_includedir}/mmf/mm_camcorder_client.h %{_libdir}/pkgconfig/mm-camcorder.pc %{_libdir}/*.so