diff options
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.bb | 94 |
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 @@ | |||
1 | SUMMARY = "ALSA sound utilities" | ||
2 | HOMEPAGE = "http://www.alsa-project.org" | ||
3 | BUGTRACKER = "https://bugtrack.alsa-project.org/alsa-bug/login_page.php" | ||
4 | SECTION = "console/utils" | ||
5 | LICENSE = "GPLv2+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | ||
7 | file://alsactl/utils.c;beginline=1;endline=20;md5=fe9526b055e246b5558809a5ae25c0b9" | ||
8 | DEPENDS = "alsa-lib ncurses libsamplerate0 udev" | ||
9 | |||
10 | PACKAGECONFIG ??= "udev" | ||
11 | PACKAGECONFIG[udev] = "--with-udev-rules-dir=`pkg-config --variable=udevdir udev`/rules.d,,udev" | ||
12 | PACKAGECONFIG[xmlto] = "--enable-xmlto, --disable-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" | ||
13 | |||
14 | SRC_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 | |||
18 | SRC_URI[md5sum] = "361552d5b1cacd0a1e7ba09e69990211" | ||
19 | SRC_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 | # | ||
25 | EXTRA_OECONF_append_libc-uclibc = " --disable-nls" | ||
26 | |||
27 | inherit 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 | |||
32 | ALSA_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 | |||
47 | PACKAGES += "${ALSA_UTILS_PKGS}" | ||
48 | RDEPENDS_${PN} += "${ALSA_UTILS_PKGS}" | ||
49 | |||
50 | FILES_${PN} = "" | ||
51 | FILES_alsa-utils-aplay = "${bindir}/aplay ${bindir}/arecord" | ||
52 | FILES_alsa-utils-amixer = "${bindir}/amixer" | ||
53 | FILES_alsa-utils-alsamixer = "${bindir}/alsamixer" | ||
54 | FILES_alsa-utils-speakertest = "${bindir}/speaker-test ${datadir}/sounds/alsa/ ${datadir}/alsa/speaker-test/" | ||
55 | FILES_alsa-utils-midi = "${bindir}/aplaymidi ${bindir}/arecordmidi ${bindir}/amidi" | ||
56 | FILES_alsa-utils-aconnect = "${bindir}/aconnect" | ||
57 | FILES_alsa-utils-aseqnet = "${bindir}/aseqnet" | ||
58 | FILES_alsa-utils-iecset = "${bindir}/iecset" | ||
59 | FILES_alsa-utils-alsactl = "${sbindir}/alsactl */udev/rules.d ${systemd_unitdir} ${localstatedir}/lib/alsa ${datadir}/alsa/init/" | ||
60 | FILES_alsa-utils-aseqdump = "${bindir}/aseqdump" | ||
61 | FILES_alsa-utils-alsaloop = "${bindir}/alsaloop" | ||
62 | FILES_alsa-utils-alsaucm = "${bindir}/alsaucm" | ||
63 | |||
64 | |||
65 | SUMMARY_alsa-utils-aplay = "Play (and record) sound files using ALSA" | ||
66 | SUMMARY_alsa-utils-amixer = "Command-line control for ALSA mixer and settings" | ||
67 | SUMMARY_alsa-utils-alsamixer = "ncurses-based control for ALSA mixer and settings" | ||
68 | SUMMARY_alsa-utils-speakertest = "ALSA surround speaker test utility" | ||
69 | SUMMARY_alsa-utils-midi = "Miscellaneous MIDI utilities for ALSA" | ||
70 | SUMMARY_alsa-utils-aconnect = "ALSA sequencer connection manager" | ||
71 | SUMMARY_alsa-utils-aseqnet = "Network client/server for ALSA sequencer" | ||
72 | SUMMARY_alsa-utils-iecset = "ALSA utility for setting/showing IEC958 (S/PDIF) status bits" | ||
73 | SUMMARY_alsa-utils-alsactl = "Saves/restores ALSA-settings in /etc/asound.state" | ||
74 | SUMMARY_alsa-utils-aseqdump = "Shows the events received at an ALSA sequencer port" | ||
75 | SUMMARY_alsa-utils-alsaloop = "ALSA PCM loopback utility" | ||
76 | SUMMARY_alsa-utils-alsaucm = "ALSA Use Case Manager" | ||
77 | |||
78 | RRECOMMENDS_alsa-utils-alsactl = "alsa-states" | ||
79 | |||
80 | ALLOW_EMPTY_alsa-utils = "1" | ||
81 | |||
82 | do_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 | } | ||