# HG changeset patch # User Hans-G?nter Theisgen # Date 1654864513 -3600 # Node ID 1931b321046f092f484630e0063cddbb63e689e3 # Parent 85fc2431322f85e73dbb9e943822636a7b0ea1cd updated alsa-lib, alsa-lib-dev and alsa-utils (1.2.2 -> 1.2.7) diff -r 85fc2431322f -r 1931b321046f alsa-lib-dev/receipt --- a/alsa-lib-dev/receipt Thu Jun 09 15:38:57 2022 +0000 +++ b/alsa-lib-dev/receipt Fri Jun 10 13:35:13 2022 +0100 @@ -1,23 +1,23 @@ # SliTaz package receipt. PACKAGE="alsa-lib-dev" -VERSION="1.2.2" +VERSION="1.2.7" CATEGORY="development" -SHORT_DESC="Alsa sound libraries devel files." +SHORT_DESC="Alsa sound libraries - development files." MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" -WANTED="alsa-lib" -WEB_SITE="http://www.alsa-project.org/" -HOST_ARCH="i486 arm" +WEB_SITE="https://www.alsa-project.org/" DEPENDS="alsa-lib pkg-config" +WANTED="alsa-lib" + +HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/share/aclocal $fs/usr/share + cook_copy_folders aclocal + cook_copy_folders include + cook_copy_folders pkgconfig + cook_copy_files *.*a } diff -r 85fc2431322f -r 1931b321046f alsa-lib/description.txt --- a/alsa-lib/description.txt Thu Jun 09 15:38:57 2022 +0000 +++ b/alsa-lib/description.txt Fri Jun 10 13:35:13 2022 +0100 @@ -1,3 +1,3 @@ The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI -functionality to the Linux operating system. This package provides the ALSA -libraries. +functionality to the Linux operating system. +This package provides the ALSA libraries. diff -r 85fc2431322f -r 1931b321046f alsa-lib/receipt --- a/alsa-lib/receipt Thu Jun 09 15:38:57 2022 +0000 +++ b/alsa-lib/receipt Fri Jun 10 13:35:13 2022 +0100 @@ -1,18 +1,20 @@ # SliTaz package receipt. PACKAGE="alsa-lib" -VERSION="1.2.2" +VERSION="1.2.7" CATEGORY="multimedia" SHORT_DESC="Alsa sound libraries." MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" +WEB_SITE="https://www.alsa-project.org/wiki/Main_Page" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.alsa-project.org/" WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL" -HOST_ARCH="i486 arm" DEPENDS="linux" +HOST_ARCH="i486 arm" + current_version() { wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \ @@ -22,9 +24,11 @@ # Rules to configure and make the package. compile_rules() { - ./configure --disable-python \ + ./configure \ + --disable-python \ $CONFIGURE_ARGS && - make && make -j1 install + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -32,10 +36,12 @@ { # Enable software mixing for multiple audio streams mkdir -p $fs/etc - cp $stuff/asound.conf $fs/etc - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/share/alsa $fs/usr/share + cp $stuff/asound.conf $fs/etc + + mkdir -p $fs/usr/lib + mkdir -p $fs/usr/share + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/share/alsa $fs/usr/share } - diff -r 85fc2431322f -r 1931b321046f alsa-utils/receipt --- a/alsa-utils/receipt Thu Jun 09 15:38:57 2022 +0000 +++ b/alsa-utils/receipt Fri Jun 10 13:35:13 2022 +0100 @@ -1,20 +1,24 @@ # SliTaz package receipt. PACKAGE="alsa-utils" -VERSION="1.2.2" +VERSION="1.2.7" CATEGORY="multimedia" -SHORT_DESC="Alsa sound system utilities and config tools." +SHORT_DESC="Alsa sound system utilities and configuration tools." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://www.alsa-project.org/" +WEB_SITE="https://www.alsa-project.org/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="ftp://ftp.alsa-project.org/pub/utils/$TARBALL" -CONFIG_FILES="/var/lib/alsa/asound.state" -HOST_ARCH="i486 arm" +SUGGESTED="bash" DEPENDS="alsa-lib ncurses util-linux-getopt" BUILD_DEPENDS="alsa-lib-dev ncurses-dev" +CONFIG_FILES="/var/lib/alsa/asound.state" + +HOST_ARCH="i486 arm" + current_version() { wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \ @@ -24,47 +28,55 @@ # Rules to configure and make the package. compile_rules() { - ./configure \ - --disable-xmlto \ + ./configure \ + --disable-xmlto \ $CONFIGURE_ARGS && make && - make DESTDIR=$DESTDIR install + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share/alsa $fs/var/lib/alsa $fs/etc + mkdir -p $fs/usr/share/alsa + mkdir -p $fs/var/lib/alsa + mkdir -p $fs/etc + #touch $fs/etc/asound.state - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/sbin $fs/usr - cp -a $install/usr/share/alsa/init $fs/usr/share/alsa + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/share/alsa/init $fs/usr/share/alsa # Declare asound.state - touch $fs/var/lib/alsa/asound.state - chmod 755 $fs/usr/sbin/* + touch $fs/var/lib/alsa/asound.state + chmod 755 $fs/usr/sbin/* + # Remove speaker-test (18 Ko and needs sounds) - rm $fs/usr/bin/speaker-test + rm $fs/usr/bin/speaker-test + # For conf we need /var/tmp - mkdir -p $fs/var/tmp - chmod 1777 $fs/var/tmp + mkdir -p $fs/var/tmp + chmod 1777 $fs/var/tmp + # Remove alsaconf (use soundconf). - rm $fs/usr/sbin/alsaconf + rm $fs/usr/sbin/alsaconf } -# Main alsa config (card name, volumes, etc) have moved upstream. So backup +# Main alsa configuration (card name, volumes, etc) have moved upstream. So backup # current one and reenable it after package install so user still have ther # sound card and settings working. pre_install() { - if [ -f "$1/etc/asound.state" ]; then - mv "$1/etc/asound.state" "$1/tmp" + if [ -f "$1/etc/asound.state" ] + then + mv "$1/etc/asound.state" "$1/tmp" fi } post_install() { - if [ -f "$1/tmp/asound.state" ]; then - mv "$1/tmp/asound.state" "$1/var/lib/alsa" + if [ -f "$1/tmp/asound.state" ] + then + mv "$1/tmp/asound.state" "$1/var/lib/alsa" fi }