From 6f8d256ca710420553ec68ddcf2fc7d98f63aea0 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 18 Jul 2012 11:57:49 +0200 Subject: e-wm: use new update-alternatives syntax * fixes warning WARNING: e-wm: Use of ALTERNATIVE_NAME is deprecated, see update-alternatives.bbclass for more info. Signed-off-by: Martin Jansa --- meta-efl/recipes-efl/e17/e-wm_svn.bb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/meta-efl/recipes-efl/e17/e-wm_svn.bb b/meta-efl/recipes-efl/e17/e-wm_svn.bb index 852bbcc595..6f5fab1410 100644 --- a/meta-efl/recipes-efl/e17/e-wm_svn.bb +++ b/meta-efl/recipes-efl/e17/e-wm_svn.bb @@ -4,7 +4,7 @@ LICENSE = "MIT BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=2667a0f4120372ea91f7467cdff4095f" SRCNAME = "e" PV = "0.16.999.060+svnr${SRCPV}" -PR = "r1" +PR = "r2" SRCREV = "${EFL_SRCREV}" inherit e update-alternatives gettext @@ -182,7 +182,6 @@ FILES_${PN}-doc += "\ CONFFILES_${PN}-menu = "${sysconfdir}/xdg/menus/applications.menu" CONFFILES_${PN}-sysactions = "/etc/enlightenment/sysactions.conf" -ALTERNATIVE_PATH = "${bindir}/enlightenment_start.oe" -ALTERNATIVE_NAME = "x-window-manager" -ALTERNATIVE_LINK = "${bindir}/x-window-manager" -ALTERNATIVE_PRIORITY = "16" +ALTERNATIVE_${PN} = "x-window-manager" +ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/enlightenment_start.oe" +ALTERNATIVE_PRIORITY[x-window-manager] = "16" -- cgit v1.2.3-54-g00ecf