summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/alsa-utils_1.0.28.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-utils_1.0.28.bb')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-utils_1.0.28.bb94
1 files changed, 94 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.0.28.bb b/meta/recipes-multimedia/alsa/alsa-utils_1.0.28.bb
new file mode 100644
index 0000000000..2d23482c16
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-utils_1.0.28.bb
@@ -0,0 +1,94 @@
1SUMMARY = "ALSA sound utilities"
2HOMEPAGE = "http://www.alsa-project.org"
3BUGTRACKER = "https://bugtrack.alsa-project.org/alsa-bug/login_page.php"
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 udev"
9
10PACKAGECONFIG ??= "udev"
11PACKAGECONFIG[udev] = "--with-udev-rules-dir=`pkg-config --variable=udevdir udev`/rules.d,,udev"
12PACKAGECONFIG[xmlto] = "--enable-xmlto, --disable-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
13
14SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \
15 file://0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch \
16 "
17
18SRC_URI[md5sum] = "361552d5b1cacd0a1e7ba09e69990211"
19SRC_URI[sha256sum] = "f3ff4c89b0125a7797b1b13cd094cc92276e655458274967386e812d03642acc"
20
21# lazy hack. needs proper fixing in gettext.m4, see
22# http://bugs.openembedded.org/show_bug.cgi?id=2348
23# please close bug and remove this comment when properly fixed
24#
25EXTRA_OECONF_append_libc-uclibc = " --disable-nls"
26
27inherit autotools-brokensep gettext pkgconfig
28
29# This are all packages that we need to make. Also, the now empty alsa-utils
30# ipk depends on them.
31
32ALSA_UTILS_PKGS = "\
33 alsa-utils-alsamixer \
34 alsa-utils-midi \
35 alsa-utils-aplay \
36 alsa-utils-amixer \
37 alsa-utils-aconnect \
38 alsa-utils-iecset \
39 alsa-utils-speakertest \
40 alsa-utils-aseqnet \
41 alsa-utils-aseqdump \
42 alsa-utils-alsactl \
43 alsa-utils-alsaloop \
44 alsa-utils-alsaucm \
45 "
46
47PACKAGES += "${ALSA_UTILS_PKGS}"
48RDEPENDS_${PN} += "${ALSA_UTILS_PKGS}"
49
50FILES_${PN} = ""
51FILES_alsa-utils-aplay = "${bindir}/aplay ${bindir}/arecord"
52FILES_alsa-utils-amixer = "${bindir}/amixer"
53FILES_alsa-utils-alsamixer = "${bindir}/alsamixer"
54FILES_alsa-utils-speakertest = "${bindir}/speaker-test ${datadir}/sounds/alsa/ ${datadir}/alsa/speaker-test/"
55FILES_alsa-utils-midi = "${bindir}/aplaymidi ${bindir}/arecordmidi ${bindir}/amidi"
56FILES_alsa-utils-aconnect = "${bindir}/aconnect"
57FILES_alsa-utils-aseqnet = "${bindir}/aseqnet"
58FILES_alsa-utils-iecset = "${bindir}/iecset"
59FILES_alsa-utils-alsactl = "${sbindir}/alsactl */udev/rules.d ${systemd_unitdir} ${localstatedir}/lib/alsa ${datadir}/alsa/init/"
60FILES_alsa-utils-aseqdump = "${bindir}/aseqdump"
61FILES_alsa-utils-alsaloop = "${bindir}/alsaloop"
62FILES_alsa-utils-alsaucm = "${bindir}/alsaucm"
63
64
65SUMMARY_alsa-utils-aplay = "Play (and record) sound files using ALSA"
66SUMMARY_alsa-utils-amixer = "Command-line control for ALSA mixer and settings"
67SUMMARY_alsa-utils-alsamixer = "ncurses-based control for ALSA mixer and settings"
68SUMMARY_alsa-utils-speakertest = "ALSA surround speaker test utility"
69SUMMARY_alsa-utils-midi = "Miscellaneous MIDI utilities for ALSA"
70SUMMARY_alsa-utils-aconnect = "ALSA sequencer connection manager"
71SUMMARY_alsa-utils-aseqnet = "Network client/server for ALSA sequencer"
72SUMMARY_alsa-utils-iecset = "ALSA utility for setting/showing IEC958 (S/PDIF) status bits"
73SUMMARY_alsa-utils-alsactl = "Saves/restores ALSA-settings in /etc/asound.state"
74SUMMARY_alsa-utils-aseqdump = "Shows the events received at an ALSA sequencer port"
75SUMMARY_alsa-utils-alsaloop = "ALSA PCM loopback utility"
76SUMMARY_alsa-utils-alsaucm = "ALSA Use Case Manager"
77
78RRECOMMENDS_alsa-utils-alsactl = "alsa-states"
79
80ALLOW_EMPTY_alsa-utils = "1"
81
82do_install() {
83 autotools_do_install
84
85 # We don't ship this here because it requires a dependency on bash.
86 # See alsa-utils-alsaconf_${PV}.bb
87 rm ${D}${sbindir}/alsaconf
88
89 if ${@bb.utils.contains('PACKAGECONFIG', 'udev', 'false', 'true', d)}; then
90 # This is where alsa-utils will install its rules if we don't tell it anything else.
91 rm -rf ${D}/lib/udev
92 rmdir --ignore-fail-on-non-empty ${D}/lib
93 fi
94}