pulseaudio.spec revision 20852
#
# 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.0
# 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-09-27 owner:yippi type:feature
# date:2011-10-05 owner:yippi type:feature bugid:41539
# date:2011-10-06 owner:yippi type:feature
# date:2011-10-14 owner:yippi type:bug bugid:41823
%prep
# Build libtool, with patch.
# There seems to be an issue with the version of libtool that GStreamer is
# now using. The libtool script uses the echo and RM variables but does not
# define them, so setting them here addresses this.
CPUS=1
fi
# Build newer libtool that PulseAudio needs. This should be removed when
# libtool is updated.
#
export CFLAGS="%{optflags}"
export LDFLAGS="%{_ldflags}"
./configure \
cd ..
# Now build PulseAudio
#
export CPPFLAGS="$SOLARIS_PULSE_CPPFLAGS"
export CFLAGS="$SOLARIS_PULSE_CFLAGS"
export LDFLAGS="$SOLARIS_PULSE_LDFLAGS"
# We must turn off avahi for amd64 since avahi 64-bit is not available.
--libexecdir=%{_libexecdir} \
--sysconfdir=%{_sysconfdir} \
--disable-samplerate \
# There seems to be an issue with the version of libtool that GStreamer is
# now using. The libtool script uses the echo and RM variables but does not
# define them, so setting them here addresses this.
find $RPM_BUILD_ROOT%{_libdir}/ -name "*.a" -exec rm {} \; -print -o -name "*.la" -exec rm {} \; -print
%if %build_l10n
%else
# REMOVE l10n FILES