x11-wm/herbstluftwm: install desktop file

Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Florian Schmaus
2023-01-31 12:18:13 +01:00
parent 343be8f19a
commit f3f73d1bfa

View File

@@ -6,7 +6,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_OPTIONAL=1
inherit cmake distutils-r1
inherit cmake desktop distutils-r1
DESCRIPTION="A manual tiling window manager for X"
HOMEPAGE="https://herbstluftwm.org/"
@@ -123,6 +123,11 @@ src_install() {
doman "doc/${man_page}"
done
fi
# Do not only install the herbstluftwm.desktop file in xsessions/ but
# also in applications/. This allows herbstluftwm to be used as
# window manager of a Gnome flashback session.
domenu "${ED}"/usr/share/xsessions/herbstluftwm.desktop
}
distutils_enable_tests pytest