Annotation of /trunk/extras/alsa-tools/alsa-tools-1.1.6-r1.smage2
Parent Directory | Revision Log
Revision 30841 -
(hide annotations)
(download)
Wed Apr 25 07:09:18 2018 UTC (6 years, 5 months ago) by niro
File size: 1833 byte(s)
Wed Apr 25 07:09:18 2018 UTC (6 years, 5 months ago) by niro
File size: 1833 byte(s)
auto added: ver bump to 1.1.6-r1
1 | niro | 30841 | # $Id$ |
2 | |||
3 | PNAME="alsa-tools" | ||
4 | PVER="1.1.6" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="media-sound" | ||
8 | LICENSE="gpl-2" | ||
9 | |||
10 | DESCRIPTION="Advanced Linux Sound Architecture OSS Layer Tools." | ||
11 | HOMEPAGE="http://www.alsa-project.org/" | ||
12 | |||
13 | DEPEND=">= media-libs/alsa-lib-${PVER} | ||
14 | >= x11-libs/gtk2+-2.24 | ||
15 | >= x11-libs/gtk3+-3.14 | ||
16 | >= sys-libs/libstdc++-5.3" | ||
17 | |||
18 | SRCFILE="${PNAME}-${PVER/_/}.tar.bz2" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}" | ||
20 | |||
21 | # checks not working | ||
22 | msetfeature "!check" | ||
23 | sminclude mbuild | ||
24 | |||
25 | SRC_URI=( | ||
26 | http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/tools/${SRCFILE} | ||
27 | ftp://ftp.alsa-project.org/pub/tools/${SRCFILE} | ||
28 | http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE} | ||
29 | mirror://${PNAME}/${SRCFILE} | ||
30 | ) | ||
31 | |||
32 | UP2DATE="updatecmd ftp://ftp.alsa-project.org/pub/${PNAME/alsa-/} | highesttarball" | ||
33 | |||
34 | src_compile() | ||
35 | { | ||
36 | cd ${SRCDIR} | ||
37 | |||
38 | local i | ||
39 | for i in $(find ${SRCDIR} -type f -name configure) | ||
40 | do | ||
41 | # exclude qlo10k1; needs qt and qt-checks are broken | ||
42 | [[ $(basename $(dirname ${i})) = qlo10k1 ]] && continue | ||
43 | # exclude hdspmixer; needs fltk | ||
44 | [[ $(basename $(dirname ${i})) = hdspmixer ]] && continue | ||
45 | # exclude hdspconf; needs fltk too | ||
46 | [[ $(basename $(dirname ${i})) = hdspconf ]] && continue | ||
47 | |||
48 | echo | ||
49 | echo "Compiling $(dirname ${i}) ..." | ||
50 | echo | ||
51 | |||
52 | cd $(dirname ${i}) | ||
53 | mconfigure --with-gtk2 || die | ||
54 | mmake || die | ||
55 | done | ||
56 | } | ||
57 | |||
58 | src_install() | ||
59 | { | ||
60 | cd ${SRCDIR} | ||
61 | |||
62 | local i | ||
63 | for i in $(find ${SRCDIR} -type f -name configure) | ||
64 | do | ||
65 | # exclude qlo10k1; needs qt and qt-checks are broken | ||
66 | [[ $(basename $(dirname ${i})) = qlo10k1 ]] && continue | ||
67 | # exclude hdspmixer; needs fltk | ||
68 | [[ $(basename $(dirname ${i})) = hdspmixer ]] && continue | ||
69 | # exclude hdspconf; needs fltk too | ||
70 | [[ $(basename $(dirname ${i})) = hdspconf ]] && continue | ||
71 | |||
72 | echo | ||
73 | echo "Installing $(dirname ${i}) ..." | ||
74 | echo | ||
75 | |||
76 | cd $(dirname ${i}) | ||
77 | mmake DESTDIR=${BINDIR} install || die | ||
78 | done | ||
79 | } | ||
80 |