summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/alsa-utils_1.1.2.bb
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2016-08-17 14:20:30 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-18 09:27:52 +0100
commit180a77c56a3aedc7bb4bd8d7d9508ff72ac947b2 (patch)
tree03a91efd91581fb0d02872b899e491ae0a7d5769 /meta/recipes-multimedia/alsa/alsa-utils_1.1.2.bb
parent400e2628f1072a39e897ca02cde6a7a37cbb95e1 (diff)
downloadpoky-180a77c56a3aedc7bb4bd8d7d9508ff72ac947b2.tar.gz
alsa-utils: 1.1.1 -> 1.1.2
Changelog: http://www.alsa-project.org/main/index.php/Changes_v1.1.1_v1.1.2 The FFT code in alsabat changed from double precision to single precision floating point numbers, which is why the fftw dependency changed to fftwf. (From OE-Core rev: 2b44e468d20a0256fba896562e2e7d1ae593a4c8) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-utils_1.1.2.bb')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-utils_1.1.2.bb109
1 files changed, 109 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.1.2.bb b/meta/recipes-multimedia/alsa/alsa-utils_1.1.2.bb
new file mode 100644
index 0000000000..a22d999fb0
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-utils_1.1.2.bb
@@ -0,0 +1,109 @@
1SUMMARY = "ALSA sound utilities"
2HOMEPAGE = "http://www.alsa-project.org"
3BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking"
4SECTION = "console/utils"
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
7 file://alsactl/utils.c;beginline=1;endline=20;md5=fe9526b055e246b5558809a5ae25c0b9"
8DEPENDS = "alsa-lib ncurses libsamplerate0"
9
10PACKAGECONFIG ??= "udev"
11
12# alsabat can be built also without fftw support (with reduced functionality).
13# It would be better to always enable alsabat, but provide an option for
14# enabling/disabling fftw. The configure script doesn't support that, however
15# (at least in any obvious way), so for now we only support alsabat with fftw
16# or no alsabat at all.
17PACKAGECONFIG[bat] = "--enable-bat,--disable-bat,fftwf"
18
19PACKAGECONFIG[udev] = "--with-udev-rules-dir=`pkg-config --variable=udevdir udev`/rules.d,,udev"
20PACKAGECONFIG[xmlto] = "--enable-xmlto, --disable-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
21
22SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \
23 file://0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch \
24 "
25
26SRC_URI[md5sum] = "38ac7c781f80c41c02b4664d8cbafa87"
27SRC_URI[sha256sum] = "7af603c0877d1251599d65b4fbc372e63a54371b888f5c26c6a86ac1d0519071"
28
29# lazy hack. needs proper fixing in gettext.m4, see
30# http://bugs.openembedded.org/show_bug.cgi?id=2348
31# please close bug and remove this comment when properly fixed
32#
33EXTRA_OECONF_append_libc-uclibc = " --disable-nls"
34
35inherit autotools gettext pkgconfig
36
37# This are all packages that we need to make. Also, the now empty alsa-utils
38# ipk depends on them.
39
40ALSA_UTILS_PKGS = "\
41 ${@bb.utils.contains('PACKAGECONFIG', 'bat', 'alsa-utils-alsabat', '', d)} \
42 alsa-utils-alsamixer \
43 alsa-utils-alsatplg \
44 alsa-utils-midi \
45 alsa-utils-aplay \
46 alsa-utils-amixer \
47 alsa-utils-aconnect \
48 alsa-utils-iecset \
49 alsa-utils-speakertest \
50 alsa-utils-aseqnet \
51 alsa-utils-aseqdump \
52 alsa-utils-alsactl \
53 alsa-utils-alsaloop \
54 alsa-utils-alsaucm \
55 "
56
57PACKAGES += "${ALSA_UTILS_PKGS}"
58RDEPENDS_${PN} += "${ALSA_UTILS_PKGS}"
59
60FILES_${PN} = ""
61FILES_alsa-utils-alsabat = "${bindir}/alsabat"
62FILES_alsa-utils-alsatplg = "${bindir}/alsatplg"
63FILES_alsa-utils-aplay = "${bindir}/aplay ${bindir}/arecord"
64FILES_alsa-utils-amixer = "${bindir}/amixer"
65FILES_alsa-utils-alsamixer = "${bindir}/alsamixer"
66FILES_alsa-utils-speakertest = "${bindir}/speaker-test ${datadir}/sounds/alsa/ ${datadir}/alsa/speaker-test/"
67FILES_alsa-utils-midi = "${bindir}/aplaymidi ${bindir}/arecordmidi ${bindir}/amidi"
68FILES_alsa-utils-aconnect = "${bindir}/aconnect"
69FILES_alsa-utils-aseqnet = "${bindir}/aseqnet"
70FILES_alsa-utils-iecset = "${bindir}/iecset"
71FILES_alsa-utils-alsactl = "${sbindir}/alsactl */udev/rules.d */*/udev/rules.d ${systemd_unitdir} ${localstatedir}/lib/alsa ${datadir}/alsa/init/"
72FILES_alsa-utils-aseqdump = "${bindir}/aseqdump"
73FILES_alsa-utils-alsaloop = "${bindir}/alsaloop"
74FILES_alsa-utils-alsaucm = "${bindir}/alsaucm"
75
76SUMMARY_alsa-utils-alsabat = "Command-line sound tester for ALSA sound card driver"
77SUMMARY_alsa-utils-alsatplg = "Converts topology text files into binary format for kernel"
78SUMMARY_alsa-utils-aplay = "Play (and record) sound files using ALSA"
79SUMMARY_alsa-utils-amixer = "Command-line control for ALSA mixer and settings"
80SUMMARY_alsa-utils-alsamixer = "ncurses-based control for ALSA mixer and settings"
81SUMMARY_alsa-utils-speakertest = "ALSA surround speaker test utility"
82SUMMARY_alsa-utils-midi = "Miscellaneous MIDI utilities for ALSA"
83SUMMARY_alsa-utils-aconnect = "ALSA sequencer connection manager"
84SUMMARY_alsa-utils-aseqnet = "Network client/server for ALSA sequencer"
85SUMMARY_alsa-utils-iecset = "ALSA utility for setting/showing IEC958 (S/PDIF) status bits"
86SUMMARY_alsa-utils-alsactl = "Saves/restores ALSA-settings in /etc/asound.state"
87SUMMARY_alsa-utils-aseqdump = "Shows the events received at an ALSA sequencer port"
88SUMMARY_alsa-utils-alsaloop = "ALSA PCM loopback utility"
89SUMMARY_alsa-utils-alsaucm = "ALSA Use Case Manager"
90
91RRECOMMENDS_alsa-utils-alsactl = "alsa-states"
92
93ALLOW_EMPTY_alsa-utils = "1"
94
95do_install() {
96 autotools_do_install
97
98 # We don't ship this here because it requires a dependency on bash.
99 # See alsa-utils-scripts_${PV}.bb
100 rm ${D}${sbindir}/alsaconf
101 rm ${D}${sbindir}/alsa-info.sh
102 rm -f ${D}${sbindir}/alsabat-test.sh
103
104 if ${@bb.utils.contains('PACKAGECONFIG', 'udev', 'false', 'true', d)}; then
105 # This is where alsa-utils will install its rules if we don't tell it anything else.
106 rm -rf ${D}/lib/udev
107 rmdir --ignore-fail-on-non-empty ${D}/lib
108 fi
109}