[pulseaudio-commits] r2061 - /trunk/src/Makefile.am
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Fri Nov 16 15:47:29 PST 2007
Author: lennart
Date: Sat Nov 17 00:47:28 2007
New Revision: 2061
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2061&root=pulseaudio&view=rev
Log:
build PolicyKit support
Modified:
trunk/src/Makefile.am
Modified: trunk/src/Makefile.am
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/Makefile.am?rev=2061&root=pulseaudio&r1=2060&r2=2061&view=diff
==============================================================================
--- trunk/src/Makefile.am (original)
+++ trunk/src/Makefile.am Sat Nov 17 00:47:28 2007
@@ -102,7 +102,8 @@
utils/padsp \
modules/module-defs.h.m4 \
daemon/pulseaudio-module-xsmp.desktop \
- map-file
+ map-file \
+ daemon/PulseAudio.policy
pulseconf_DATA = \
default.pa \
@@ -149,6 +150,17 @@
pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) -dlpreopen force $(foreach f,$(PREOPEN_LIBS),-dlpreopen $(f))
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
###################################
More information about the pulseaudio-commits
mailing list