Patchwork [v2] alsa-lib: Add upgrade path for alsa-dev

login
register
mail settings
Submitter jackie huang
Date July 30, 2014, 7:19 a.m.
Message ID <1406704742-1594-1-git-send-email-jackie.huang@windriver.com>
Download mbox | patch
Permalink /patch/76907/
State Accepted
Commit 704dd12151adbab5907b6fe65384cff860b6028d
Headers show

Comments

jackie huang - July 30, 2014, 7:19 a.m.
From: Jackie Huang <jackie.huang@windriver.com>

Previous commit removed non PN based -dev packages
but lack of upgrade path for alsa-dev.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb |    4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb
index 9132072..1a48d20 100644
--- a/meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb
+++ b/meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb
@@ -46,3 +46,7 @@  ${datadir}/alsa/pcm/dmix.conf \
 ${datadir}/alsa/pcm/dsnoop.conf"
 
 RDEPENDS_libasound = "alsa-conf-base"
+# upgrade path
+RPROVIDES_${PN}-dev = "alsa-dev"
+RREPLACES_${PN}-dev = "alsa-dev"
+RCONFLICTS_${PN}-dev = "alsa-dev"