mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
ktexteditor: bump version
This commit is contained in:
@@ -7,13 +7,12 @@ The text editor component contains many useful features, from syntax \
|
||||
highlighting and automatic indentation to advanced scripting support, \
|
||||
making it suitable for everything from a simple embedded text-file editor \
|
||||
to an advanced IDE."
|
||||
HOMEPAGE="https://github.com/KDE/ktexteditor/"
|
||||
COPYRIGHT="2010-2022 KDE Organisation"
|
||||
HOMEPAGE="https://invent.kde.org/frameworks/ktexteditor/"
|
||||
COPYRIGHT="2010-2024 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://github.com/KDE/ktexteditor/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="52fa065bab92a3031bf8eb6f77f4aa84626d6b51446776760e0442cd5e176816"
|
||||
PATCHES="ktexteditor-$portVersion.patchset"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/ktexteditor-${portVersion}.tar.xz"
|
||||
CHECKSUM_SHA256="94f67cd787271adbbff7c98683807119c4624533cd83076c777a01c7efe2b6c3"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -108,7 +107,7 @@ BUILD_PREREQUIRES="
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix >= 5
|
||||
cmd:make
|
||||
cmd:python2
|
||||
cmd:python3.10
|
||||
"
|
||||
|
||||
PATCH()
|
||||
@@ -126,7 +125,8 @@ BUILD()
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DKAUTH_HELPER_INSTALL_DIR:PATH=$addOnsDir/Qt5/kauth/helper \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DENABLE_KAUTH=OFF
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
From fe7468b9332f2c6a2cbb25b2a4fb16fb8da31ee2 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Mon, 9 May 2022 00:31:53 +1000
|
||||
Subject: Disable kauth helper
|
||||
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 1e1a219..1c15dd9 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -62,10 +62,10 @@ find_package(KF5Sonnet ${KF_DEP_VERSION} REQUIRED)
|
||||
find_package(KF5SyntaxHighlighting ${KF_DEP_VERSION} REQUIRED)
|
||||
find_package(KF5TextWidgets ${KF_DEP_VERSION} REQUIRED)
|
||||
|
||||
-if(NOT WIN32)
|
||||
+if(NOT WIN32 AND NOT HAIKU)
|
||||
find_package(KF5Auth ${KF_DEP_VERSION} REQUIRED)
|
||||
+ set(HAVE_KAUTH ${KF5Auth_FOUND})
|
||||
endif()
|
||||
-set(HAVE_KAUTH ${KF5Auth_FOUND})
|
||||
|
||||
# EditorConfig integration
|
||||
find_package(EditorConfig)
|
||||
--
|
||||
2.30.2
|
||||
|
||||
Reference in New Issue
Block a user