summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.26.bb17
-rw-r--r--meta/recipes-multimedia/alsa/alsa-utils_1.0.26.bb12
2 files changed, 25 insertions, 4 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.26.bb b/meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.26.bb
new file mode 100644
index 0000000000..a3fa1d076b
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.26.bb
@@ -0,0 +1,17 @@
1require alsa-utils_${PV}.bb
2
3THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
4FILESPATH =. "${@base_set_filespath(["${THISDIR}/alsa-utils"], d)}:"
5
6PACKAGES = "${PN}"
7RDEPENDS_${PN} += "bash"
8
9DESCRIPTION_${PN} = "a bash script that creates ALSA configuration files"
10FILES_${PN} = "${sbindir}/alsaconf"
11
12S = "${WORKDIR}/alsa-utils-${PV}"
13
14do_install() {
15 install -d ${D}${sbindir}
16 install -m 0755 ${S}/alsaconf/alsaconf ${D}${sbindir}/
17}
diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.0.26.bb b/meta/recipes-multimedia/alsa/alsa-utils_1.0.26.bb
index d566d94d05..e0bf75532c 100644
--- a/meta/recipes-multimedia/alsa/alsa-utils_1.0.26.bb
+++ b/meta/recipes-multimedia/alsa/alsa-utils_1.0.26.bb
@@ -39,7 +39,6 @@ ALSA_UTILS_PKGS = "\
39 alsa-utils-speakertest \ 39 alsa-utils-speakertest \
40 alsa-utils-aseqnet \ 40 alsa-utils-aseqnet \
41 alsa-utils-aseqdump \ 41 alsa-utils-aseqdump \
42 alsa-utils-alsaconf \
43 alsa-utils-alsactl \ 42 alsa-utils-alsactl \
44 alsa-utils-alsaloop \ 43 alsa-utils-alsaloop \
45 alsa-utils-alsaucm \ 44 alsa-utils-alsaucm \
@@ -47,7 +46,6 @@ ALSA_UTILS_PKGS = "\
47 46
48PACKAGES += "${ALSA_UTILS_PKGS}" 47PACKAGES += "${ALSA_UTILS_PKGS}"
49RDEPENDS_${PN} += "${ALSA_UTILS_PKGS}" 48RDEPENDS_${PN} += "${ALSA_UTILS_PKGS}"
50RDEPENDS_alsa-utils-alsaconf += "bash"
51 49
52FILES_${PN} = "" 50FILES_${PN} = ""
53FILES_alsa-utils-aplay = "${bindir}/aplay ${bindir}/arecord" 51FILES_alsa-utils-aplay = "${bindir}/aplay ${bindir}/arecord"
@@ -60,7 +58,6 @@ FILES_alsa-utils-aseqnet = "${bindir}/aseqnet"
60FILES_alsa-utils-iecset = "${bindir}/iecset" 58FILES_alsa-utils-iecset = "${bindir}/iecset"
61FILES_alsa-utils-alsactl = "${sbindir}/alsactl */udev/rules.d ${systemd_unitdir} ${localstatedir}/lib/alsa ${datadir}/alsa/init/" 59FILES_alsa-utils-alsactl = "${sbindir}/alsactl */udev/rules.d ${systemd_unitdir} ${localstatedir}/lib/alsa ${datadir}/alsa/init/"
62FILES_alsa-utils-aseqdump = "${bindir}/aseqdump" 60FILES_alsa-utils-aseqdump = "${bindir}/aseqdump"
63FILES_alsa-utils-alsaconf = "${sbindir}/alsaconf"
64FILES_alsa-utils-alsaloop = "${bindir}/alsaloop" 61FILES_alsa-utils-alsaloop = "${bindir}/alsaloop"
65FILES_alsa-utils-alsaucm = "${bindir}/alsaucm" 62FILES_alsa-utils-alsaucm = "${bindir}/alsaucm"
66 63
@@ -73,9 +70,16 @@ DESCRIPTION_alsa-utils-midi = "miscalleanous MIDI utilities for ALSA"
73DESCRIPTION_alsa-utils-aconnect = "ALSA sequencer connection manager" 70DESCRIPTION_alsa-utils-aconnect = "ALSA sequencer connection manager"
74DESCRIPTION_alsa-utils-aseqnet = "network client/server on ALSA sequencer" 71DESCRIPTION_alsa-utils-aseqnet = "network client/server on ALSA sequencer"
75DESCRIPTION_alsa-utils-alsactl = "saves/restores ALSA-settings in /etc/asound.state" 72DESCRIPTION_alsa-utils-alsactl = "saves/restores ALSA-settings in /etc/asound.state"
76DESCRIPTION_alsa-utils-alsaconf = "a bash script that creates ALSA configuration files"
77DESCRIPTION_alsa-utils-alsaucm = "ALSA Use Case Manager" 73DESCRIPTION_alsa-utils-alsaucm = "ALSA Use Case Manager"
78 74
79RRECOMMENDS_alsa-utils-alsactl = "alsa-states" 75RRECOMMENDS_alsa-utils-alsactl = "alsa-states"
80 76
81ALLOW_EMPTY_alsa-utils = "1" 77ALLOW_EMPTY_alsa-utils = "1"
78
79do_install() {
80 autotools_do_install
81
82 # We don't ship this here because it requires a dependency on bash.
83 # See alsa-utils-alsaconf_${PV}.bb
84 rm ${D}${sbindir}/alsaconf
85}