mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
komodo, bump to version 1.6.0 (#13972)
This commit is contained in:
@@ -5,7 +5,6 @@ and turns them into easy to use list of tasks.
|
||||
KomoDo has built-in help for the todo.txt specification, so it's suitable for newcomers too!
|
||||
|
||||
Features:
|
||||
|
||||
* Open and create new todo.txt files
|
||||
* Add, delete and edit tasks
|
||||
* Filter and search tasks"
|
||||
@@ -15,7 +14,7 @@ COPYRIGHT="2010-2025 KDE Organisation
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/komodo/$portVersion/komodo-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="0831ac4a43ea292653105541e1db2d98346e94f3eb2aae5a365375de798377bc"
|
||||
CHECKSUM_SHA256="c7a6321f0faadcf230df361beaac2e8b2e161b1d47d170b2036617581909089a"
|
||||
ADDITIONAL_FILES="komodo.rdef.in"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -23,9 +22,9 @@ SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
komodo$secondaryArchSuffix = $portVersion
|
||||
app:Komodo = $portVersion
|
||||
devel:libkomodo_modelsplugin$secondaryArchSuffix = $portVersion
|
||||
devel:libkomodo_uiplugin$secondaryArchSuffix = $portVersion
|
||||
app:KomoDo = $portVersion
|
||||
lib:libkomodo_models$secondaryArchSuffix = $portVersion
|
||||
lib:libkomodo_ui$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -38,6 +37,7 @@ REQUIRES="
|
||||
lib:libKF6CoreAddons$secondaryArchSuffix
|
||||
lib:libKF6GuiAddons$secondaryArchSuffix
|
||||
lib:libKF6I18n$secondaryArchSuffix
|
||||
lib:libKF6IconThemes$secondaryArchSuffix
|
||||
lib:libKF6WindowSystem$secondaryArchSuffix
|
||||
lib:libKirigami$secondaryArchSuffix
|
||||
# Qt6
|
||||
@@ -61,6 +61,7 @@ BUILD_REQUIRES="
|
||||
devel:libKF6CoreAddons$secondaryArchSuffix
|
||||
devel:libKF6GuiAddons$secondaryArchSuffix
|
||||
devel:libKF6I18n$secondaryArchSuffix
|
||||
devel:libKF6IconThemes$secondaryArchSuffix
|
||||
devel:libKF6ItemModels$secondaryArchSuffix
|
||||
devel:libKF6WindowSystem$secondaryArchSuffix
|
||||
devel:libKirigami$secondaryArchSuffix
|
||||
@@ -81,6 +82,12 @@ TEST_REQUIRES="
|
||||
haikuplugins$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
# use Haiku's icon theme
|
||||
sed -e 's,\ KIconTheme::initTheme();,\// KIconTheme::initTheme();,g' -i src/main.cpp
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
|
||||
@@ -106,12 +113,12 @@ INSTALL()
|
||||
# cleanup
|
||||
rm -rf $dataDir/{applications,metainfo}
|
||||
|
||||
mv $appsDir/komodo $appsDir/Komodo
|
||||
mv $appsDir/komodo $appsDir/KomoDo
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="0"
|
||||
local APP_NAME="Komodo"
|
||||
local APP_NAME="KomoDo"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
local APP_SIGNATURE="application/x-vnd.kde-komodo"
|
||||
sed \
|
||||
@@ -123,13 +130,9 @@ INSTALL()
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
$portDir/additional-files/komodo.rdef.in > komodo.rdef
|
||||
|
||||
addResourcesToBinaries komodo.rdef $appsDir/Komodo
|
||||
addResourcesToBinaries komodo.rdef $appsDir/KomoDo
|
||||
|
||||
addAppDeskbarSymlink $appsDir/Komodo
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libkomodo_modelsplugin \
|
||||
libkomodo_uiplugin
|
||||
addAppDeskbarSymlink $appsDir/KomoDo
|
||||
}
|
||||
|
||||
TEST()
|
||||
Reference in New Issue
Block a user