mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
cudatext, bump version (#10305)
Drop requirement for python, this should be found at system level
This commit is contained in:
@@ -1,85 +0,0 @@
|
||||
SUMMARY="The Cross Platform code and text editor"
|
||||
DESCRIPTION="CudaText is a cross-platform text editor, written in Object Pascal.
|
||||
It is open source project and can be used free of charge, even for business.
|
||||
It starts quite fast: ~0.3 sec with ~30 plugins, on Linux on CPU Intel Core i3 3Hz.
|
||||
It is extensible by Python add-ons: plugins, linters, code tree parsers, external tools.
|
||||
Syntax parser is feature-rich, based on EControl engine (though not as fast as in some \
|
||||
competitors).
|
||||
|
||||
Features:
|
||||
* Syntax highlight for lot of languages (250+ lexers).
|
||||
* Code tree: structure of functions/classes/etc, if lexer allows it.
|
||||
* Code folding.
|
||||
* Multi-carets and multi-selections.
|
||||
* Find/Replace with regular expressions.
|
||||
* Configs in JSON format. Including lexer-specific configs.
|
||||
* Tabbed UI.
|
||||
* Split view to primary/secondary. Split window to 2/3/4/6 groups of tabs.
|
||||
* Command palette, with fuzzy matching.
|
||||
* Minimap. Micromap.
|
||||
* Show unprinted whitespace.
|
||||
* Support for many encodings.
|
||||
* Customizable hotkeys.
|
||||
* Binary/Hex viewer for files of unlimited size (can show 10 Gb logs).
|
||||
* Correctly saves binary files."
|
||||
HOMEPAGE="https://cudatext.github.io/
|
||||
https://github.com/Alexey-T/CudaText"
|
||||
COPYRIGHT="2023 Alexey-T"
|
||||
LICENSE="MPL v2.0"
|
||||
REVISION="1"
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
srcGitRev="80d23b8fa740fe759f3bcafea446955ede34263e"
|
||||
SOURCE_URI="https://github.com/Begasus/CudaText-Haikuports/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="5ccaf6fbd0e9a5dd814745d47947bb919c604449e3c919164ccfe850705038c1"
|
||||
SOURCE_DIR="CudaText-Haikuports-$srcGitRev/files/32bit"
|
||||
else
|
||||
srcGitRev="0e2100eb4b2dd90f415a0f2c0c86e50b77a08b03"
|
||||
SOURCE_URI="https://github.com/Begasus/CudaText-Haikuports/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="ef144e562f9d6270d6d470174023781ae11a3f8ffd4ca32bd89093f6eb19013a"
|
||||
SOURCE_DIR="CudaText-Haikuports-$srcGitRev/files/64bit"
|
||||
fi
|
||||
SOURCE_FILENAME="cudatext-$portVersion-$srcGitRev.tar.gz"
|
||||
ADDITIONAL_FILES="CudaText.rdef.in
|
||||
setup-cudatext.sh
|
||||
"
|
||||
|
||||
ARCHITECTURES="!all x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
POST_INSTALL_SCRIPTS="$relativePostInstallDir/setup-cudatext.sh"
|
||||
|
||||
PROVIDES="
|
||||
cudatext$secondaryArchSuffix = $portVersion
|
||||
app:CudaText
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libpython3.9$secondaryArchSuffix
|
||||
lib:libQt5Pas$secondaryArchSuffix
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir $dataDir $postInstallDir
|
||||
cp apps/CudaText $appsDir
|
||||
cp -rf data/cudatext $dataDir
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
local INTERNAL="`echo "$portVersion" | cut -d. -f4`"
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
-e "s|@INTERNAL@|$INTERNAL|" \
|
||||
$portDir/additional-files/CudaText.rdef.in > CudaText.rdef
|
||||
|
||||
addResourcesToBinaries CudaText.rdef \
|
||||
$appsDir/CudaText
|
||||
|
||||
cp -f $portDir/additional-files/setup-cudatext.sh $postInstallDir
|
||||
|
||||
addAppDeskbarSymlink $appsDir/CudaText
|
||||
}
|
||||
@@ -26,16 +26,16 @@ HOMEPAGE="https://cudatext.github.io/
|
||||
https://github.com/Alexey-T/CudaText"
|
||||
COPYRIGHT="2024 Alexey-T"
|
||||
LICENSE="MPL v2.0"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
srcGitRev="80d23b8fa740fe759f3bcafea446955ede34263e"
|
||||
srcGitRev="385851ab78294fd312841291646dd92b52b63843"
|
||||
SOURCE_URI="https://github.com/Begasus/CudaText-Haikuports/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="5ccaf6fbd0e9a5dd814745d47947bb919c604449e3c919164ccfe850705038c1"
|
||||
CHECKSUM_SHA256="dbd9609d091a430eae4103e8858ecde9a7ba32c5a9d4e98f3a0b31d2472938c3"
|
||||
SOURCE_DIR="CudaText-Haikuports-$srcGitRev/files/32bit"
|
||||
elif [ "$targetArchitecture" = x86_64 ]; then
|
||||
srcGitRev="26effb834ccf03fed3d25b6bd422179a363ab237"
|
||||
srcGitRev="9465c51103b61f3463d7dfbacc056f636bb4ebef"
|
||||
SOURCE_URI="https://github.com/Begasus/CudaText-Haikuports/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="20075ff453c4db6019b8cf0da2ace204dfd95c7330fa8ba8f525528f2159e734"
|
||||
CHECKSUM_SHA256="fdf5633a766ebf1fdb49db13b3443cd8ba7db7a90340dfc87dfc1df8804451c3"
|
||||
SOURCE_DIR="CudaText-Haikuports-$srcGitRev/files/64bit"
|
||||
fi
|
||||
SOURCE_FILENAME="cudatext-$portVersion-$srcGitRev.tar.gz"
|
||||
@@ -54,7 +54,6 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
cmd:python3 # indirect way of asking for any `lib:libpython3.xx` to be installed.
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
"
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
Reference in New Issue
Block a user