Manage focus cb thread and focus watch cb thread separately
[platform/core/multimedia/libmm-sound.git] / packaging / libmm-sound.spec
index dee1379..0c20ed3 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-sound
 Summary:    MMSound Package contains client lib and sound_server binary
-Version:    0.12.27
+Version:    0.12.41
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
@@ -27,7 +27,8 @@ BuildRequires: pkgconfig(sndfile)
 %if "%{tizen_profile_name}" == "tv"
 BuildRequires: pkgconfig(lwipc)
 %endif
-%ifarch %{arm}
+%if 0%{?gtests:1}
+BuildRequires:  pkgconfig(gmock)
 %endif
 
 %description
@@ -76,6 +77,9 @@ CFLAGS="%{optflags} -fvisibility=hidden -D_TIZEN_PUBLIC_ -DEXPORT_API=\"__attrib
        --enable-prelink \
        --enable-lwipc \
 %endif
+%if 0%{?gtests:1}
+       --enable-unittests \
+%endif
        --prefix=/usr --enable-pulse
 
 make %{?_smp_mflags}
@@ -141,6 +145,9 @@ ln -sf ../focus-server.path %{buildroot}%{_unitdir}/multi-user.target.wants/focu
 /etc/dbus-1/system.d/focus-server.conf
 %{_datadir}/dbus-1/system-services/org.tizen.SoundServer.service
 %{_unitdir}/sound-server.service
+%if 0%{?gtests:1}
+%{_bindir}/gtest-libmm-sound
+%endif
 
 %files devel
 %defattr(-,root,root,-)