From: Mike Brady Date: Sat, 25 Nov 2017 09:25:50 +0000 (+0000) Subject: Remember to install a dbus system bus access rule for mpris, separate dbus and mpris... X-Git-Tag: 3.2d16~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da3366a2a6ba2dbeb0e917393a0b0eab7b4e9d1d;p=thirdparty%2Fshairport-sync.git Remember to install a dbus system bus access rule for mpris, separate dbus and mpris access rules, move them to scripts folder --- diff --git a/Makefile.am b/Makefile.am index 353d54b5..48ef77aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -131,7 +131,10 @@ if INSTALL_CONFIG_FILES cp scripts/shairport-sync.conf $(DESTDIR)$(sysconfdir)/shairport-sync.conf.sample [ -f $(DESTDIR)$(sysconfdir)/shairport-sync.conf ] || cp scripts/shairport-sync.conf $(DESTDIR)$(sysconfdir)/shairport-sync.conf if USE_DBUS - cp shairport-sync-dbus-policy.conf $(DESTDIR)$(sysconfdir)/dbus-1/system.d/shairport-sync.conf + cp scripts/shairport-sync-dbus-policy.conf $(DESTDIR)$(sysconfdir)/dbus-1/system.d/shairport-sync-dbus.conf +endif +if USE_MPRIS + cp scripts/shairport-sync-mpris-policy.conf $(DESTDIR)$(sysconfdir)/dbus-1/system.d/shairport-sync-mpris.conf endif endif if INSTALL_SYSTEMV diff --git a/shairport-sync-dbus-policy.conf b/scripts/shairport-sync-dbus-policy.conf similarity index 77% rename from shairport-sync-dbus-policy.conf rename to scripts/shairport-sync-dbus-policy.conf index 01e09521..497dd885 100644 --- a/shairport-sync-dbus-policy.conf +++ b/scripts/shairport-sync-dbus-policy.conf @@ -7,15 +7,12 @@ - - - diff --git a/scripts/shairport-sync-mpris-policy.conf b/scripts/shairport-sync-mpris-policy.conf new file mode 100644 index 00000000..1efb0072 --- /dev/null +++ b/scripts/shairport-sync-mpris-policy.conf @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + +