From b88016300eaf0dc5668204ff2821dc17ba099c77 Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Mon, 21 Aug 2023 15:50:37 -0400 Subject: [PATCH] =?UTF-8?q?+silicon=20=E2=80=94=20Create=20beautiful=20ima?= =?UTF-8?q?ges=20of=20your=20source=20code=20(#2990)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- projects/crates.io/silicon/package.yml | 37 ++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 projects/crates.io/silicon/package.yml diff --git a/projects/crates.io/silicon/package.yml b/projects/crates.io/silicon/package.yml new file mode 100644 index 00000000..3f473548 --- /dev/null +++ b/projects/crates.io/silicon/package.yml @@ -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}}"