Genio 5 recipe (#13901)

This commit is contained in:
Stefano Ceccherini
2026-04-03 12:14:28 +02:00
committed by GitHub
parent bb6d110e21
commit ee5afb833c

View File

@@ -0,0 +1,77 @@
SUMMARY="The Haiku IDE"
DESCRIPTION="Genio is a native and fully functional IDE for the Haiku.
Some of the features of the Genio IDE are:
* LSP Server support (autocompletion, signature help, go to definition / implementation / \
declaration, quick fix, format, rename)
* Multi-project browser
* Class outline
* Integrated source control with GIT (including opening a remote project)
* Integrated terminal
* Links to file and build errors in Build Log and Console I/O
* Build on save / Save on build
* User templates for quickly creating new files and projects
* Rich editor with many features, like syntax highlighting
* Full screen and Focus mode"
HOMEPAGE="https://codeberg.org/Genio/Genio/releases"
COPYRIGHT="2022-2026 The Genio Team"
LICENSE="BSD (3-clause)
MIT"
REVISION="1"
SOURCE_URI="https://codeberg.org/Genio/Genio/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="27cfb395a951673ea471e0b8b57deb24364e0dacb29e985e02ecf1328e0be4f1"
SOURCE_FILENAME="Genio-v$portVersion.tar.gz"
SOURCE_DIR="genio"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
genio$secondaryArchSuffix = $portVersion
app:Genio = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
gcc${secondaryArchSuffix}_syslibs_devel
noto_emoji
cmd:clang >= 16
lib:libeditorconfig$secondaryArchSuffix
lib:libgit2$secondaryArchSuffix
lib:liblexilla$secondaryArchSuffix
lib:libyaml_cpp$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libeditorconfig$secondaryArchSuffix
devel:libgit2$secondaryArchSuffix >= 1.8
devel:liblexilla$secondaryArchSuffix >= 5.2.4
devel:libyaml_cpp$secondaryArchSuffix >= 0.8
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
make OBJ_DIR=objects \
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` \
$jobArgs
make bindcatalogs OBJ_DIR=objects \
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
install -m 0755 -d "$appsDir"
install -m 0755 -t "$appsDir" app/Genio
mkdir -p "$dataDir/Genio"
cp libs/terminal/genio_terminal_addon "$dataDir/Genio"
cp -a data/* "$dataDir/Genio"
mkdir -p $docDir
cp -r documentation/* $docDir/
addAppDeskbarSymlink $appsDir/Genio
}