Added recipe for Genio (#8722)

* Added recipe for Genio beta 1 release

* Remove whitespace

* Update haiku-apps/genio/genio-1.0.0~beta.recipe

Added $jobArgs as suggested

Co-authored-by: OscarL <oscar.lesta@gmail.com>

* Install in a subdirectory.
Use lowercase where needed

* Fixed app naming

---------

Co-authored-by: OscarL <oscar.lesta@gmail.com>
This commit is contained in:
Stefano Ceccherini
2023-05-24 13:31:30 +02:00
committed by GitHub
parent 6b90e87c90
commit 7b9bbcf435

View File

@@ -0,0 +1,55 @@
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. \
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"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
genio${secondaryArchSuffix} = $portVersion
app:Genio = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc${secondaryArchSuffix}
cmd:make
"
BUILD()
{
make OBJ_DIR=objects \
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` \
$jobArgs
}
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"
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" Readme.md
addAppDeskbarSymlink $appsDir/Genio/Genio
}