Name: libmedia-service
Summary: Media information service library for multimedia applications
-Version: 0.3.17
+Version: 0.3.31
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0 and PD
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(sqlite3)
-BuildRequires: pkgconfig(db-util)
+BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(mm-fileinfo)
-BuildRequires: pkgconfig(media-thumbnail)
BuildRequires: pkgconfig(libmedia-utils)
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(libtzplatform-config)
-BuildRequires: pkgconfig(capi-media-image-util)
+BuildRequires: pkgconfig(capi-system-info)
+BuildRequires: pkgconfig(mmutil-magick)
+%if 0%{?gtests:1}
+BuildRequires: pkgconfig(gmock)
+%endif
%description
This package is a library that provides the media information service for the multimedia applications.
%build
export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE -DSYSCONFDIR=\\\"%{_sysconfdir}\\\""
-%cmake .
+%cmake . -DBUILD_GTESTS=%{?gtests:1}%{!?gtests:0}
make %{?jobs:-j%jobs}
%install
%{_libdir}/libmedia-svc-hash.so.*
%{_libdir}/libmedia-content-plugin.so
%{_libdir}/libmedia-content-plugin.so.*
-
+%if 0%{?gtests:1}
+%{_bindir}/gtest*
+%endif
#License
%license LICENSE.APLv2.0