path: root/meta/recipes-multimedia/alsa
diff options
authorJoshua Watt <>2018-08-03 09:10:30 -0500
committerRichard Purdie <>2018-08-07 12:12:55 +0100
commitc2fc6f87f8bbf4bc28f9adc45f116b2a692ea804 (patch)
tree03aa6e343ecef5f724a4788afd02a6f3d5d0fdbd /meta/recipes-multimedia/alsa
parentc372bb230640e76af13795433adc76f506e12cc6 (diff)
alsa-lib: Cleanup packaging
Cleans up the packaging by moving back into the alsa-lib package which was previously empty. Previously, it was difficult to create an image that had, then create an SDK from that image that had the proper development files, because the only way to get 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. Signed-off-by: Joshua Watt <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/recipes-multimedia/alsa')
1 files changed, 6 insertions, 7 deletions
diff --git a/meta/recipes-multimedia/alsa/ b/meta/recipes-multimedia/alsa/
index 6364e9eafa..25e7a3c6b7 100644
--- a/meta/recipes-multimedia/alsa/
+++ b/meta/recipes-multimedia/alsa/
@@ -18,19 +18,18 @@ EXTRA_OECONF += " \
--disable-python \
-PACKAGES =+ "alsa-server libasound alsa-conf alsa-doc"
+PACKAGES =+ "alsa-server alsa-conf alsa-doc"
-FILES_libasound = "${libdir}/*"
FILES_alsa-server = "${bindir}/*"
FILES_alsa-conf = "${datadir}/alsa/"
-RDEPENDS_libasound = "alsa-conf"
-# alsa-lib gets automatically added to alsa-lib-dev dependencies, but the
-# alsa-lib package doesn't exist. libasound is the real library package.
-RDEPENDS_${PN}-dev = "libasound"
+RDEPENDS_${PN}_class-target = "alsa-conf"
# upgrade path
+RPROVIDES_${PN} = "libasound"
+RREPLACES_${PN} = "libasound"
+RCONFLICTS_${PN} = "libasound"
RPROVIDES_${PN}-dev = "alsa-dev"
RREPLACES_${PN}-dev = "alsa-dev"
RCONFLICTS_${PN}-dev = "alsa-dev"