diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-09 14:16:34 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-09 14:16:34 +0200 |
commit | cdd6e164ebad371c82dc04f72fb35625072b42cc (patch) | |
tree | f981844313f0d1a0a803ca2b7ab702664ba0a77f /extra | |
parent | 90badc78d656d486cf6432e972536c47ad2d517c (diff) | |
download | nutyx-pakxe-cdd6e164ebad371c82dc04f72fb35625072b42cc.tar.gz nutyx-pakxe-cdd6e164ebad371c82dc04f72fb35625072b42cc.tar.bz2 nutyx-pakxe-cdd6e164ebad371c82dc04f72fb35625072b42cc.tar.xz nutyx-pakxe-cdd6e164ebad371c82dc04f72fb35625072b42cc.zip |
Ajout de alsa-utils#1.0.20-1
Diffstat (limited to 'extra')
-rw-r--r-- | extra/alsa-utils/.footprint | 81 | ||||
-rw-r--r-- | extra/alsa-utils/.md5sum | 3 | ||||
-rw-r--r-- | extra/alsa-utils/40-alsa.rules | 4 | ||||
-rwxr-xr-x | extra/alsa-utils/Pkgfile | 29 | ||||
-rw-r--r-- | extra/alsa-utils/alsaconf.patch | 22 |
5 files changed, 139 insertions, 0 deletions
diff --git a/extra/alsa-utils/.footprint b/extra/alsa-utils/.footprint new file mode 100644 index 000000000..64b226a6c --- /dev/null +++ b/extra/alsa-utils/.footprint @@ -0,0 +1,81 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/rc.d/ +drwxr-xr-x root/root etc/rc.d/init.d/ +-rwxr-xr-- root/root etc/rc.d/init.d/alsa +drwxr-xr-x root/root etc/rc.d/rc0.d/ +lrwxrwxrwx root/root etc/rc.d/rc0.d/K35alsa -> ../init.d/alsa +drwxr-xr-x root/root etc/rc.d/rc1.d/ +lrwxrwxrwx root/root etc/rc.d/rc1.d/K35alsa -> ../init.d/alsa +drwxr-xr-x root/root etc/rc.d/rc2.d/ +drwxr-xr-x root/root etc/rc.d/rc3.d/ +drwxr-xr-x root/root etc/rc.d/rc4.d/ +drwxr-xr-x root/root etc/rc.d/rc5.d/ +drwxr-xr-x root/root etc/rc.d/rc6.d/ +lrwxrwxrwx root/root etc/rc.d/rc6.d/K35alsa -> ../init.d/alsa +drwxr-xr-x root/root etc/rc.d/rcsysinit.d/ +drwxr-xr-x root/root etc/sysconfig/ +drwxr-xr-x root/root etc/udev/ +drwxr-xr-x root/root etc/udev/rules.d/ +-rw-r--r-- root/root etc/udev/rules.d/40-alsa.rules +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/aconnect +-rwxr-xr-x root/root usr/bin/alsamixer +-rwxr-xr-x root/root usr/bin/amidi +-rwxr-xr-x root/root usr/bin/amixer +-rwxr-xr-x root/root usr/bin/aplay +-rwxr-xr-x root/root usr/bin/aplaymidi +lrwxrwxrwx root/root usr/bin/arecord -> aplay +-rwxr-xr-x root/root usr/bin/arecordmidi +-rwxr-xr-x root/root usr/bin/aseqdump +-rwxr-xr-x root/root usr/bin/aseqnet +-rwxr-xr-x root/root usr/bin/iecset +-rwxr-xr-x root/root usr/bin/speaker-test +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/alsaconf +-rwxr-xr-x root/root usr/sbin/alsactl +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/alsa/ +drwxr-xr-x root/root usr/share/alsa/init/ +-rw-r--r-- root/root usr/share/alsa/init/00main +-rw-r--r-- root/root usr/share/alsa/init/default +-rw-r--r-- root/root usr/share/alsa/init/hda +-rw-r--r-- root/root usr/share/alsa/init/help +-rw-r--r-- root/root usr/share/alsa/init/info +-rw-r--r-- root/root usr/share/alsa/init/test +drwxr-xr-x root/root usr/share/alsa/speaker-test/ +-rw-r--r-- root/root usr/share/alsa/speaker-test/sample_map.csv +drwxr-xr-x root/root usr/share/locale/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/fr/ +drwxr-xr-x root/root usr/share/man/fr/man8/ +-rw-r--r-- root/root usr/share/man/fr/man8/alsaconf.8.gz +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/aconnect.1.gz +-rw-r--r-- root/root usr/share/man/man1/alsactl.1.gz +-rw-r--r-- root/root usr/share/man/man1/alsamixer.1.gz +-rw-r--r-- root/root usr/share/man/man1/amidi.1.gz +-rw-r--r-- root/root usr/share/man/man1/amixer.1.gz +-rw-r--r-- root/root usr/share/man/man1/aplay.1.gz +-rw-r--r-- root/root usr/share/man/man1/aplaymidi.1.gz +lrwxrwxrwx root/root usr/share/man/man1/arecord.1.gz -> aplay.1.gz +-rw-r--r-- root/root usr/share/man/man1/arecordmidi.1.gz +-rw-r--r-- root/root usr/share/man/man1/aseqdump.1.gz +-rw-r--r-- root/root usr/share/man/man1/aseqnet.1.gz +-rw-r--r-- root/root usr/share/man/man1/iecset.1.gz +-rw-r--r-- root/root usr/share/man/man1/speaker-test.1.gz +drwxr-xr-x root/root usr/share/man/man7/ +-rw-r--r-- root/root usr/share/man/man7/alsactl_init.7.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/alsaconf.8.gz +drwxr-xr-x root/root usr/share/sounds/ +drwxr-xr-x root/root usr/share/sounds/alsa/ +-rw-r--r-- root/root usr/share/sounds/alsa/Front_Center.wav +-rw-r--r-- root/root usr/share/sounds/alsa/Front_Left.wav +-rw-r--r-- root/root usr/share/sounds/alsa/Front_Right.wav +-rw-r--r-- root/root usr/share/sounds/alsa/Noise.wav +-rw-r--r-- root/root usr/share/sounds/alsa/Rear_Center.wav +-rw-r--r-- root/root usr/share/sounds/alsa/Rear_Left.wav +-rw-r--r-- root/root usr/share/sounds/alsa/Rear_Right.wav +-rw-r--r-- root/root usr/share/sounds/alsa/Side_Left.wav +-rw-r--r-- root/root usr/share/sounds/alsa/Side_Right.wav diff --git a/extra/alsa-utils/.md5sum b/extra/alsa-utils/.md5sum new file mode 100644 index 000000000..7603638f6 --- /dev/null +++ b/extra/alsa-utils/.md5sum @@ -0,0 +1,3 @@ +eed0bcfa6f6fe92e9a7dd7dd52771db6 40-alsa.rules +f7303452b745257f2741cd84aaf51c9e alsa-utils-1.0.18-no_xmlto-1.patch +6837e673ef19da96d8bd2f9e18cd9574 alsa-utils-1.0.20.tar.bz2 diff --git a/extra/alsa-utils/40-alsa.rules b/extra/alsa-utils/40-alsa.rules new file mode 100644 index 000000000..12e570dd8 --- /dev/null +++ b/extra/alsa-utils/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-utils/Pkgfile b/extra/alsa-utils/Pkgfile new file mode 100755 index 000000000..46d1be464 --- /dev/null +++ b/extra/alsa-utils/Pkgfile @@ -0,0 +1,29 @@ +# Description: Utilitaires pour ALSA +# URL: http://www.alsa-project.org +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: alsa-lib + +name=alsa-utils +version=1.0.20 +release=1 +source=(ftp://ftp.alsa-project.org/pub/utils/$name-$version.tar.bz2 \ + 40-alsa.rules \ + http://www.linuxfromscratch.org/patches/blfs/svn/alsa-utils-1.0.18-no_xmlto-1.patch) + +build() { + source /etc/blfs-bootscripts + wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2 + tar xvf $scripts-$scriptsversion.tar.bz2 + cd $name-$version + patch -Np1 -i ../alsa-utils-1.0.18-no_xmlto-1.patch + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make + make DESTDIR=$PKG install + mkdir -p $PKG/etc/udev/rules.d + mv ../40-alsa.rules $PKG/etc/udev/rules.d/ + cd ../$scripts-$scriptsversion + make DESTDIR=$PKG install-alsa +} diff --git a/extra/alsa-utils/alsaconf.patch b/extra/alsa-utils/alsaconf.patch new file mode 100644 index 000000000..fbbd0c5ce --- /dev/null +++ b/extra/alsa-utils/alsaconf.patch @@ -0,0 +1,22 @@ +diff -Naur alsa-utils-1.0.9a-orig/alsaconf/alsaconf.in alsa-utils-1.0.9a/alsaconf/alsaconf.in +--- alsa-utils-1.0.9a-orig/alsaconf/alsaconf.in 2005-03-24 00:24:52.000000000 -0800 ++++ alsa-utils-1.0.9a/alsaconf/alsaconf.in 2005-07-18 09:25:02.000000000 -0700 +@@ -58,6 +58,8 @@ + distribution="redhat" + elif test -f /etc/fedora-release && grep -q "Fedora" /etc/fedora-release; then + distribution="fedora" ++elif test -f /etc/arch-release && grep -q "Arch" /etc/arch-release; then ++ distribution="arch" + else + distribution="unknown" + fi +@@ -382,6 +384,8 @@ + rcalsasound=/etc/rc.d/init.d/alsasound + elif [ -x /etc/init.d/alsa ]; then + rcalsasound=/etc/init.d/alsa ++elif [ -x /etc/rc.d/alsa ]; then ++ rcalsasound=/etc/rc.d/alsa + else + rcalsasound=rcalsasound + fi + |