Name: libmm-player
Summary: Multimedia Framework Player Library
-Version: 0.6.101
+Version: 0.6.198
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires: pkgconfig(gstreamer-video-1.0)
BuildRequires: pkgconfig(gstreamer-app-1.0)
+BuildRequires: pkgconfig(mmutil-common)
BuildRequires: pkgconfig(mmutil-imgp)
BuildRequires: pkgconfig(iniparser)
BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(storage)
BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: pkgconfig(capi-media-sound-manager)
+BuildRequires: pkgconfig(libtbm)
+%if "%{gtests}" == "1"
+BuildRequires: pkgconfig(gmock)
+%endif
%description
Multimedia Framework Player Library files.
LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--hash-style=both -Wl,--as-needed"; export LDFLAGS
./autogen.sh
# always enable sdk build. This option should go away
-CFLAGS=$CFLAGS LDFLAGS=$LDFLAGS ./configure --enable-sdk --prefix=%{_prefix} --disable-static
+#CFLAGS=$CFLAGS LDFLAGS=$LDFLAGS ./configure --enable-sdk --prefix=%{_prefix} --disable-static
%configure \
+%if "%{gtests}" == "1"
+--enable-tests \
+%endif
--disable-static \
--enable-wayland
%license LICENSE.Apache-2.0
%defattr(-,root,root,-)
%{_libdir}/*.so.*
-
+%if "%{gtests}" == "1"
+%{_bindir}/gtest-libmm-player
+%endif
%files devel
%manifest %{name}.manifest