diff --git a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb index f91c593f78..c9b01b3cfd 100644 --- a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb +++ b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.2.bb @@ -16,6 +16,11 @@ PV = "0.2+git" S = "${WORKDIR}/git" -inherit autotools pkgconfig features_check +inherit autotools pkgconfig features_check update-alternatives ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" + +RPROVIDES:${PN} = "virtual-x-terminal-emulator" +ALTERNATIVE:${PN} = "x-terminal-emulator" +ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/matchbox-terminal" +ALTERNATIVE_PRIORITY[x-terminal-emulator] = "20"