diff --git a/haiku-apps/genio/genio-2.1.0.recipe b/haiku-apps/genio/genio-2.1.0.recipe deleted file mode 100644 index b563f9817..000000000 --- a/haiku-apps/genio/genio-2.1.0.recipe +++ /dev/null @@ -1,69 +0,0 @@ -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) -* Multi-project browser -* Integrated source control with GIT (including opening a remote project) -* 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://github.com/Genio-The-Haiku-IDE/Genio/releases" -COPYRIGHT="2022-2024 The Genio Team" -LICENSE="BSD (3-clause) - MIT" -REVISION="3" -SOURCE_URI="https://github.com/Genio-The-Haiku-IDE/Genio/archive/v2.1.tar.gz" -CHECKSUM_SHA256="0ffdff036c7dd7abf9221d2b93c3419d9451ca9b45f2eb36137c0ff58a5ab079" -SOURCE_FILENAME="Genio-v2.1.tar.gz" -SOURCE_DIR="Genio-2.1" - -ARCHITECTURES="all !x86_gcc2" -SECONDARY_ARCHITECTURES="x86" - -PROVIDES=" - genio${secondaryArchSuffix} = $portVersion - app:Genio = $portVersion - " -REQUIRES=" - haiku${secondaryArchSuffix} - gcc${secondaryArchSuffix}_syslibs_devel - cmd:clang - lib:liblexilla$secondaryArchSuffix >= 5.2.4 - lib:libgit2$secondaryArchSuffix - lib:libyaml_cpp$secondaryArchSuffix - " - -BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel - devel:liblexilla$secondaryArchSuffix >= 5.2.4 - devel:libgit2$secondaryArchSuffix >= 1.5 - 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/Genio" - install -m 0755 -t "$appsDir/Genio/" app/Genio - cp -a data "$appsDir/Genio/" - - mkdir -p $docDir - cp -r documentation/* $docDir/ - - addAppDeskbarSymlink $appsDir/Genio/Genio -} diff --git a/haiku-apps/genio/genio-4.0.recipe b/haiku-apps/genio/genio-4.0.recipe new file mode 100644 index 000000000..95f4efcc5 --- /dev/null +++ b/haiku-apps/genio/genio-4.0.recipe @@ -0,0 +1,75 @@ +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) +* 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://github.com/Genio-The-Haiku-IDE/Genio/releases" +COPYRIGHT="2022-2025 The Genio Team" +LICENSE="BSD (3-clause) + MIT" +REVISION="1" +SOURCE_URI="https://github.com/Genio-The-Haiku-IDE/Genio/archive/v$portVersion.tar.gz" +CHECKSUM_SHA256="33de5cb06b625aa3c0281b5696801a54910147d2848beda35e17624504faa88e" +SOURCE_FILENAME="Genio-v$portVersion.tar.gz" +SOURCE_DIR="Genio-$portVersion" + +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 -a data/* "$dataDir/Genio" + + mkdir -p $docDir + cp -r documentation/* $docDir/ + + addAppDeskbarSymlink $appsDir/Genio +}