summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/matchbox-wm-2/matchbox-wm-2_git.bb
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 16:49:23 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:18:40 +0100
commita19cd0521c181962605250d83327ebeeb7c46366 (patch)
tree2774491f2974f7c7b696ad3dfa66cf5b24aac8a5 /meta/recipes-graphics/matchbox-wm-2/matchbox-wm-2_git.bb
parentc54ae0c71580ae363569fdbcb4d096cc6ea405ed (diff)
downloadopenembedded-core-contrib-a19cd0521c181962605250d83327ebeeb7c46366.tar.gz
matchbox-wm-2: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-graphics/matchbox-wm-2/matchbox-wm-2_git.bb')
-rw-r--r--meta/recipes-graphics/matchbox-wm-2/matchbox-wm-2_git.bb7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-graphics/matchbox-wm-2/matchbox-wm-2_git.bb b/meta/recipes-graphics/matchbox-wm-2/matchbox-wm-2_git.bb
index 8b162be392..7369339899 100644
--- a/meta/recipes-graphics/matchbox-wm-2/matchbox-wm-2_git.bb
+++ b/meta/recipes-graphics/matchbox-wm-2/matchbox-wm-2_git.bb
@@ -7,7 +7,7 @@ DEPENDS = "virtual/libx11 libxext libxrender startup-notification expat gconf pa
SRCREV = "01fa5465743c9ee43d040350f4405d35293e4869"
PV = "0.1+git${SRCPV}"
-PR = "r1"
+PR = "r2"
SRC_URI = "git://git.yoctoproject.org/matchbox-window-manager-2;protocol=git \
file://fix_makefile.patch \
@@ -20,9 +20,8 @@ inherit autotools pkgconfig update-alternatives
# Change this to x-session-manager->matchbox-session and put in
# matchbox-session, then change this to x-window-manager to
# matchbox-window-manager-2.
-ALTERNATIVE_NAME = "x-window-manager"
-ALTERNATIVE_LINK = "${bindir}/x-window-manager"
-ALTERNATIVE_PATH = "${bindir}/matchbox-window-manager"
+ALTERNATIVE_${PN} = "x-window-manager"
+ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/matchbox-window-manager"
ALTERNATIVE_PRIORITY = "10"
PACKAGES =+ "libmatchbox2"