Genio 2 recipe (#9906)

* Genio 2 recipe

* Fixed style as requested

* Also removed old recipe

* Update genio-2.0.0.recipe

Removed srcGitRev as requested

* Update haiku-apps/genio/genio-2.0.0.recipe

reword

Co-authored-by: humdinger <humdinger@mailbox.org>

---------

Co-authored-by: humdinger <humdinger@mailbox.org>
This commit is contained in:
Stefano Ceccherini
2023-12-20 17:49:11 +01:00
committed by GitHub
parent 7e5dbb0115
commit a67efe4b26

View File

@@ -1,17 +1,16 @@
SUMMARY="The Haiku IDE"
DESCRIPTION="Genio is an IDE for the Haiku operating system. \
It has a rich editor supporting syntax highlight, auto completion and other advanced features. \
DESCRIPTION="Genio is a native IDE for the Haiku operating system. \
It has a rich editor supporting syntax highlighting, auto completion and other advanced features. \
It contains a set of templates to quickly develop and build your projects."
HOMEPAGE="https://github.com/Genio-The-Haiku-IDE/Genio/releases"
COPYRIGHT="2022-2023 The Genio Team"
LICENSE="BSD (3-clause)
MIT"
REVISION="1"
srcGitRev="0655bca6b6851e746db160f949b831955580b337"
SOURCE_URI="https://github.com/Genio-The-Haiku-IDE/Genio/archive/v1.tar.gz"
CHECKSUM_SHA256="7ae9a8affd59869741b7a891384fc733ce78fd404ba2e433708a68a473d11358"
SOURCE_FILENAME="Genio-v1.tar.gz"
SOURCE_DIR="Genio-1"
SOURCE_URI="https://github.com/Genio-The-Haiku-IDE/Genio/archive/v2.tar.gz"
CHECKSUM_SHA256="97e46dd5523702a4c7d91c68aee7806d4acab9a7b4b58fe4756429d00c101ffc"
SOURCE_FILENAME="Genio-v2.tar.gz"
SOURCE_DIR="Genio-2"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -21,15 +20,21 @@ PROVIDES="
app:Genio = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
haiku${secondaryArchSuffix}
gcc_syslibs${secondaryArchSuffix}_devel
llvm17${secondaryArchSuffix}_clang
lib:libgit2$secondaryArchSuffix
lib:libyaml_cpp$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libgit2$secondaryArchSuffix >= 1.5
devel:libyaml_cpp$secondaryArchSuffix >= 0.8
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc${secondaryArchSuffix}
cmd:gcc$secondaryArchSuffix
cmd:make
"
@@ -38,15 +43,15 @@ 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
install -m 0755 -d "$appsDir/Genio/data"
cp -a data/templates "$appsDir/Genio/data"
cp -a data "$appsDir/Genio/"
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" Readme.md