File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
2+ context :
3+ version : " 0.1.0"
4+ mojo_version : " =0.26.2"
5+ rev : " 60aca7901fe2a87dc7da94afb70ea11bb218803e"
6+
7+ package :
8+ name : " mojo_raylib"
9+ version : ${{ version }}
10+
11+ source :
12+ - git : https://github.com/kivicode/mojo-raylib.git
13+ rev : ${{ rev }}
14+
15+ build :
16+ number : 0
17+ script :
18+ interpreter : bash
19+ content :
20+ - |
21+ set -euo pipefail
22+ bash shim/build.sh
23+ mkdir -p "${PREFIX}/lib/mojo"
24+ mojo package mojo_raylib -o "${PREFIX}/lib/mojo/mojo_raylib.mojopkg"
25+
26+ requirements :
27+ build :
28+ - ${{ compiler('c') }}
29+ - cmake
30+ - ninja
31+ host :
32+ - mojo-compiler ${{ mojo_version }}
33+ - if : linux
34+ then :
35+ - xorg-xorgproto
36+ - xorg-libx11
37+ - xorg-libxrandr
38+ - xorg-libxinerama
39+ - xorg-libxcursor
40+ - xorg-libxi
41+ - xorg-libxext
42+ - libgl-devel
43+ run :
44+ - mojo-compiler ${{ mojo_version }}
45+ - if : linux
46+ then :
47+ - xorg-libx11
48+ - xorg-libxrandr
49+ - xorg-libxinerama
50+ - xorg-libxcursor
51+ - xorg-libxi
52+ - xorg-libxext
53+ - libgl
54+
55+ tests :
56+ - script :
57+ - if : unix
58+ then :
59+ - mojo --version
60+ requirements :
61+ run :
62+ - mojo ${{ mojo_version }}
63+
64+ about :
65+ homepage : https://github.com/kivicode/mojo-raylib
66+ license : Zlib
67+ summary : |
68+ Auto-generated Mojo bindings for raylib (2D/3D graphics library)
69+ repository : https://github.com/kivicode/mojo-raylib
70+
71+ extra :
72+ maintainers :
73+ - kivicode
74+ project_name : mojo_raylib
You can’t perform that action at this time.
0 commit comments