|
@@ -40,14 +40,6 @@ endef
|
40
|
40
|
|
41
|
41
|
define Package/pulseaudio-daemon
|
42
|
42
|
$(call Package/pulseaudio/Default)
|
43
|
|
- VARIANT:=noavahi
|
44
|
|
-endef
|
45
|
|
-
|
46
|
|
-define Package/pulseaudio-daemon-avahi
|
47
|
|
- $(call Package/pulseaudio/Default)
|
48
|
|
- DEPENDS+=+dbus +libavahi-client +avahi-daemon
|
49
|
|
- TITLE+= (avahi)
|
50
|
|
- VARIANT:=avahi
|
51
|
43
|
endef
|
52
|
44
|
|
53
|
45
|
define Package/pulseaudio/Default/description
|
|
@@ -58,11 +50,6 @@ define Package/pulseaudio-daemon/description
|
58
|
50
|
$(call Package/pulseaudio/Default/description)
|
59
|
51
|
endef
|
60
|
52
|
|
61
|
|
-define Package/pulseaudio-daemon-avahi/description
|
62
|
|
- $(call Package/pulseaudio/Default/description)
|
63
|
|
- This package is compiled against dbus and avahi.
|
64
|
|
-endef
|
65
|
|
-
|
66
|
53
|
define Package/pulseaudio-daemon/conffiles
|
67
|
54
|
/etc/pulse/client.conf
|
68
|
55
|
/etc/pulse/daemon.conf
|
|
@@ -70,20 +57,12 @@ define Package/pulseaudio-daemon/conffiles
|
70
|
57
|
/etc/pulse/system.pa
|
71
|
58
|
endef
|
72
|
59
|
|
73
|
|
-define Package/pulseaudio-daemon-avahi/conffiles
|
74
|
|
-/etc/pulse/client.conf
|
75
|
|
-/etc/pulse/daemon.conf
|
76
|
|
-/etc/pulse/default.pa
|
77
|
|
-/etc/pulse/system.pa
|
78
|
|
-endef
|
79
|
|
-
|
80
|
60
|
define Package/pulseaudio-tools
|
81
|
61
|
SECTION:=sound
|
82
|
62
|
CATEGORY:=Sound
|
83
|
63
|
DEPENDS:=+libsndfile pulseaudio
|
84
|
64
|
TITLE:=Tools for Pulseaudio
|
85
|
65
|
URL:=http://www.pulseaudio.org
|
86
|
|
- VARIANT:=noavahi
|
87
|
66
|
endef
|
88
|
67
|
|
89
|
68
|
define Package/pulseaudio-profiles
|
|
@@ -116,19 +95,9 @@ CONFIGURE_ARGS += \
|
116
|
95
|
--disable-lirc \
|
117
|
96
|
--disable-bluez \
|
118
|
97
|
--disable-udev \
|
119
|
|
- --without-fftw
|
120
|
|
-
|
121
|
|
-ifeq ($(BUILD_VARIANT),avahi)
|
122
|
|
-CONFIGURE_ARGS += \
|
123
|
|
- --enable-avahi \
|
124
|
|
- --enable-dbus
|
125
|
|
-endif
|
126
|
|
-
|
127
|
|
-ifeq ($(BUILD_VARIANT),noavahi)
|
128
|
|
-CONFIGURE_ARGS += \
|
|
98
|
+ --without-fftw \
|
129
|
99
|
--disable-avahi \
|
130
|
100
|
--disable-dbus
|
131
|
|
-endif
|
132
|
101
|
|
133
|
102
|
CONFIGURE_VARS += \
|
134
|
103
|
PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig"
|
|
@@ -196,51 +165,6 @@ define Package/pulseaudio-daemon/install
|
196
|
165
|
chmod -R 0644 $(1)/etc/pulse/*
|
197
|
166
|
endef
|
198
|
167
|
|
199
|
|
-define Package/pulseaudio-daemon-avahi/install
|
200
|
|
- $(INSTALL_DIR) \
|
201
|
|
- $(1)/etc/pulse \
|
202
|
|
- $(1)/etc/init.d \
|
203
|
|
- $(1)/usr/bin \
|
204
|
|
- $(1)/usr/lib \
|
205
|
|
- $(1)/usr/lib/pulseaudio \
|
206
|
|
- $(1)/usr/lib/pulse-$(PKG_VERSION)/modules \
|
207
|
|
- $(1)/etc/dbus-1/system.d
|
208
|
|
-
|
209
|
|
- $(INSTALL_BIN) \
|
210
|
|
- $(PKG_INSTALL_DIR)/usr/bin/pulseaudio \
|
211
|
|
- $(1)/usr/bin/pulseaudio
|
212
|
|
-
|
213
|
|
- $(INSTALL_BIN) \
|
214
|
|
- ./files/pulseaudio.init \
|
215
|
|
- $(1)/etc/init.d/pulseaudio
|
216
|
|
-
|
217
|
|
- $(INSTALL_CONF) \
|
218
|
|
- $(PKG_INSTALL_DIR)/etc/pulse/* \
|
219
|
|
- $(1)/etc/pulse
|
220
|
|
-
|
221
|
|
- $(CP) \
|
222
|
|
- $(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
223
|
|
- $(1)/usr/lib/
|
224
|
|
-
|
225
|
|
- $(CP) \
|
226
|
|
- $(PKG_INSTALL_DIR)/usr/lib/pulseaudio/* \
|
227
|
|
- $(1)/usr/lib/pulseaudio/
|
228
|
|
-
|
229
|
|
- $(CP) \
|
230
|
|
- $(PKG_INSTALL_DIR)/usr/lib/pulse-$(PKG_VERSION)/modules/lib*.so \
|
231
|
|
- $(1)/usr/lib/
|
232
|
|
-
|
233
|
|
- $(CP) \
|
234
|
|
- $(PKG_INSTALL_DIR)/usr/lib/pulse-$(PKG_VERSION)/modules/module*.so \
|
235
|
|
- $(1)/usr/lib/pulse-$(PKG_VERSION)/modules/
|
236
|
|
-
|
237
|
|
- $(INSTALL_CONF) \
|
238
|
|
- $(PKG_INSTALL_DIR)/etc/dbus-1/system.d/pulseaudio-system.conf \
|
239
|
|
- $(1)/etc/dbus-1/system.d/pulseaudio-system.conf
|
240
|
|
-
|
241
|
|
- chmod -R 0644 $(1)/etc/pulse/* $(1)/etc/dbus-1/system.d/pulseaudio-system.conf
|
242
|
|
-endef
|
243
|
|
-
|
244
|
168
|
define Package/pulseaudio-tools/install
|
245
|
169
|
$(INSTALL_DIR) \
|
246
|
170
|
$(1)/usr/bin
|
|
@@ -265,6 +189,5 @@ define Package/pulseaudio-profiles/install
|
265
|
189
|
endef
|
266
|
190
|
|
267
|
191
|
$(eval $(call BuildPackage,pulseaudio-daemon))
|
268
|
|
-$(eval $(call BuildPackage,pulseaudio-daemon-avahi))
|
269
|
192
|
$(eval $(call BuildPackage,pulseaudio-tools))
|
270
|
193
|
$(eval $(call BuildPackage,pulseaudio-profiles))
|