forked from pool/pulseaudio
Updating link to change in openSUSE:Factory/pulseaudio revision 50.0
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pulseaudio?expand=0&rev=68959b52fa645e7b00fb50b997891a4a
This commit is contained in:
parent
13751cdaeb
commit
c3f7d1e48e
15
disabled-start.diff
Normal file
15
disabled-start.diff
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- src/daemon/start-pulseaudio-x11.in.sav 2009-06-08 00:35:57.000000000 +0200
|
||||||
|
+++ src/daemon/start-pulseaudio-x11.in 2009-09-28 19:33:07.388014651 +0200
|
||||||
|
@@ -19,6 +19,12 @@
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
+. /etc/sysconfig/sound
|
||||||
|
+
|
||||||
|
+if [ x"$PULSEAUDIO_ENABLE" = x"no" ] ; then
|
||||||
|
+ exit 1
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
[ -z "$PULSE_SERVER" ]
|
||||||
|
|
||||||
|
@PA_BINARY@ --start "$@"
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7bc2f83419fde9ce81565409e107b42cd49e33d835d097d7c8a8019dc3037ef7
|
|
||||||
size 1368593
|
|
3
pulseaudio-0.9.19.tar.bz2
Normal file
3
pulseaudio-0.9.19.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d40a43b0736436fd76815dbbd12f97d93fbaee671744f839ae040d2b58531dc0
|
||||||
|
size 1381146
|
@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 6 19:10:19 UTC 2009 - sreeves@novell.com
|
||||||
|
|
||||||
|
- Update to 0.9.19
|
||||||
|
Bugfix update - see Changelog for full details
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 28 17:36:58 UTC 2009 - llunak@novell.com
|
||||||
|
|
||||||
|
- make 'setup-pulseaudio --disable' actually really disable PA (bnc#537780)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 24 16:43:16 UTC 2009 - sreeves@novell.com
|
||||||
|
|
||||||
|
- Update to 0.9.18
|
||||||
|
Bugfix update - see Changelog for full details
|
||||||
|
Translation update.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 18 22:05:47 UTC 2009 - sreeves@novell.com
|
Fri Sep 18 22:05:47 UTC 2009 - sreeves@novell.com
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pulseaudio (Version 0.9.17)
|
# spec file for package pulseaudio (Version 0.9.19)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -17,17 +17,18 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
%define drvver 0.9.17
|
%define drvver 0.9.19
|
||||||
|
|
||||||
Name: pulseaudio
|
Name: pulseaudio
|
||||||
Summary: A Networked Sound Server
|
Summary: A Networked Sound Server
|
||||||
Version: 0.9.17
|
Version: 0.9.19
|
||||||
Release: 1
|
Release: 1
|
||||||
License: LGPL v2.1 or later
|
License: LGPL v2.1 or later
|
||||||
Group: System/Sound Daemons
|
Group: System/Sound Daemons
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: default.pa-for-gdm
|
Source1: default.pa-for-gdm
|
||||||
Source2: setup-pulseaudio
|
Source2: setup-pulseaudio
|
||||||
|
Patch1: disabled-start.diff
|
||||||
Url: http://pulseaudio.org
|
Url: http://pulseaudio.org
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
@ -237,6 +238,7 @@ This package contains GDM integration hooks for the PulseAudio sound server.
|
|||||||
%lang_package
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q -T -b0
|
%setup -q -T -b0
|
||||||
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
@ -452,6 +454,9 @@ groupadd -r pulse-access &>/dev/null || :
|
|||||||
%{_libdir}/libpulse-simple.so
|
%{_libdir}/libpulse-simple.so
|
||||||
%{_libdir}/libpulse-browse.so
|
%{_libdir}/libpulse-browse.so
|
||||||
%{_libdir}/pkgconfig/libpulse*.pc
|
%{_libdir}/pkgconfig/libpulse*.pc
|
||||||
|
%dir %{_datadir}/vala
|
||||||
|
%dir %{_datadir}/vala/vapi
|
||||||
|
%{_datadir}/vala/vapi/libpulse.vapi
|
||||||
|
|
||||||
%files utils
|
%files utils
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
@ -105,6 +105,15 @@ enable_xine() {
|
|||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enable_autospawn() {
|
||||||
|
echo "Enabling PulseAudio autospawn..."
|
||||||
|
if grep -q ^autospawn /etc/pulse/client.conf; then
|
||||||
|
perl -pi -e "s|^autospawn.*|autospawn = yes|g;" /etc/pulse/client.conf
|
||||||
|
else
|
||||||
|
echo "autospawn = yes" >> /etc/pulse/client.conf
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
disable_alsa() {
|
disable_alsa() {
|
||||||
echo "Disabling PulseAudio for ALSA..."
|
echo "Disabling PulseAudio for ALSA..."
|
||||||
perl -pi -e "s|ALSA_CONFIG_PATH=/etc/alsa-pulse.conf||g;" /etc/environment
|
perl -pi -e "s|ALSA_CONFIG_PATH=/etc/alsa-pulse.conf||g;" /etc/environment
|
||||||
@ -155,6 +164,15 @@ disable_xine() {
|
|||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
disable_autospawn() {
|
||||||
|
echo "Disabling PulseAudio autospawn..."
|
||||||
|
if grep -q ^autospawn /etc/pulse/client.conf; then
|
||||||
|
perl -pi -e "s|^autospawn.*|autospawn = no|g;" /etc/pulse/client.conf
|
||||||
|
else
|
||||||
|
echo "autospawn = no" >> /etc/pulse/client.conf
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
--enable)
|
--enable)
|
||||||
check_root || exit
|
check_root || exit
|
||||||
@ -167,6 +185,7 @@ case $1 in
|
|||||||
enable_sdl
|
enable_sdl
|
||||||
enable_timidity
|
enable_timidity
|
||||||
enable_xine
|
enable_xine
|
||||||
|
enable_autospawn
|
||||||
;;
|
;;
|
||||||
--disable)
|
--disable)
|
||||||
check_root || exit
|
check_root || exit
|
||||||
@ -179,6 +198,7 @@ case $1 in
|
|||||||
disable_sdl
|
disable_sdl
|
||||||
disable_timidity
|
disable_timidity
|
||||||
disable_xine
|
disable_xine
|
||||||
|
disable_autospawn
|
||||||
;;
|
;;
|
||||||
--status)
|
--status)
|
||||||
STATUS=`grep PULSEAUDIO_ENABLE /etc/sysconfig/sound | cut -f2 -d= | cut -f2 -d\"`
|
STATUS=`grep PULSEAUDIO_ENABLE /etc/sysconfig/sound | cut -f2 -d= | cut -f2 -d\"`
|
||||||
@ -195,7 +215,7 @@ case $1 in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Now, update /etc/sysconfig/sound with the PA status
|
# Now, update /etc/sysconfig/sound with the PA status
|
||||||
if grep PULSEAUDIO_ENABLE /etc/sysconfig/sound; then
|
if grep -q PULSEAUDIO_ENABLE /etc/sysconfig/sound; then
|
||||||
if [ "x$ENABLE" = "x1" ]; then
|
if [ "x$ENABLE" = "x1" ]; then
|
||||||
perl -pi -e "s|PULSEAUDIO_ENABLE=\"no\"|PULSEAUDIO_ENABLE=\"yes\"|g;" /etc/sysconfig/sound
|
perl -pi -e "s|PULSEAUDIO_ENABLE=\"no\"|PULSEAUDIO_ENABLE=\"yes\"|g;" /etc/sysconfig/sound
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user