[packages] pulseaudio: make configfiles readable by user pulse (#10728)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29715 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6ceb1322ea
commit
cdc1f92b92
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=pulseaudio
|
PKG_NAME:=pulseaudio
|
||||||
PKG_VERSION:=1.1
|
PKG_VERSION:=1.1
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://freedesktop.org/software/pulseaudio/releases/
|
PKG_SOURCE_URL:=http://freedesktop.org/software/pulseaudio/releases/
|
||||||
@ -121,6 +121,7 @@ CONFIGURE_ARGS += \
|
|||||||
--enable-avahi \
|
--enable-avahi \
|
||||||
--enable-dbus
|
--enable-dbus
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BUILD_VARIANT),noavahi)
|
ifeq ($(BUILD_VARIANT),noavahi)
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--disable-avahi \
|
--disable-avahi \
|
||||||
@ -180,6 +181,8 @@ define Package/pulseaudio-daemon/install
|
|||||||
$(CP) \
|
$(CP) \
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/pulse-$(PKG_VERSION)/modules/module*.so \
|
$(PKG_INSTALL_DIR)/usr/lib/pulse-$(PKG_VERSION)/modules/module*.so \
|
||||||
$(1)/usr/lib/pulse-$(PKG_VERSION)/modules/
|
$(1)/usr/lib/pulse-$(PKG_VERSION)/modules/
|
||||||
|
|
||||||
|
chmod -R 0644 $(1)/etc/pulse/*
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/pulseaudio-daemon-avahi/install
|
define Package/pulseaudio-daemon-avahi/install
|
||||||
@ -218,6 +221,8 @@ define Package/pulseaudio-daemon-avahi/install
|
|||||||
$(INSTALL_CONF) \
|
$(INSTALL_CONF) \
|
||||||
$(PKG_INSTALL_DIR)/etc/dbus-1/system.d/pulseaudio-system.conf \
|
$(PKG_INSTALL_DIR)/etc/dbus-1/system.d/pulseaudio-system.conf \
|
||||||
$(1)/etc/dbus-1/system.d/pulseaudio-system.conf
|
$(1)/etc/dbus-1/system.d/pulseaudio-system.conf
|
||||||
|
|
||||||
|
chmod -R 0644 $(1)/etc/pulse/* $(1)/etc/dbus-1/system.d/pulseaudio-system.conf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/pulseaudio-tools/install
|
define Package/pulseaudio-tools/install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user