pulseaudio.spec revision 20906
#
# spec file for package pulseaudio
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# bugdb: bugzilla.freedesktop.org
#
Version: 1.1
# date:2011-09-27 owner:yippi type:bug bugid:41537
# This patch is very rough, but gets the code to compile.
# date:2011-09-27 owner:yippi type:bug bugid:41538
# date:2011-10-05 owner:yippi type:feature bugid:41539
# date:2011-10-14 owner:yippi type:bug bugid:41823
# date:2011-10-14 owner:yippi type:bug
# date:2011-10-31 owner:yippi type:branding
# This patch configures PulseAudio for Solaris, by enabling the OSSv4 module
# for example, instead of using the SunAudio (solaris) module.
# date:2011-11-30 owner:yippi type:bug
# date:2011-12-13 owner:yippi type:bug
# date:2011-10-06 owner:yippi type:feature
# date:2012-05-14 owner:yippi type:bug
%prep
CPUS=1
fi
# Build PulseAudio
# headers are delivered there on Solaris.
#
export CPPFLAGS="-xc99"
export LDFLAGS="$SOLARIS_PULSE_LDFLAGS"
# We build PulseAudio without samplerate or bluez support since these are GPL
# and it is not desirable to build PulseAudio with GPL code. Bluez is not
# available anyway yet in Solaris, but disabling it just to ensure that it does
# not build if bluez is added.
#
# We must turn off avahi for amd64 since avahi 64-bit is not available.
--libexecdir=%{_libexecdir} \
--sysconfdir=%{_sysconfdir} \
--disable-samplerate \
find $RPM_BUILD_ROOT%{_libdir}/ -name "*.a" -exec rm {} \; -print -o -name "*.la" -exec rm {} \; -print
%if %build_l10n
%else
# REMOVE l10n FILES