From 546bd1bc523819f5e85d31408e6bc37998e024ca Mon Sep 17 00:00:00 2001 From: Ismo Puustinen Date: Fri, 23 Aug 2013 13:44:23 +0300 Subject: [PATCH] Added changelog and packaging. If you want to compile with Murphy support, you need to define "enable_murphy" from gbs or rpmbuild command line. For example this works: > gbs build --define 'enable_murphy 1' --- packaging/libmm-sound.changes | 4 ++++ packaging/libmm-sound.spec | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/packaging/libmm-sound.changes b/packaging/libmm-sound.changes index 021f5c8..72f10c9 100644 --- a/packaging/libmm-sound.changes +++ b/packaging/libmm-sound.changes @@ -1,3 +1,7 @@ +* Fri Aug 23 2013 Ismo Puustinen submit/tizen/20130710.221358@1b14690 +- Do not unref a NULL pointer. +- Make ASM handling external. + * Tue Jul 09 2013 Patrick McCarty dc6f19c - Fix paths for systemd service files diff --git a/packaging/libmm-sound.spec b/packaging/libmm-sound.spec index c96043b..23ded05 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.2 +Version: 0.7.2b Release: 0 Group: System/Libraries License: Apache-2.0 @@ -20,7 +20,7 @@ BuildRequires: pkgconfig(sysman) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(heynoti) -BuildRequires: pkgconfig(security-server) +BuildRequires: pkgconfig(security-server) %description MMSound Package contains client lib and sound_server binary for sound system @@ -68,6 +68,9 @@ 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} +CFLAGS=$CFLAGS" -DMURPHY"; export CFLAGS +%endif %configure --prefix=/usr --enable-pulse --enable-security make %{?_smp_mflags} -- 2.7.4