wok-next view alsa-tools/receipt @ rev 20244
Update bdeps: apache-mod-perl, codeblocks, tacacs+, thunar-archive-plugin, tuxpaint, xpenguins
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 07 10:54:15 2017 +0200 (2017-11-07) |
parents | dcce9f39d00c |
children | 6d173c4b9591 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="alsa-tools"
4 VERSION="1.0.26.1"
5 CATEGORY="meta"
6 SHORT_DESC="Alsa sound system additionnal tools (meta package)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.alsa-project.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://alsa.cybermirror.org/tools/$TARBALL"
12 GENERIC_MENUS="no"
14 # We don't want all card mixer as dep.
15 DEPENDS="alsa-lib alsa-tools-ac3dec"
16 BUILD_DEPENDS="alsa-lib-dev gtk+-dev fltk-dev autoconf automake"
17 SPLIT="alsa-tools-ac3dec alsa-tools-echomixer alsa-tools-envy24control \
18 alsa-tools-hdsp alsa-tools-hwmixvolume alsa-tools-rmedigicontrol"
20 # List of tools we want to build, then splited into individual packages
21 TOOLS="ac3dec envy24control hwmixvolume hdsploader hdspconf hdspmixer \
22 rmedigicontrol echomixer"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 for tool in $TOOLS; do
28 cd $src/$tool
29 ./configure $CONFIGURE_ARGS
30 make && make DESTDIR=$DESTDIR install
31 done
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 case $PACKAGE in
38 alsa-tools-ac3dec)
39 CAT="multimedia|A free AC-3 stream decoder."
40 DEPENDS="alsa-lib"
41 mkdir -p $fs/usr/bin
42 cp -a $install/usr/bin/ac3dec $fs/usr/bin
43 cp -a $install/usr/bin/extract_ac3 $fs/usr/bin
44 ;;
45 alsa-tools-echomixer)
46 CAT="multimedia|Control all the features of any Echoaudio soundcard."
47 DEPENDS="alsa-lib gtk+"
48 mkdir -p $fs/usr/bin
49 cp -a $install/usr/bin/echomixer $fs/usr/bin
50 ;;
51 alsa-tools-envy24control)
52 CAT="multimedia|Control tool for Envy24 (ice1712) based soundcards."
53 DEPENDS="alsa-lib gtk+"
54 mkdir -p $fs/usr/bin
55 cp -a $install/usr/bin/envy24control $fs/usr/bin
56 ;;
57 alsa-tools-hdsp)
58 CAT="multimedia|RME Hammerfall DSP cards firmware loader, mixer and config tool."
59 DEPENDS="alsa-lib fltk"
60 mkdir -p $fs/usr/bin $fs/usr/share/applications $fs/usr/share/pixmaps
61 cp -a $install/usr/bin/hdsp* $fs/usr/bin
62 cp -a $install/usr/share/applications/hdsp*.desktop \
63 $fs/usr/share/applications
64 cp -a $install/usr/share/pixmaps/hdsp*.png \
65 $fs/usr/share/pixmaps
66 ;;
67 alsa-tools-hwmixvolume)
68 CAT="multimedia|Control the volume of sound cards using hardware mixing."
69 DEPENDS="alsa-lib python pygtk"
70 mkdir -p $fs/usr/bin
71 cp -a $install/usr/bin/hwmixvolume $fs/usr/bin
72 ;;
73 alsa-tools-rmedigicontrol)
74 CAT="multimedia|Control tool for RME Digi32 and RME Digi96 soundcards."
75 DEPENDS="alsa-lib gtk+"
76 mkdir -p $fs/usr/bin
77 cp -a $install/usr/bin/rmedigicontrol $fs/usr/bin
78 ;;
79 esac
80 }