354.13. kmenuedit-6.8.2
KDE menu editor — edits the application launcher's menu entries, categories and shortcuts
6.8.2-1 · GPL-2.0-or-later AND CC0-1.0 AND GPL-2.0-only · 1.0 SBU · 619.4 KiB, 23 files · 50_desktop, 36 of 92 · ports/core/kde/kmenuedit
Homepage: https://invent.kde.org/plasma/kmenuedit
KMenuEdit edits the application menu that Kickoff, KRunner and the other launchers show: it adds, hides and moves entries and categories and gives an entry a global shortcut. It writes the user’s changes as a menu file and desktop entries under ~/.config/menus and ~/.local/share/applications, named for the session’s XDG_MENU_PREFIX, which plasma-workspace’s startplasma-wayland sets to plasma-; the system menu it starts from is /etc/xdg/menus/plasma-applications.menu.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcrash, kdbusaddons, kdoctools, kglobalaccel, ki18n, kiconthemes, kio, kitemviews, sonnet, kwindowsystem, kxmlgui.
Required by (1): kde-plasma.
Sources: kmenuedit-6.8.2.tar.xz (868.0 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/50_desktop/phase.env && kpkg install kmenuedit'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D BUILD_TESTING=OFF \
-D KF_SKIP_PO_PROCESSING=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Compile none of the interface translation catalogues inpo/. kpkg removes every non-English catalogue from the package anyway (see size and language policy), so this only saves build time.-Wno-dev— Silences CMake’s warnings meant for the project’s own developers.
Programs: kmenuedit.
Directories: /usr/share/doc/HTML/en/kmenuedit, /usr/share/kmenuedit, /usr/share/licenses/kmenuedit.
The handbook is built by default and makes kdoctools a requirement of the configure.