wok-next view alsa-tools/receipt @ rev 20851

Add uglifyjs; fix build / up: python-cython, xpra, xscavenger, xsshfs, zbar
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 24 16:46:03 2018 +0300 (2018-06-24)
parents 757d032c55c7
children d1ec7aca1013
line source
1 # SliTaz package receipt v2.
3 PACKAGE="alsa-tools"
4 VERSION="1.1.5"
5 CATEGORY="meta"
6 SHORT_DESC="ALSA sound system advanced tools"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.alsa-project.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/alsa-tools.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="ftp://ftp.alsa-project.org/pub/tools/$TARBALL"
15 BUILD_DEPENDS="alsa-lib-dev gtk+-dev fltk-dev autoconf automake gtk+3-dev"
16 at='alsa-tools'
17 # skip qlo10k1: it requre old Qt
18 # skip hdajacksensetest: sysfs-pin-configs.h: No such file or directory
19 SPLIT="\
20 $at-as10k1 $at-echomixer $at-envy24control $at-hda-verb \
21 $at-hdajack $at-hdsp $at-hwmixvolume $at-ld10k1 \
22 $at-ld10k1-dev $at-mixartloader $at-pcxhrloader $at-rmedigicontrol \
23 $at-sb16_csp $at-seq $at-sscape_ctl $at-us428control \
24 $at-usx2yloader $at-vxloader"
25 #COOKOPTS="!menus"
27 compile_rules() {
28 for i in *; do
29 case $i in
30 Makefile|gitcompile|qlo10k1) continue;;
31 seq) cd $src/seq/sbiload;;
32 *) cd $src/$i;;
33 esac
34 ./configure $CONFIGURE_ARGS &&
35 make &&
36 make install
37 done
38 cp $stuff/*.desktop $install/usr/share/applications/
39 }
41 genpkg_rules() {
42 case $PACKAGE in
43 alsa-tools)
44 COOKOPTS="!menus"
45 CAT="meta|meta package"
46 DEPENDS="alsa-lib" # We don't want all card mixer as dep.
47 ;;
48 *-as10k1)
49 copy as10k1
50 CAT="multimedia|assembler for emu10k1 DSP chip"
51 DEPENDS=" "
52 ;;
53 *-echomixer)
54 copy echomixer echomixer.desktop
55 CAT="multimedia|control all the features of any Echoaudio soundcard"
56 DEPENDS="alsa-lib glib gtk+"
57 ;;
58 *-envy24control)
59 copy envy24control envy24control.desktop
60 CAT="multimedia|control tool for Envy24 (ice1712) based soundcards"
61 DEPENDS="alsa-lib glib gtk+"
62 ;;
63 *-hda-verb)
64 copy hda-verb
65 CAT="multimedia|send a HD-audio command"
66 DEPENDS=" "
67 ;;
68 *-hdajack)
69 copy hdajackretask hdajacksensetest
70 CAT="multimedia|HDA Intel tools"
71 DEPENDS="glib gtk+3"
72 ;;
73 *-hdsp)
74 copy hdspconf hdspconf.desktop hdspconf.png \
75 hdsploader \
76 hdspmixer hdspmixer.desktop hdspmixer.png
77 CAT="multimedia|RME Hammerfall DSP cards firmware loader, mixer and config tool"
78 DEPENDS="alsa-lib fltk"
79 ;;
80 *-hwmixvolume)
81 copy hwmixvolume
82 CAT="multimedia|control the volume of sound cards using hardware mixing"
83 DEPENDS="alsa-lib python pygtk" #?
84 ;;
85 *-ld10k1)
86 copy init_audigy init_audigy_eq10 init_live lo10k1 liblo10k1.so* \
87 dl10k1 ld10k1 ld10k1d ld10k1/effects/
88 CAT="multimedia|emu10k1 (emu10k2) patch loader"
89 DEPENDS="alsa-lib"
90 ;;
91 *-ld10k1-dev)
92 copy lo10k1/ ld10k1.m4
93 CAT="development|ld10k1 development files"
94 DEPENDS="alsa-tools-ld10k1"
95 ;;
96 *-mixartloader)
97 copy mixartloader
98 CAT="multimedia|firmware loader for Digigram miXart soundcards"
99 DEPENDS="alsa-lib"
100 ;;
101 *-pcxhrloader)
102 copy pcxhrloader
103 CAT="multimedia|firmware loader for Digigram pcxhr compatible soundards"
104 DEPENDS="alsa-lib"
105 ;;
106 *-rmedigicontrol)
107 copy rmedigicontrol rmedigicontrol.desktop
108 CAT="multimedia|control tool for RME Digi32 and RME Digi96 soundcards"
109 DEPENDS="alsa-lib glib gtk+"
110 ;;
111 *-sb16_csp)
112 copy cspctl
113 CAT="multimedia|Sound Blaster 16 ASP/CSP control program"
114 DEPENDS="alsa-lib"
115 ;;
116 *-seq)
117 copy sbiload opl3/
118 CAT="multimedia|OPL2/3 FM instrument loader"
119 DEPENDS="alsa-lib"
120 ;;
121 *-sscape_ctl)
122 copy sscape_ctl
123 CAT="multimedia|SoundScape control utility"
124 DEPENDS="alsa-lib"
125 ;;
126 *-us428control)
127 copy us428control
128 CAT="multimedia|controller for Tascam US-X2Y"
129 DEPENDS="alsa-lib"
130 ;;
131 *-usx2yloader)
132 copy usx2yloader /etc/hotplug/usb/
133 CAT="multimedia|firmware loader for Tascam USX2Y USB soundcards"
134 DEPENDS="alsa-lib"
135 ;;
136 *-vxloader)
137 copy vxloader
138 CAT="multimedia|firmware loader for Digigram VX soundcards"
139 DEPENDS="alsa-lib"
140 ;;
141 esac
142 }