Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: 1.2.7.1/Makefile
===================================================================
--- 1.2.7.1/Makefile	(revision 208)
+++ 1.2.7.1/Makefile	(revision 209)
@@ -60,7 +60,8 @@
 
 SOURCE_REQUIRES    = sources/packages/m/alsa/plugins
 
-REQUIRES           = X11/app/ffmpeg/4.4.4
+REQUIRES           = media/alsa-plugins/1.2.7.1
+REQUIRES          += X11/app/ffmpeg/4.4.4
 REQUIRES          += X11/media/pulseaudio/16.1
 REQUIRES          += media/libavtp/0.2.0
 
@@ -172,6 +173,14 @@
 	   done ; \
 	   rm -f 98-maemo.conf ; \
 	 )
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK358X_GLIBC)),)
+	@mv $(ALSA_PLUGINS_PKG)/etc/alsa/conf.d/99-pulseaudio-default.conf.example \
+	    $(ALSA_PLUGINS_PKG)/usr/share/alsa/pulse-alsa.conf
+	@cp -a $(CURDIR)/conf/pulse.conf $(ALSA_PLUGINS_PKG)/usr/share/alsa/alsa.conf.d/99-pulse.conf
+	@( cd $(ALSA_PLUGINS_PKG)/etc/alsa/conf.d ; \
+	   ln -sf ../../../usr/share/alsa/alsa.conf.d/99-pulse.conf . ; \
+	 )
+endif
 	# ======= Install Documentation =======
 	@if [ -d $(ALSA_PLUGINS_PKG)/usr/share/man ]; then \
 	  ( cd $(ALSA_PLUGINS_PKG)/usr/share/man ; \
Index: 1.2.7.1/conf/pulse.conf
===================================================================
--- 1.2.7.1/conf/pulse.conf	(nonexistent)
+++ 1.2.7.1/conf/pulse.conf	(revision 209)
@@ -0,0 +1,18 @@
+
+# PulseAudio alsa plugin configuration file to set the pulseaudio plugin as
+# default output for applications using alsa when pulseaudio is running.
+
+hook_func.pulse_load_if_running {
+  lib "libasound_module_conf_pulse.so"
+  func "conf_pulse_hook_load_if_running"
+}
+
+@hooks [
+  {
+    func pulse_load_if_running
+    files [
+      "/usr/share/alsa/pulse-alsa.conf"
+    ]
+    errors false
+  }
+]
Index: 1.2.7.1-ppc32/Makefile
===================================================================
--- 1.2.7.1-ppc32/Makefile	(revision 208)
+++ 1.2.7.1-ppc32/Makefile	(revision 209)
@@ -16,6 +16,7 @@
 SOURCE_REQUIRES    = sources/packages/m/alsa/plugins
 
 REQUIRES           = X11/media/alsa-plugins/1.2.7.1
+REQUIRES          += media/alsa-plugins/1.2.7.1-ppc32
 REQUIRES          += X11/app/ffmpeg/4.4.4-ppc32
 REQUIRES          += X11/media/pulseaudio/16.1-ppc32
 REQUIRES          += media/libavtp/0.2.0-ppc32
Index: 1.2.7.1-x86_32/Makefile
===================================================================
--- 1.2.7.1-x86_32/Makefile	(revision 208)
+++ 1.2.7.1-x86_32/Makefile	(revision 209)
@@ -13,6 +13,7 @@
 SOURCE_REQUIRES    = sources/packages/m/alsa/plugins
 
 REQUIRES           = X11/media/alsa-plugins/1.2.7.1
+REQUIRES          += media/alsa-plugins/1.2.7.1-x86_32
 REQUIRES          += X11/app/ffmpeg/4.4.4-x86_32
 REQUIRES          += X11/media/pulseaudio/16.1-x86_32
 REQUIRES          += media/libavtp/0.2.0-x86_32