From: Ismo Puustinen Date: Thu, 26 Sep 2013 07:18:51 +0000 (+0300) Subject: Use the same rpmbuild macro name for enabling Murphy ASM support X-Git-Tag: accepted/tizen/20130926.164253^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8619ca8ef2911b52e1689edba4b16bdfc6647d7;p=platform%2Fcore%2Fmultimedia%2Flibmm-sound.git Use the same rpmbuild macro name for enabling Murphy ASM support 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 --- diff --git a/packaging/libmm-sound.changes b/packaging/libmm-sound.changes index 72f10c9..58acf73 100644 --- a/packaging/libmm-sound.changes +++ b/packaging/libmm-sound.changes @@ -1,3 +1,6 @@ +* Thu Sep 26 2013 Ismo Puustinen submit/tizen/20130906.020125@15f62f0 +- packaging: use the same rpmbuild macro name for enabling Murphy support everywhere. + * Fri Aug 23 2013 Ismo Puustinen submit/tizen/20130710.221358@1b14690 - Do not unref a NULL pointer. - Make ASM handling external. diff --git a/packaging/libmm-sound.spec b/packaging/libmm-sound.spec index 23ded05..98d14d9 100644 --- a/packaging/libmm-sound.spec +++ b/packaging/libmm-sound.spec @@ -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