summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-20 12:10:40 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-20 12:10:40 +0100
commit98bb4fd81aeb876160e32fbce742598df0eeafcd (patch)
treef2361233e18414f77a4afb068797a600c1a69214 /package
parente979b689a571ccc86b5c0b3ad31933c30266f16b (diff)
start pulseaudio in daemon mode, create cookie dir, dbus dependency
Diffstat (limited to 'package')
-rw-r--r--package/pulseaudio/Makefile2
-rw-r--r--package/pulseaudio/files/pulseaudio.init4
-rw-r--r--package/pulseaudio/files/pulseaudio.postinst2
3 files changed, 4 insertions, 4 deletions
diff --git a/package/pulseaudio/Makefile b/package/pulseaudio/Makefile
index 88af55861..a854714a1 100644
--- a/package/pulseaudio/Makefile
+++ b/package/pulseaudio/Makefile
@@ -10,7 +10,7 @@ PKG_MD5SUM:= 591f211db2790a7e4d222f2dc6858db3
PKG_DESCR:= a sound system for POSIX OSes
PKG_SECTION:= multimedia
PKG_DEPENDS:= libltdl json-c libsndfile libudev libspeex libncurses
-PKG_DEPENDS+= libflac libvorbis libogg libuuid libsndfile libdbus
+PKG_DEPENDS+= libflac libvorbis libogg libuuid libsndfile dbus
PKG_DEPENDS+= libgcc libpthread librt alsa-lib
PKG_BUILDDEP:= libtool json-c libsndfile eudev speex libsndfile
PKG_BUILDDEP+= flac libvorbis libogg util-linux dbus ncurses alsa-lib
diff --git a/package/pulseaudio/files/pulseaudio.init b/package/pulseaudio/files/pulseaudio.init
index 029174628..ca7465105 100644
--- a/package/pulseaudio/files/pulseaudio.init
+++ b/package/pulseaudio/files/pulseaudio.init
@@ -11,10 +11,10 @@ autostart)
;;
start)
if [ ! -d /var/run/pulse ]; then
- mkdir -p /var/run/pulse && chown pulse.pulse /var/run/pulse && chmod 750 /var/run/pulse
+ mkdir -p /var/run/pulse/.pulse-cookie && chown -R pulse.pulse /var/run/pulse && chmod 750 /var/run/pulse
fi
if [ ! -d /var/lib/pulse ]; then
- mkdir -p /var/lib/pulse && chown pulse.pulse /var/lib/pulse && chmod 750 /var/lib/pulse
+ mkdir -p /var/lib/pulse/.pulse-cookie && chown -R pulse.pulse /var/lib/pulse && chmod 750 /var/lib/pulse
fi
/usr/bin/pulseaudio $pulseaudio_flags
;;
diff --git a/package/pulseaudio/files/pulseaudio.postinst b/package/pulseaudio/files/pulseaudio.postinst
index 3e5b348a9..b339de93f 100644
--- a/package/pulseaudio/files/pulseaudio.postinst
+++ b/package/pulseaudio/files/pulseaudio.postinst
@@ -4,4 +4,4 @@ add_rcconf pulseaudio pulseaudio NO
gid=$(get_next_gid)
add_user pulse $(get_next_uid) $gid /var/run/pulse
add_group pulse $gid
-add_rcconf pulseaudio_flags pulseaudio_flags "--system --disallow-exit --disallow-module-loading --disable-shm --exit-idle-time=-1 --realtime=false"
+add_rcconf pulseaudio_flags pulseaudio_flags "-D --system --disallow-exit --disallow-module-loading --disable-shm --exit-idle-time=-1 --realtime=false"