summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2018-08-07 08:40:04 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-29 15:23:50 +0100
commitb9681288589165c7d7356638dbd0d1cc8c9adf42 (patch)
treeb2a1cb722f195dc6a519c2494f0ed85ccd962bbe /meta/recipes-multimedia
parent7b10c902cbd32a0a1b8fbe7747cee89b78584fb3 (diff)
downloadpoky-b9681288589165c7d7356638dbd0d1cc8c9adf42.tar.gz
alsa-lib: Cleanup packaging
Cleans up the packaging by moving libasound.so.2 back into the alsa-lib package which was previously empty. Previously, it was difficult to create an image that had libasound.so.2, then create an SDK from that image that had the proper development files, because the only way to get libasound.so.2 was to do: IMAGE_INSTALL += "libasound" This however caused a problem because all of the development files that would be desired in the SDK were located in alsa-lib-dev, which wouldn't be included because alsa-lib wasn't included, and it was impossible to include alsa-lib because it was an empty package that was culled. (From OE-Core rev: 6c3438a62d10f155cd6a391bdb2f1939fc4774ec) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 30352f3d84344bff8c06625f9674947417f6e8e1) Change-Id: I2fb065b7e00569ba3a6aac631ac863999455bfb2 Signed-off-by: Armin Kuster <akuster808@gmail.com> 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.5.bb13
1 files changed, 6 insertions, 7 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb
index c5bf107e5e..0f1e2db8d7 100644
--- a/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb
+++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb
@@ -19,18 +19,17 @@ EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} "
19 19
20EXTRA_OECONF += "--disable-python" 20EXTRA_OECONF += "--disable-python"
21 21
22PACKAGES =+ "alsa-server libasound alsa-conf alsa-doc" 22PACKAGES =+ "alsa-server alsa-conf alsa-doc"
23FILES_libasound = "${libdir}/libasound.so.*"
24FILES_alsa-server = "${bindir}/*" 23FILES_alsa-server = "${bindir}/*"
25FILES_alsa-conf = "${datadir}/alsa/" 24FILES_alsa-conf = "${datadir}/alsa/"
26 25
27RDEPENDS_libasound = "alsa-conf" 26RDEPENDS_${PN}_class-target = "alsa-conf"
28
29# alsa-lib gets automatically added to alsa-lib-dev dependencies, but the
30# alsa-lib package doesn't exist. libasound is the real library package.
31RDEPENDS_${PN}-dev = "libasound"
32 27
33# upgrade path 28# upgrade path
29RPROVIDES_${PN} = "libasound"
30RREPLACES_${PN} = "libasound"
31RCONFLICTS_${PN} = "libasound"
32
34RPROVIDES_${PN}-dev = "alsa-dev" 33RPROVIDES_${PN}-dev = "alsa-dev"
35RREPLACES_${PN}-dev = "alsa-dev" 34RREPLACES_${PN}-dev = "alsa-dev"
36RCONFLICTS_${PN}-dev = "alsa-dev" 35RCONFLICTS_${PN}-dev = "alsa-dev"