Kate, keep Deskbar shortcut in main menu (#11537)

This commit is contained in:
Schrijvers Luc
2024-12-27 09:33:36 +01:00
committed by GitHub
parent dbc553064c
commit f9209409a9

View File

@@ -59,7 +59,7 @@ Backup and Restore
HOMEPAGE="https://kate-editor.org/"
COPYRIGHT="2010-2024 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
REVISION=""
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kate-$portVersion.tar.xz"
CHECKSUM_SHA256="a5926a0d85c69ca2cc34d87e567501e795e95050e16f896e39cd8cac4ced2348"
PATCHES="kate-$portVersion.patchset"
@@ -154,8 +154,6 @@ INSTALL()
rm -rf $binDir/kwrite
find $dataDir/locale -type f -name 'kwrite.mo' -delete
mkdir -p "$dataDir/deskbar/menu/Applications/KDE"
local APP_SIGNATURE="application/x-vnd.Qt6-kate"
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
@@ -170,7 +168,7 @@ INSTALL()
$portDir/additional-files/kate.rdef.in > kate.rdef
addResourcesToBinaries kate.rdef $binDir/kate
addAppDeskbarSymlink $binDir/kate "KDE/Kate"
addAppDeskbarSymlink $binDir/kate Kate
}
TEST()