mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
build PolicyKit support
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2061 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
8bdad297e3
commit
cf0d43e7d0
1 changed files with 13 additions and 1 deletions
|
|
@ -102,7 +102,8 @@ EXTRA_DIST = \
|
|||
utils/padsp \
|
||||
modules/module-defs.h.m4 \
|
||||
daemon/pulseaudio-module-xsmp.desktop \
|
||||
map-file
|
||||
map-file \
|
||||
daemon/PulseAudio.policy
|
||||
|
||||
pulseconf_DATA = \
|
||||
default.pa \
|
||||
|
|
@ -151,6 +152,17 @@ else
|
|||
pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) -dlopen force $(foreach f,$(PREOPEN_LIBS),-dlopen $(f))
|
||||
endif
|
||||
|
||||
if HAVE_POLKIT
|
||||
|
||||
policy_DATA = daemon/PulseAudio.policy
|
||||
|
||||
pulseaudio_SOURCES += daemon/polkit.c daemon/polkit.h
|
||||
pulseaudio_CFLAGS += $(POLKIT_CFLAGS)
|
||||
pulseaudio_LDADD += $(POLKIT_LIBS)
|
||||
|
||||
|
||||
endif
|
||||
|
||||
###################################
|
||||
# Utility programs #
|
||||
###################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue