mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 23:18:58 +02:00
Kate, keep Deskbar shortcut in main menu (#11537)
This commit is contained in:
@@ -59,7 +59,7 @@ Backup and Restore
|
|||||||
HOMEPAGE="https://kate-editor.org/"
|
HOMEPAGE="https://kate-editor.org/"
|
||||||
COPYRIGHT="2010-2024 KDE Organisation"
|
COPYRIGHT="2010-2024 KDE Organisation"
|
||||||
LICENSE="GNU LGPL v2"
|
LICENSE="GNU LGPL v2"
|
||||||
REVISION="1"
|
REVISION=""
|
||||||
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kate-$portVersion.tar.xz"
|
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kate-$portVersion.tar.xz"
|
||||||
CHECKSUM_SHA256="a5926a0d85c69ca2cc34d87e567501e795e95050e16f896e39cd8cac4ced2348"
|
CHECKSUM_SHA256="a5926a0d85c69ca2cc34d87e567501e795e95050e16f896e39cd8cac4ced2348"
|
||||||
PATCHES="kate-$portVersion.patchset"
|
PATCHES="kate-$portVersion.patchset"
|
||||||
@@ -154,8 +154,6 @@ INSTALL()
|
|||||||
rm -rf $binDir/kwrite
|
rm -rf $binDir/kwrite
|
||||||
find $dataDir/locale -type f -name 'kwrite.mo' -delete
|
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 APP_SIGNATURE="application/x-vnd.Qt6-kate"
|
||||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||||
@@ -170,7 +168,7 @@ INSTALL()
|
|||||||
$portDir/additional-files/kate.rdef.in > kate.rdef
|
$portDir/additional-files/kate.rdef.in > kate.rdef
|
||||||
|
|
||||||
addResourcesToBinaries kate.rdef $binDir/kate
|
addResourcesToBinaries kate.rdef $binDir/kate
|
||||||
addAppDeskbarSymlink $binDir/kate "KDE/Kate"
|
addAppDeskbarSymlink $binDir/kate Kate
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST()
|
TEST()
|
||||||
|
|||||||
Reference in New Issue
Block a user