Ticket #19092: genio-3.0.recipe

File genio-3.0.recipe, 2.1 KB (added by humdinger, 6 days ago)
Line 
1SUMMARY="The Haiku IDE"
2DESCRIPTION="Genio is a native and fully functional IDE for the Haiku.
3Some of the features of the Genio IDE are:
4* LSP Server support (autocompletion, signature help, go to definition/implementation/declaration, quick fix, format, rename)
5* Multi-project browser
6* Class outline
7* Integrated source control with GIT (including opening a remote project)
8* Links to file and build errors in Build Log and Console I/O
9* Build on save / Save on build
10* User templates for quickly creating new files and projects
11* Rich editor with many features, like syntax highlighting
12* Full screen and Focus mode"
13HOMEPAGE="https://github.com/Genio-The-Haiku-IDE/Genio/releases"
14COPYRIGHT="2022-2024 The Genio Team"
15LICENSE="BSD (3-clause)
16 MIT"
17REVISION="2"
18SOURCE_URI="https://github.com/Genio-The-Haiku-IDE/Genio/archive/v$portVersion.tar.gz"
19CHECKSUM_SHA256="64cb18b552a6336e22903b6fc659253bf1ad02831fb2bc4dd892e7e65023465c"
20SOURCE_FILENAME="Genio-v$portVersion.tar.gz"
21SOURCE_DIR="Genio-$portVersion"
22
23ARCHITECTURES="all !x86_gcc2"
24SECONDARY_ARCHITECTURES="x86"
25
26PROVIDES="
27 genio${secondaryArchSuffix} = $portVersion
28 app:Genio = $portVersion
29 "
30REQUIRES="
31 haiku${secondaryArchSuffix}
32 gcc${secondaryArchSuffix}_syslibs_devel
33 cmd:clang >= 16
34 lib:libeditorconfig$secondaryArchSuffix
35 lib:libgit2$secondaryArchSuffix
36 lib:liblexilla$secondaryArchSuffix
37 lib:libyaml_cpp$secondaryArchSuffix
38 "
39
40BUILD_REQUIRES="
41 haiku${secondaryArchSuffix}_devel
42 devel:libeditorconfig$secondaryArchSuffix
43 devel:libgit2$secondaryArchSuffix >= 1.5
44 devel:liblexilla$secondaryArchSuffix >= 5.2.4
45 devel:libyaml_cpp$secondaryArchSuffix >= 0.8
46 "
47BUILD_PREREQUIRES="
48 makefile_engine
49 cmd:gcc$secondaryArchSuffix
50 cmd:make
51 "
52
53BUILD()
54{
55 make OBJ_DIR=objects \
56 BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` \
57 $jobArgs
58 make bindcatalogs OBJ_DIR=objects \
59 BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
60}
61
62INSTALL()
63{
64 install -m 0755 -d "$appsDir/Genio"
65 install -m 0755 -t "$appsDir/Genio/" app/Genio
66 cp -a data "$appsDir/Genio/"
67
68 mkdir -p $docDir
69 cp -r documentation/* $docDir/
70
71 addAppDeskbarSymlink $appsDir/Genio/Genio
72}