summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/alsa-plugins/.footprint35
-rw-r--r--extra/alsa-plugins/.md5sum1
-rw-r--r--extra/alsa-plugins/40-alsa.rules4
-rwxr-xr-xextra/alsa-plugins/Pkgfile19
4 files changed, 59 insertions, 0 deletions
diff --git a/extra/alsa-plugins/.footprint b/extra/alsa-plugins/.footprint
new file mode 100644
index 000000000..bbcf70ace
--- /dev/null
+++ b/extra/alsa-plugins/.footprint
@@ -0,0 +1,35 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/alsa-lib/
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_ctl_arcam_av.la
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_ctl_arcam_av.so
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_ctl_oss.la
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_ctl_oss.so
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_a52.la
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_a52.so
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_oss.la
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_oss.so
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_speex.la
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_speex.so
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_upmix.la
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_upmix.so
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_usb_stream.la
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_usb_stream.so
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_vdownmix.la
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_pcm_vdownmix.so
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_rate_lavcrate.la
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_rate_lavcrate.so
+lrwxrwxrwx root/root usr/lib/alsa-lib/libasound_module_rate_lavcrate_fast.so -> libasound_module_rate_lavcrate.so
+lrwxrwxrwx root/root usr/lib/alsa-lib/libasound_module_rate_lavcrate_faster.so -> libasound_module_rate_lavcrate.so
+lrwxrwxrwx root/root usr/lib/alsa-lib/libasound_module_rate_lavcrate_high.so -> libasound_module_rate_lavcrate.so
+lrwxrwxrwx root/root usr/lib/alsa-lib/libasound_module_rate_lavcrate_higher.so -> libasound_module_rate_lavcrate.so
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_rate_samplerate.la
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_rate_samplerate.so
+lrwxrwxrwx root/root usr/lib/alsa-lib/libasound_module_rate_samplerate_best.so -> libasound_module_rate_samplerate.so
+lrwxrwxrwx root/root usr/lib/alsa-lib/libasound_module_rate_samplerate_linear.so -> libasound_module_rate_samplerate.so
+lrwxrwxrwx root/root usr/lib/alsa-lib/libasound_module_rate_samplerate_medium.so -> libasound_module_rate_samplerate.so
+lrwxrwxrwx root/root usr/lib/alsa-lib/libasound_module_rate_samplerate_order.so -> libasound_module_rate_samplerate.so
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_rate_speexrate.la
+-rwxr-xr-x root/root usr/lib/alsa-lib/libasound_module_rate_speexrate.so
+lrwxrwxrwx root/root usr/lib/alsa-lib/libasound_module_rate_speexrate_best.so -> libasound_module_rate_speexrate.so
+lrwxrwxrwx root/root usr/lib/alsa-lib/libasound_module_rate_speexrate_medium.so -> libasound_module_rate_speexrate.so
diff --git a/extra/alsa-plugins/.md5sum b/extra/alsa-plugins/.md5sum
new file mode 100644
index 000000000..c94766725
--- /dev/null
+++ b/extra/alsa-plugins/.md5sum
@@ -0,0 +1 @@
+392d016c0948c54978c0505f24271e01 alsa-plugins-1.0.21.tar.bz2
diff --git a/extra/alsa-plugins/40-alsa.rules b/extra/alsa-plugins/40-alsa.rules
new file mode 100644
index 000000000..12e570dd8
--- /dev/null
+++ b/extra/alsa-plugins/40-alsa.rules
@@ -0,0 +1,4 @@
+# /etc/udev/rules.d/40-alsa.rules
+
+# When a sound device is detected, restore the volume settings
+KERNEL=="controlC[0-9]*", ACTION=="add", RUN+="/usr/sbin/alsactl restore %n"
diff --git a/extra/alsa-plugins/Pkgfile b/extra/alsa-plugins/Pkgfile
new file mode 100755
index 000000000..8e811f6e2
--- /dev/null
+++ b/extra/alsa-plugins/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Plugins pour diverses librairies audio
+# URL: http://www.alsa-project.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: alsa-lib, libsamplerate
+
+name=alsa-plugins
+version=1.0.21
+release=1
+source=(ftp://ftp.alsa-project.org/pub/plugins/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+ make DESTDIR=$PKG install
+}