Use the same rpmbuild macro name for enabling Murphy ASM support 85/10285/1 accepted/tizen/20130926.164253 accepted/tizen/20130926.204138 accepted/tizen/20130927.000950 submit/tizen/20130926.083332
authorIsmo Puustinen <ismo.puustinen@intel.com>
Thu, 26 Sep 2013 07:18:51 +0000 (10:18 +0300)
committerIsmo Puustinen <ismo.puustinen@intel.com>
Thu, 26 Sep 2013 07:48:24 +0000 (10:48 +0300)
everywhere.

This allows using global flags to enable or disable Murphy ASM
support in several components at the same time. Also bump the
version number and update changelog.

Murphy support is now compiled in using the following command:

> gbs build --define 'with_audio_session_manager_with_murphy 1'

Change-Id: I35654b860151c16979774cf8bb86e1872b605d47

packaging/libmm-sound.changes
packaging/libmm-sound.spec

index 72f10c9..58acf73 100644 (file)
@@ -1,3 +1,6 @@
+* Thu Sep 26 2013 Ismo Puustinen <ismo.puustinen@intel.com> submit/tizen/20130906.020125@15f62f0
+- packaging: use the same rpmbuild macro name for enabling Murphy support everywhere.
+
 * Fri Aug 23 2013 Ismo Puustinen <ismo.puustinen@intel.com> submit/tizen/20130710.221358@1b14690
 - Do not unref a NULL pointer.
 - Make ASM handling external.
index 23ded05..98d14d9 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-sound
 Summary:    MMSound Package contains client lib and sound_server binary
-Version:    0.7.2b
+Version:    0.7.2c
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
@@ -68,7 +68,7 @@ CFLAGS="%{optflags} -fvisibility=hidden -DMM_DEBUG_FLAG -DEXPORT_API=\"__attribu
 CFLAGS="%{optflags} -fvisibility=hidden -DMM_DEBUG_FLAG -DSEPARATE_SPEAKER_AND_WIRED_ACCESSORY -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\""; export CFLAGS
 %endif
 %endif
-%if 0%{?enable_murphy}
+%if %{with audio_session_manager_with_murphy}
 CFLAGS=$CFLAGS" -DMURPHY"; export CFLAGS
 %endif
 %configure --prefix=/usr --enable-pulse --enable-security