summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 16:52:08 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:18:40 +0100
commitd0c82d1f45ff7a0a25bcee1b7676b70c29b580b6 (patch)
treeeb9e76a61ffe49e5aedcf0094848800eec61cf6e
parent46ce038d6c06eac7f34023b47bc80ef4ce61fb67 (diff)
downloadopenembedded-core-d0c82d1f45ff7a0a25bcee1b7676b70c29b580b6.tar.gz
openembedded-core-d0c82d1f45ff7a0a25bcee1b7676b70c29b580b6.tar.bz2
openembedded-core-d0c82d1f45ff7a0a25bcee1b7676b70c29b580b6.zip
metacity: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-gnome/gnome/metacity_2.30.3.bb7
1 files changed, 3 insertions, 4 deletions
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 \