From d0c82d1f45ff7a0a25bcee1b7676b70c29b580b6 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Thu, 26 Jul 2012 16:52:08 -0700 Subject: metacity: cleanup update-alternatives deprecated code Signed-off-by: Saul Wold --- meta/recipes-gnome/gnome/metacity_2.30.3.bb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'meta') diff --git a/meta/recipes-gnome/gnome/metacity_2.30.3.bb b/meta/recipes-gnome/gnome/metacity_2.30.3.bb index 6db19c43ba..3524f0e8d7 100644 --- a/meta/recipes-gnome/gnome/metacity_2.30.3.bb +++ b/meta/recipes-gnome/gnome/metacity_2.30.3.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://src/include/main.h;endline=24;md5=c2242df552c880280315989bab626b90" DEPENDS = "startup-notification gtk+ gconf gdk-pixbuf-native libcanberra gnome-doc-utils" -PR = "r4" +PR = "r5" inherit gnome update-alternatives @@ -13,9 +13,8 @@ SRC_URI += "file://crosscompile.patch" SRC_URI[archive.md5sum] = "553784f376d96b902e19ff437cd5b339" SRC_URI[archive.sha256sum] = "08f887018fa5e447cf184d03bae3fe2c05fdb7583bed6768e3b4d66392fc18dd" -ALTERNATIVE_NAME = "x-window-manager" -ALTERNATIVE_LINK = "${bindir}/x-window-manager" -ALTERNATIVE_PATH = "${bindir}/metacity" +ALTERNATIVE_${PN} = "x-window-manager" +ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/metacity" ALTERNATIVE_PRIORITY = "10" EXTRA_OECONF += "--disable-verbose \ -- cgit v1.2.3