diff options
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-lib_1.1.8.bb (renamed from meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb) | 6 | ||||
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb | 13 |
2 files changed, 15 insertions, 4 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.1.8.bb index 25e7a3c6b7..76cc9627e5 100644 --- a/meta/recipes-multimedia/alsa/alsa-lib_1.1.6.bb +++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.8.bb | |||
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \ | |||
7 | file://src/socket.c;md5=dd1bc7f44872690224d89c1a9806e495;beginline=1;endline=26 \ | 7 | file://src/socket.c;md5=dd1bc7f44872690224d89c1a9806e495;beginline=1;endline=26 \ |
8 | " | 8 | " |
9 | 9 | ||
10 | SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2" | 10 | SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2" |
11 | SRC_URI[md5sum] = "2f981a8f7897c59ec2ddc44916d33788" | 11 | SRC_URI[md5sum] = "0eec0d657a07927795809c8f87fb76ca" |
12 | SRC_URI[sha256sum] = "5f2cd274b272cae0d0d111e8a9e363f08783329157e8dd68b3de0c096de6d724" | 12 | SRC_URI[sha256sum] = "3cdc3a93a6427a26d8efab4ada2152e64dd89140d981f6ffa003e85be707aedf" |
13 | 13 | ||
14 | inherit autotools pkgconfig | 14 | inherit autotools pkgconfig |
15 | 15 | ||
diff --git a/meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb b/meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb index 7ede8be98a..ee06191ea9 100644 --- a/meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb +++ b/meta/recipes-multimedia/alsa/alsa-plugins_1.1.6.bb | |||
@@ -47,14 +47,23 @@ PACKAGES_DYNAMIC = "^libasound-module-.*" | |||
47 | 47 | ||
48 | # The alsa-plugins package doesn't itself contain anything, it just depends on | 48 | # The alsa-plugins package doesn't itself contain anything, it just depends on |
49 | # all built plugins. | 49 | # all built plugins. |
50 | FILES_${PN} = "" | ||
50 | ALLOW_EMPTY_${PN} = "1" | 51 | ALLOW_EMPTY_${PN} = "1" |
51 | 52 | ||
52 | do_install_append() { | 53 | do_install_append() { |
53 | rm ${D}${libdir}/alsa-lib/*.la | 54 | rm ${D}${libdir}/alsa-lib/*.la |
54 | 55 | ||
55 | # We use the example as is, so just drop the .example suffix. | ||
56 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)}" = "yes" ]; then | 56 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)}" = "yes" ]; then |
57 | # We use the example as is, so just drop the .example suffix. | ||
57 | mv ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf | 58 | mv ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf |
59 | |||
60 | # The conf.d files are installed in datadir, but alsa-lib | ||
61 | # searches for conf.d files only in sysconfdir. Distributions | ||
62 | # are expected to create symlinks in sysconfdir, so that's what | ||
63 | # we do here. | ||
64 | mkdir -p ${D}${sysconfdir}/alsa/conf.d | ||
65 | ln -s ${datadir}/alsa/alsa.conf.d/50-pulseaudio.conf ${D}${sysconfdir}/alsa/conf.d/50-pulseaudio.conf | ||
66 | ln -s ${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf ${D}${sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf | ||
58 | fi | 67 | fi |
59 | } | 68 | } |
60 | 69 | ||
@@ -94,6 +103,8 @@ INSANE_SKIP_${MLPREFIX}libasound-module-rate-speexrate = "dev-so" | |||
94 | FILES_${PN}-pulseaudio-conf += "\ | 103 | FILES_${PN}-pulseaudio-conf += "\ |
95 | ${datadir}/alsa/alsa.conf.d/50-pulseaudio.conf \ | 104 | ${datadir}/alsa/alsa.conf.d/50-pulseaudio.conf \ |
96 | ${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf \ | 105 | ${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf \ |
106 | ${sysconfdir}/alsa/conf.d/50-pulseaudio.conf \ | ||
107 | ${sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf \ | ||
97 | " | 108 | " |
98 | 109 | ||
99 | RDEPENDS_${PN}-pulseaudio-conf += "\ | 110 | RDEPENDS_${PN}-pulseaudio-conf += "\ |