summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2019-02-21 22:13:03 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-25 10:43:06 +0000
commit51254af4b052464fa0cfb94d8b3d02025ca063dc (patch)
treef47e8e5fd4ed7f818f3efed9d75de2b93f6f00f4 /meta/recipes-multimedia
parentc8a212a65e5bcb0dfb427ad6d531c6e7ee39b4d6 (diff)
downloadpoky-51254af4b052464fa0cfb94d8b3d02025ca063dc.tar.gz
alsa-lib: 1.1.6 -> 1.1.8
Changelogs: http://alsa-project.org/main/index.php/Changes_v1.1.6_v1.1.7 http://alsa-project.org/main/index.php/Changes_v1.1.7_v1.1.8 One significant change was that the search path of add-on configuration files was changed from /usr/share/alsa/alsa.conf.d to /etc/alsa/conf.d. Packages that install such files should still use the /usr/share location, though. Symlinks need to be created from /etc to /usr/share. The rationale for using /etc is that the system administrator can better control the configuration that way, and the rationale for installing files under /usr/share is that configuration snippets that are installed by packages are not meant to be directly edited by the administrator. alsa-plugins had to be modified to add symlinks for the configuration snippets that it installs. I also added FILES_${PN} = "", because the alsa-plugins package is supposed to be empty, but also because for some reason that I don't understand the symlinks would otherwise go to the alsa-plugins package rather than alsa-plugins-pulseaudio-conf. SRC_URI was changed to a more reliable source (at least currently the ftp server is flaky). (From OE-Core rev: 91f506958e4b7e9b8e8f1dcfe4a8aa4bdac7c5d1) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-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.bb13
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
10SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2" 10SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2"
11SRC_URI[md5sum] = "2f981a8f7897c59ec2ddc44916d33788" 11SRC_URI[md5sum] = "0eec0d657a07927795809c8f87fb76ca"
12SRC_URI[sha256sum] = "5f2cd274b272cae0d0d111e8a9e363f08783329157e8dd68b3de0c096de6d724" 12SRC_URI[sha256sum] = "3cdc3a93a6427a26d8efab4ada2152e64dd89140d981f6ffa003e85be707aedf"
13 13
14inherit autotools pkgconfig 14inherit 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.
50FILES_${PN} = ""
50ALLOW_EMPTY_${PN} = "1" 51ALLOW_EMPTY_${PN} = "1"
51 52
52do_install_append() { 53do_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"
94FILES_${PN}-pulseaudio-conf += "\ 103FILES_${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
99RDEPENDS_${PN}-pulseaudio-conf += "\ 110RDEPENDS_${PN}-pulseaudio-conf += "\