wok rev 25066
updated alsa-lib, alsa-lib-dev and alsa-utils (1.2.2 -> 1.2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 10 13:35:13 2022 +0100 (2022-06-10) |
parents | 85fc2431322f |
children | 28a7ae4237c6 |
files | alsa-lib-dev/receipt alsa-lib/description.txt alsa-lib/receipt alsa-utils/receipt |
line diff
1.1 --- a/alsa-lib-dev/receipt Thu Jun 09 15:38:57 2022 +0000 1.2 +++ b/alsa-lib-dev/receipt Fri Jun 10 13:35:13 2022 +0100 1.3 @@ -1,23 +1,23 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="alsa-lib-dev" 1.7 -VERSION="1.2.2" 1.8 +VERSION="1.2.7" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="Alsa sound libraries devel files." 1.11 +SHORT_DESC="Alsa sound libraries - development files." 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="LGPL2.1" 1.14 -WANTED="alsa-lib" 1.15 -WEB_SITE="http://www.alsa-project.org/" 1.16 -HOST_ARCH="i486 arm" 1.17 +WEB_SITE="https://www.alsa-project.org/" 1.18 1.19 DEPENDS="alsa-lib pkg-config" 1.20 +WANTED="alsa-lib" 1.21 + 1.22 +HOST_ARCH="i486 arm" 1.23 1.24 # Rules to gen a SliTaz package suitable for Tazpkg. 1.25 genpkg_rules() 1.26 { 1.27 - mkdir -p $fs/usr/lib $fs/usr/share 1.28 - cp -a $install/usr/include $fs/usr 1.29 - cp -a $install/usr/lib/*.*a $fs/usr/lib 1.30 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.31 - cp -a $install/usr/share/aclocal $fs/usr/share 1.32 + cook_copy_folders aclocal 1.33 + cook_copy_folders include 1.34 + cook_copy_folders pkgconfig 1.35 + cook_copy_files *.*a 1.36 }
2.1 --- a/alsa-lib/description.txt Thu Jun 09 15:38:57 2022 +0000 2.2 +++ b/alsa-lib/description.txt Fri Jun 10 13:35:13 2022 +0100 2.3 @@ -1,3 +1,3 @@ 2.4 The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI 2.5 -functionality to the Linux operating system. This package provides the ALSA 2.6 -libraries. 2.7 +functionality to the Linux operating system. 2.8 +This package provides the ALSA libraries.
3.1 --- a/alsa-lib/receipt Thu Jun 09 15:38:57 2022 +0000 3.2 +++ b/alsa-lib/receipt Fri Jun 10 13:35:13 2022 +0100 3.3 @@ -1,18 +1,20 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="alsa-lib" 3.7 -VERSION="1.2.2" 3.8 +VERSION="1.2.7" 3.9 CATEGORY="multimedia" 3.10 SHORT_DESC="Alsa sound libraries." 3.11 MAINTAINER="pankso@slitaz.org" 3.12 LICENSE="LGPL2.1" 3.13 +WEB_SITE="https://www.alsa-project.org/wiki/Main_Page" 3.14 + 3.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 3.16 -WEB_SITE="http://www.alsa-project.org/" 3.17 WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL" 3.18 -HOST_ARCH="i486 arm" 3.19 3.20 DEPENDS="linux" 3.21 3.22 +HOST_ARCH="i486 arm" 3.23 + 3.24 current_version() 3.25 { 3.26 wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \ 3.27 @@ -22,9 +24,11 @@ 3.28 # Rules to configure and make the package. 3.29 compile_rules() 3.30 { 3.31 - ./configure --disable-python \ 3.32 + ./configure \ 3.33 + --disable-python \ 3.34 $CONFIGURE_ARGS && 3.35 - make && make -j1 install 3.36 + make && 3.37 + make install 3.38 } 3.39 3.40 # Rules to gen a SliTaz package suitable for Tazpkg. 3.41 @@ -32,10 +36,12 @@ 3.42 { 3.43 # Enable software mixing for multiple audio streams 3.44 mkdir -p $fs/etc 3.45 - cp $stuff/asound.conf $fs/etc 3.46 - mkdir -p $fs/usr/lib $fs/usr/share 3.47 - cp -a $install/usr/bin $fs/usr 3.48 - cp -a $install/usr/lib/*.so* $fs/usr/lib 3.49 - cp -a $install/usr/share/alsa $fs/usr/share 3.50 + cp $stuff/asound.conf $fs/etc 3.51 + 3.52 + mkdir -p $fs/usr/lib 3.53 + mkdir -p $fs/usr/share 3.54 + 3.55 + cp -a $install/usr/bin $fs/usr 3.56 + cp -a $install/usr/lib/*.so* $fs/usr/lib 3.57 + cp -a $install/usr/share/alsa $fs/usr/share 3.58 } 3.59 -
4.1 --- a/alsa-utils/receipt Thu Jun 09 15:38:57 2022 +0000 4.2 +++ b/alsa-utils/receipt Fri Jun 10 13:35:13 2022 +0100 4.3 @@ -1,20 +1,24 @@ 4.4 # SliTaz package receipt. 4.5 4.6 PACKAGE="alsa-utils" 4.7 -VERSION="1.2.2" 4.8 +VERSION="1.2.7" 4.9 CATEGORY="multimedia" 4.10 -SHORT_DESC="Alsa sound system utilities and config tools." 4.11 +SHORT_DESC="Alsa sound system utilities and configuration tools." 4.12 MAINTAINER="pankso@slitaz.org" 4.13 LICENSE="GPL2" 4.14 -WEB_SITE="http://www.alsa-project.org/" 4.15 +WEB_SITE="https://www.alsa-project.org/" 4.16 + 4.17 TARBALL="$PACKAGE-$VERSION.tar.bz2" 4.18 WGET_URL="ftp://ftp.alsa-project.org/pub/utils/$TARBALL" 4.19 -CONFIG_FILES="/var/lib/alsa/asound.state" 4.20 -HOST_ARCH="i486 arm" 4.21 4.22 +SUGGESTED="bash" 4.23 DEPENDS="alsa-lib ncurses util-linux-getopt" 4.24 BUILD_DEPENDS="alsa-lib-dev ncurses-dev" 4.25 4.26 +CONFIG_FILES="/var/lib/alsa/asound.state" 4.27 + 4.28 +HOST_ARCH="i486 arm" 4.29 + 4.30 current_version() 4.31 { 4.32 wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \ 4.33 @@ -24,47 +28,55 @@ 4.34 # Rules to configure and make the package. 4.35 compile_rules() 4.36 { 4.37 - ./configure \ 4.38 - --disable-xmlto \ 4.39 + ./configure \ 4.40 + --disable-xmlto \ 4.41 $CONFIGURE_ARGS && 4.42 make && 4.43 - make DESTDIR=$DESTDIR install 4.44 + make install DESTDIR=$DESTDIR 4.45 } 4.46 4.47 # Rules to gen a SliTaz package suitable for Tazpkg. 4.48 genpkg_rules() 4.49 { 4.50 - mkdir -p $fs/usr/share/alsa $fs/var/lib/alsa $fs/etc 4.51 + mkdir -p $fs/usr/share/alsa 4.52 + mkdir -p $fs/var/lib/alsa 4.53 + mkdir -p $fs/etc 4.54 + 4.55 #touch $fs/etc/asound.state 4.56 - cp -a $install/usr/bin $fs/usr 4.57 - cp -a $install/usr/sbin $fs/usr 4.58 - cp -a $install/usr/share/alsa/init $fs/usr/share/alsa 4.59 + cp -a $install/usr/bin $fs/usr 4.60 + cp -a $install/usr/sbin $fs/usr 4.61 + cp -a $install/usr/share/alsa/init $fs/usr/share/alsa 4.62 4.63 # Declare asound.state 4.64 - touch $fs/var/lib/alsa/asound.state 4.65 - chmod 755 $fs/usr/sbin/* 4.66 + touch $fs/var/lib/alsa/asound.state 4.67 + chmod 755 $fs/usr/sbin/* 4.68 + 4.69 # Remove speaker-test (18 Ko and needs sounds) 4.70 - rm $fs/usr/bin/speaker-test 4.71 + rm $fs/usr/bin/speaker-test 4.72 + 4.73 # For conf we need /var/tmp 4.74 - mkdir -p $fs/var/tmp 4.75 - chmod 1777 $fs/var/tmp 4.76 + mkdir -p $fs/var/tmp 4.77 + chmod 1777 $fs/var/tmp 4.78 + 4.79 # Remove alsaconf (use soundconf). 4.80 - rm $fs/usr/sbin/alsaconf 4.81 + rm $fs/usr/sbin/alsaconf 4.82 } 4.83 4.84 -# Main alsa config (card name, volumes, etc) have moved upstream. So backup 4.85 +# Main alsa configuration (card name, volumes, etc) have moved upstream. So backup 4.86 # current one and reenable it after package install so user still have ther 4.87 # sound card and settings working. 4.88 pre_install() 4.89 { 4.90 - if [ -f "$1/etc/asound.state" ]; then 4.91 - mv "$1/etc/asound.state" "$1/tmp" 4.92 + if [ -f "$1/etc/asound.state" ] 4.93 + then 4.94 + mv "$1/etc/asound.state" "$1/tmp" 4.95 fi 4.96 } 4.97 4.98 post_install() 4.99 { 4.100 - if [ -f "$1/tmp/asound.state" ]; then 4.101 - mv "$1/tmp/asound.state" "$1/var/lib/alsa" 4.102 + if [ -f "$1/tmp/asound.state" ] 4.103 + then 4.104 + mv "$1/tmp/asound.state" "$1/var/lib/alsa" 4.105 fi 4.106 }