1 | SUMMARY="The Haiku IDE"
|
---|
2 | DESCRIPTION="Genio is a native and fully functional IDE for the Haiku.
|
---|
3 | Some 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"
|
---|
13 | HOMEPAGE="https://github.com/Genio-The-Haiku-IDE/Genio/releases"
|
---|
14 | COPYRIGHT="2022-2024 The Genio Team"
|
---|
15 | LICENSE="BSD (3-clause)
|
---|
16 | MIT"
|
---|
17 | REVISION="2"
|
---|
18 | SOURCE_URI="https://github.com/Genio-The-Haiku-IDE/Genio/archive/v$portVersion.tar.gz"
|
---|
19 | CHECKSUM_SHA256="64cb18b552a6336e22903b6fc659253bf1ad02831fb2bc4dd892e7e65023465c"
|
---|
20 | SOURCE_FILENAME="Genio-v$portVersion.tar.gz"
|
---|
21 | SOURCE_DIR="Genio-$portVersion"
|
---|
22 |
|
---|
23 | ARCHITECTURES="all !x86_gcc2"
|
---|
24 | SECONDARY_ARCHITECTURES="x86"
|
---|
25 |
|
---|
26 | PROVIDES="
|
---|
27 | genio${secondaryArchSuffix} = $portVersion
|
---|
28 | app:Genio = $portVersion
|
---|
29 | "
|
---|
30 | REQUIRES="
|
---|
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 |
|
---|
40 | BUILD_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 | "
|
---|
47 | BUILD_PREREQUIRES="
|
---|
48 | makefile_engine
|
---|
49 | cmd:gcc$secondaryArchSuffix
|
---|
50 | cmd:make
|
---|
51 | "
|
---|
52 |
|
---|
53 | BUILD()
|
---|
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 |
|
---|
62 | INSTALL()
|
---|
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 | }
|
---|