The point of the virtual-x-terminal-emulator alternative was to provide
a single binary that executes whatever terminal has been installed. This
is a runtime choice, so should be RPROVIDES.
This doesn't need built-time PROVIDES, which actively get in the way
when multiple recipes are being built with the same PROVIDES.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
inherit autotools pkgconfig update-alternatives
-PROVIDES = "virtual/x-terminal-emulator"
+RPROVIDES:${PN} = "virtual-x-terminal-emulator"
ALTERNATIVE:${PN} = "x-terminal-emulator"
ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/rxvt"