diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2021-01-07 03:54:17 +0300 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-01-18 08:40:40 -0800 |
commit | 8a87397cd740b0075047d0b03e751c076a1e05bf (patch) | |
tree | da51a7e78fba56fcd9a90bd1175116e1b79b4c53 | |
parent | 5bba79488b7d393d2258d6e917f7bf7b0d7c4073 (diff) | |
download | meta-openembedded-8a87397cd740b0075047d0b03e751c076a1e05bf.tar.gz |
xterm: install xterm and uxterm desktop files
Modify recipe to install application desktop files for xterm.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 593f21eda5b119f6408975c6b15e94fb168cc9dc)
(cherry picked from commit a653238398d483c805c3d026d890162f131ecc01)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-oe/recipes-graphics/xorg-app/xterm_353.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/xorg-app/xterm_353.bb b/meta-oe/recipes-graphics/xorg-app/xterm_353.bb index 6de704d0b7..6376388c27 100644 --- a/meta-oe/recipes-graphics/xorg-app/xterm_353.bb +++ b/meta-oe/recipes-graphics/xorg-app/xterm_353.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require recipes-graphics/xorg-app/xorg-app-common.inc | 1 | require recipes-graphics/xorg-app/xorg-app-common.inc |
2 | SUMMARY = "xterm is the standard terminal emulator for the X Window System" | 2 | SUMMARY = "xterm is the standard terminal emulator for the X Window System" |
3 | DEPENDS = "libxaw xorgproto libxext libxau libxinerama libxpm ncurses" | 3 | DEPENDS = "libxaw xorgproto libxext libxau libxinerama libxpm ncurses desktop-file-utils-native" |
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=996b1ce0584c0747b17b57654cc81e8e" | 5 | LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=996b1ce0584c0747b17b57654cc81e8e" |
6 | 6 | ||
@@ -13,6 +13,9 @@ SRC_URI[sha256sum] = "e521d3ee9def61f5d5c911afc74dd5c3a56ce147c7071c74023ea24cac | |||
13 | PACKAGECONFIG ?= "" | 13 | PACKAGECONFIG ?= "" |
14 | PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native" | 14 | PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native" |
15 | 15 | ||
16 | # Let xterm install .desktop files | ||
17 | inherit mime-xdg | ||
18 | |||
16 | EXTRA_OECONF = " --x-includes=${STAGING_INCDIR} \ | 19 | EXTRA_OECONF = " --x-includes=${STAGING_INCDIR} \ |
17 | --x-libraries=${STAGING_LIBDIR} \ | 20 | --x-libraries=${STAGING_LIBDIR} \ |
18 | FREETYPE_CONFIG=${STAGING_BINDIR_CROSS}/freetype-config \ | 21 | FREETYPE_CONFIG=${STAGING_BINDIR_CROSS}/freetype-config \ |
@@ -30,6 +33,10 @@ do_configure() { | |||
30 | oe_runconf | 33 | oe_runconf |
31 | } | 34 | } |
32 | 35 | ||
36 | do_install_append() { | ||
37 | oe_runmake install-desktop DESTDIR="${D}" DESKTOP_FLAGS="--dir=${D}${DESKTOPDIR}" | ||
38 | } | ||
39 | |||
33 | # busybox can supply resize too | 40 | # busybox can supply resize too |
34 | inherit update-alternatives | 41 | inherit update-alternatives |
35 | 42 | ||