mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+silicon — Create beautiful images of your source code (#2990)
* wip * fix: add harfbuzz as build dep * runtime harfbuzz * harfbuzz-sys is old * maybe hb5? * linux deps * typo * embarassing typo --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
b853b1eddd
commit
b88016300e
1 changed files with 37 additions and 0 deletions
37
projects/crates.io/silicon/package.yml
Normal file
37
projects/crates.io/silicon/package.yml
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/Aloxaf/silicon/archive/refs/tags/v{{ version }}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/silicon
|
||||||
|
|
||||||
|
# https://github.com/Aloxaf/silicon/issues/226
|
||||||
|
platforms:
|
||||||
|
- darwin
|
||||||
|
- linux/x86-64
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: Aloxaf/silicon
|
||||||
|
strip: /v/
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
harfbuzz.org: ^5
|
||||||
|
linux:
|
||||||
|
freedesktop.org/fontconfig: '*'
|
||||||
|
freetype.org: '*'
|
||||||
|
x.org/xcb: '*'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
rust-lang.org: '>=1.65'
|
||||||
|
rust-lang.org/cargo: '*'
|
||||||
|
freedesktop.org/pkg-config: '*'
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
cmake.org: ^3
|
||||||
|
script:
|
||||||
|
cargo install --locked --path . --root {{prefix}}
|
||||||
|
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- test "$(silicon --version)" = "silicon {{version}}"
|
Loading…
Reference in a new issue