mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
xterm: provide virtual/x-terminal-emulator
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit8826791d79) (cherry picked from commit2ed77abf13) Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
8a87397cd7
commit
e2e8d4ce79
@@ -37,7 +37,12 @@ do_install_append() {
|
|||||||
oe_runmake install-desktop DESTDIR="${D}" DESKTOP_FLAGS="--dir=${D}${DESKTOPDIR}"
|
oe_runmake install-desktop DESTDIR="${D}" DESKTOP_FLAGS="--dir=${D}${DESKTOPDIR}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RPROVIDES_${PN} = "virtual/x-terminal-emulator"
|
||||||
|
|
||||||
# busybox can supply resize too
|
# busybox can supply resize too
|
||||||
inherit update-alternatives
|
inherit update-alternatives
|
||||||
|
|
||||||
ALTERNATIVE_${PN} = "resize"
|
ALTERNATIVE_${PN} = "resize x-terminal-emulator"
|
||||||
|
ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/xterm"
|
||||||
|
# rxvt-unicode defaults to priority 10. Let's be one point lower to let it override xterm.
|
||||||
|
ALTERNATIVE_PRIORITY[x-terminal-emulator] = "9"
|
||||||
|
|||||||
Reference in New Issue
Block a user